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 62044b8 commit 1ddb995
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lmdeploy/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,8 @@ 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() or 'qwen2_5' in model_path.lower():
lower_path = model_path.lower()
if 'qwen2.5' in lower_path or 'qwen2_5' in lower_path:
return 'qwen2d5'


Expand Down

0 comments on commit 1ddb995

Please sign in to comment.