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
47672f38
Unverified
Commit
47672f38
authored
Nov 09, 2024
by
Isotr0py
Committed by
GitHub
Nov 09, 2024
Browse files
[CI/Build] Fix VLM broadcast tests `tensor_parallel_size` passing (#10161)
Signed-off-by:
Isotr0py
<
2037008807@qq.com
>
parent
f83feccd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
tests/models/decoder_only/vision_language/test_models.py
tests/models/decoder_only/vision_language/test_models.py
+1
-0
tests/models/decoder_only/vision_language/vlm_utils/types.py
tests/models/decoder_only/vision_language/vlm_utils/types.py
+1
-0
No files found.
tests/models/decoder_only/vision_language/test_models.py
View file @
47672f38
...
@@ -34,6 +34,7 @@ COMMON_BROADCAST_SETTINGS = {
...
@@ -34,6 +34,7 @@ COMMON_BROADCAST_SETTINGS = {
"dtype"
:
"half"
,
"dtype"
:
"half"
,
"max_tokens"
:
5
,
"max_tokens"
:
5
,
"tensor_parallel_size"
:
2
,
"tensor_parallel_size"
:
2
,
"model_kwargs"
:
{
"device_map"
:
"auto"
},
"image_size_factors"
:
[(.
25
,
0.5
,
1.0
)],
"image_size_factors"
:
[(.
25
,
0.5
,
1.0
)],
"distributed_executor_backend"
:
(
"distributed_executor_backend"
:
(
"ray"
,
"ray"
,
...
...
tests/models/decoder_only/vision_language/vlm_utils/types.py
View file @
47672f38
...
@@ -158,6 +158,7 @@ class VLMTestInfo(NamedTuple):
...
@@ -158,6 +158,7 @@ class VLMTestInfo(NamedTuple):
"max_model_len"
:
self
.
max_model_len
,
"max_model_len"
:
self
.
max_model_len
,
"max_num_seqs"
:
self
.
max_num_seqs
,
"max_num_seqs"
:
self
.
max_num_seqs
,
"task"
:
self
.
task
,
"task"
:
self
.
task
,
"tensor_parallel_size"
:
self
.
tensor_parallel_size
,
"hf_output_post_proc"
:
self
.
hf_output_post_proc
,
"hf_output_post_proc"
:
self
.
hf_output_post_proc
,
"vllm_output_post_proc"
:
self
.
vllm_output_post_proc
,
"vllm_output_post_proc"
:
self
.
vllm_output_post_proc
,
"auto_cls"
:
self
.
auto_cls
,
"auto_cls"
:
self
.
auto_cls
,
...
...
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