Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
176fcb1c
Unverified
Commit
176fcb1c
authored
Nov 13, 2024
by
Jie Fu (傅杰)
Committed by
GitHub
Nov 12, 2024
Browse files
[Bugfix] Fix QwenModel argument (#10262)
Signed-off-by:
Jie Fu
<
jiefu@tencent.com
>
parent
a838ba72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/model_executor/models/qwen.py
vllm/model_executor/models/qwen.py
+2
-2
No files found.
vllm/model_executor/models/qwen.py
View file @
176fcb1c
...
...
@@ -1068,7 +1068,7 @@ class QWenLMHeadModel(QWenBaseModel, SupportsLoRA):
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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment