Skip to content

Commit

Permalink
fix: adopting review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
gaozixiang committed Nov 13, 2024
1 parent d49b6dd commit 62044b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmdeploy/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ def match(cls, model_path: str) -> Optional[str]:
Args:
model_path (str): the model path used for matching.
"""
if 'qwen2.5' in model_path.lower():
if 'qwen2.5' in model_path.lower() or 'qwen2_5' in model_path.lower():
return 'qwen2d5'


Expand Down

0 comments on commit 62044b8

Please sign in to comment.