mirror of https://github.com/hpcaitech/ColossalAI
[shardformer] register without auto policy
parent
f155ae89c4
commit
91850fe984
|
@ -116,9 +116,6 @@ _POLICY_LIST = {
|
||||||
# Sam
|
# Sam
|
||||||
"transformers.models.sam.modeling_sam.SamModel":
|
"transformers.models.sam.modeling_sam.SamModel":
|
||||||
PolicyLocation(file_name="sam", class_name="SamModelPolicy"),
|
PolicyLocation(file_name="sam", class_name="SamModelPolicy"),
|
||||||
# ChatGLM
|
|
||||||
"tests.kit.model_zoo.transformers.chatglm2_6b.modeling_chatglm.ChatGLMModel":
|
|
||||||
PolicyLocation(file_name="chatglm", class_name="ChatGLMModelPolicy"),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue