mirror of
https://github.com/deepspeedai/DeepSpeed.git
synced 2025-10-20 15:33:51 +08:00
Switch from double quotes to match single quotes (#5530)
This commit is contained in:
@ -307,7 +307,7 @@ class AutoTP():
|
|||||||
# Mixtral-7x8b used w2*act(w1*w3) linear. need to replace w2 to linearallreduce.
|
# Mixtral-7x8b used w2*act(w1*w3) linear. need to replace w2 to linearallreduce.
|
||||||
elif 'w2' in layer and 'Mixtral' in str(type(module)):
|
elif 'w2' in layer and 'Mixtral' in str(type(module)):
|
||||||
gem_list = gem_list + [layer]
|
gem_list = gem_list + [layer]
|
||||||
elif "self_attn.dense" in layer and "Phi" in str(type(module)):
|
elif 'self_attn.dense' in layer and 'Phi' in str(type(module)):
|
||||||
gem_list = gem_list + [layer]
|
gem_list = gem_list + [layer]
|
||||||
|
|
||||||
layer_list = []
|
layer_list = []
|
||||||
|
Reference in New Issue
Block a user