mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-27 20:46:00 +00:00
[pipeline] move bert related pipeline components to shardformer (#4187)
* move bert related pipeline components to shardformer * fix bugs * revision * fix bert model tests * fix bert_lm_head model tests * fix tests * fix tests * done checks * skip bloom
This commit is contained in:
@@ -29,7 +29,7 @@ _POLICY_LIST = {
|
||||
"transformers.models.bert.modeling_bert.BertModel":
|
||||
PolicyLocation(file_name="bert", class_name="BertModelPolicy"),
|
||||
"transformers.models.bert.modeling_bert.BertForPreTraining":
|
||||
PolicyLocation(file_name="bert", class_name="BertForPretrainingPolicy"),
|
||||
PolicyLocation(file_name="bert", class_name="BertForPreTrainingPolicy"),
|
||||
"transformers.models.bert.modeling_bert.BertLMHeadModel":
|
||||
PolicyLocation(file_name="bert", class_name="BertLMHeadModelPolicy"),
|
||||
"transformers.models.bert.modeling_bert.BertForMaskedLM":
|
||||
|
Reference in New Issue
Block a user