Skip to content

Commit

Permalink
Add phi and mixtral model type to normalizedconfig (#1625)
Browse files Browse the repository at this point in the history
add phi and mixtral config

Signed-off-by: Wang, Chang1 <[email protected]>
  • Loading branch information
changwangss authored Jan 8, 2024
1 parent 8ac9763 commit ec14b3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions optimum/utils/normalized_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,14 @@ class NormalizedConfigManager:
"marian": BartLikeNormalizedTextConfig,
"mbart": BartLikeNormalizedTextConfig,
"mistral": NormalizedTextConfigWithGQA,
"mixtral": NormalizedTextConfigWithGQA,
"mt5": T5LikeNormalizedTextConfig,
"m2m-100": BartLikeNormalizedTextConfig,
"nystromformer": NormalizedTextConfig,
"opt": NormalizedTextConfig,
"pegasus": BartLikeNormalizedTextConfig,
"pix2struct": Pix2StructNormalizedTextConfig,
"phi": NormalizedTextConfig,
"poolformer": NormalizedVisionConfig,
"regnet": NormalizedVisionConfig,
"resnet": NormalizedVisionConfig,
Expand Down

0 comments on commit ec14b3f

Please sign in to comment.