Skip to content

Commit

Permalink
[Deepseek] remove redundant code (#5888)
Browse files Browse the repository at this point in the history
* [misc] fix typos

* [Feature] deepseek support via auto model, remove modeling file

* [misc] delete useless file

* [misc] fix typos

* [misc] remove redundant code
  • Loading branch information
Hz188 authored Jul 5, 2024
1 parent de77e40 commit d9f683c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions colossalai/shardformer/policies/auto_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,6 @@ class PolicyLocation:
"transformers_modules.modeling_deepseek.DeepseekForCausalLM": PolicyLocation(
file_name="deepseek", class_name="DeepseekForCausalLMPolicy"
),
"colossalai.shardformer.modeling.deepseek_moe_16b_base.modeling_deepseek.DeepseekModel": PolicyLocation(
file_name="deepseek", class_name="DeepseekModelPolicy"
),
"colossalai.shardformer.modeling.deepseek_moe_16b_base.modeling_deepseek.DeepseekForCausalLM": PolicyLocation(
file_name="deepseek", class_name="DeepseekForCausalLMPolicy"
),
# Falcon
"transformers.models.falcon.modeling_falcon.FalconModel": PolicyLocation(
file_name="falcon", class_name="FalconModelPolicy"
Expand Down

0 comments on commit d9f683c

Please sign in to comment.