Skip to content

Commit

Permalink
[Bugfix] Fix QwenModel argument (#10262)
Browse files Browse the repository at this point in the history
Signed-off-by: Jie Fu <[email protected]>
  • Loading branch information
DamonFool authored Nov 12, 2024
1 parent a838ba7 commit 176fcb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/model_executor/models/qwen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ def __new__(
config = vllm_config.model_config.hf_config
# Initialize VL
if hasattr(config, "visual"):
return QWenVL(vllm_config)
return QWenVL(vllm_config=vllm_config)
# Initialize LLM
else:
return QWenLLM(vllm_config)
return QWenLLM(vllm_config=vllm_config)

0 comments on commit 176fcb1

Please sign in to comment.