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
d5723fbb
Commit
d5723fbb
authored
Dec 02, 2024
by
zhuwenwen
Browse files
update qwen2 supported_lora_modules
parent
41b09879
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tests/models/decoder_only/vision_language/test_internvl.py
tests/models/decoder_only/vision_language/test_internvl.py
+2
-1
vllm/model_executor/models/qwen2.py
vllm/model_executor/models/qwen2.py
+0
-1
No files found.
tests/models/decoder_only/vision_language/test_internvl.py
View file @
d5723fbb
...
@@ -13,7 +13,7 @@ from vllm.utils import is_cpu, is_hip
...
@@ -13,7 +13,7 @@ from vllm.utils import is_cpu, is_hip
from
....conftest
import
(
IMAGE_ASSETS
,
HfRunner
,
PromptImageInput
,
VllmRunner
,
from
....conftest
import
(
IMAGE_ASSETS
,
HfRunner
,
PromptImageInput
,
VllmRunner
,
_ImageAssets
)
_ImageAssets
)
from
...utils
import
check_logprobs_close
from
...utils
import
check_logprobs_close
from
....utils
import
models_path_prefix
from
....utils
import
models_path_prefix
HF_IMAGE_PROMPTS
=
IMAGE_ASSETS
.
prompts
({
HF_IMAGE_PROMPTS
=
IMAGE_ASSETS
.
prompts
({
"stop_sign"
:
"stop_sign"
:
...
@@ -366,6 +366,7 @@ def test_different_num_patches(hf_runner, vllm_runner, image_assets, model,
...
@@ -366,6 +366,7 @@ def test_different_num_patches(hf_runner, vllm_runner, image_assets, model,
)
)
@
pytest
.
mark
.
skipif
(
is_hip
(),
reason
=
"InternVL2-AWQ is not supported on ROCm."
)
@
pytest
.
mark
.
parametrize
(
@
pytest
.
mark
.
parametrize
(
"models"
,
[(
os
.
path
.
join
(
models_path_prefix
,
"OpenGVLab/InternVL2-2B"
),
os
.
path
.
join
(
models_path_prefix
,
"OpenGVLab/InternVL2-2B-AWQ"
)
if
not
is_hip
()
else
[])])
"models"
,
[(
os
.
path
.
join
(
models_path_prefix
,
"OpenGVLab/InternVL2-2B"
),
os
.
path
.
join
(
models_path_prefix
,
"OpenGVLab/InternVL2-2B-AWQ"
)
if
not
is_hip
()
else
[])])
@
pytest
.
mark
.
parametrize
(
@
pytest
.
mark
.
parametrize
(
...
...
vllm/model_executor/models/qwen2.py
View file @
d5723fbb
...
@@ -329,7 +329,6 @@ class Qwen2ForCausalLM(nn.Module, SupportsLoRA):
...
@@ -329,7 +329,6 @@ class Qwen2ForCausalLM(nn.Module, SupportsLoRA):
"o_proj"
,
"o_proj"
,
"gate_up_proj"
,
"gate_up_proj"
,
"down_proj"
,
"down_proj"
,
"lm_head"
]
]
embedding_modules
=
{}
embedding_modules
=
{}
embedding_padding_modules
=
[]
embedding_padding_modules
=
[]
...
...
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