Skip to content

Commit

Permalink
[CI/Build] Fix VLM broadcast tests tensor_parallel_size passing (vl…
Browse files Browse the repository at this point in the history
…lm-project#10161)

Signed-off-by: Isotr0py <[email protected]>
Signed-off-by: Loc Huynh <[email protected]>
  • Loading branch information
Isotr0py authored and JC1DA committed Nov 11, 2024
1 parent 6b4eeeb commit f3490a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/models/decoder_only/vision_language/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"dtype": "half",
"max_tokens": 5,
"tensor_parallel_size": 2,
"model_kwargs": {"device_map": "auto"},
"image_size_factors": [(.25, 0.5, 1.0)],
"distributed_executor_backend": (
"ray",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def get_non_parametrized_runner_kwargs(self):
"max_model_len": self.max_model_len,
"max_num_seqs": self.max_num_seqs,
"task": self.task,
"tensor_parallel_size": self.tensor_parallel_size,
"hf_output_post_proc": self.hf_output_post_proc,
"vllm_output_post_proc": self.vllm_output_post_proc,
"auto_cls": self.auto_cls,
Expand Down

0 comments on commit f3490a7

Please sign in to comment.