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
30a2e807
Unverified
Commit
30a2e807
authored
Nov 01, 2024
by
Michael Goin
Committed by
GitHub
Nov 01, 2024
Browse files
[CI/Build] Add Model Tests for PixtralHF (#9813)
parent
06386a64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
tests/models/decoder_only/vision_language/test_models.py
tests/models/decoder_only/vision_language/test_models.py
+9
-0
No files found.
tests/models/decoder_only/vision_language/test_models.py
View file @
30a2e807
...
@@ -291,6 +291,15 @@ VLM_TEST_SETTINGS = {
...
@@ -291,6 +291,15 @@ VLM_TEST_SETTINGS = {
# vllm_output_post_proc=model_utils.phi3v_vllm_to_hf_output,
# vllm_output_post_proc=model_utils.phi3v_vllm_to_hf_output,
# num_logprobs=10,
# num_logprobs=10,
# ),
# ),
"pixtral_hf"
:
VLMTestInfo
(
models
=
[
"nm-testing/pixtral-12b-FP8-dynamic"
],
test_type
=
(
VLMTestType
.
IMAGE
,
VLMTestType
.
MULTI_IMAGE
),
prompt_formatter
=
lambda
img_prompt
:
f
"<s>[INST]
{
img_prompt
}
[/INST]"
,
img_idx_to_prompt
=
lambda
idx
:
"[IMG]"
,
max_model_len
=
8192
,
max_num_seqs
=
2
,
auto_cls
=
AutoModelForVision2Seq
,
),
"qwen"
:
VLMTestInfo
(
"qwen"
:
VLMTestInfo
(
models
=
[
"Qwen/Qwen-VL"
],
models
=
[
"Qwen/Qwen-VL"
],
test_type
=
(
VLMTestType
.
IMAGE
,
VLMTestType
.
MULTI_IMAGE
),
test_type
=
(
VLMTestType
.
IMAGE
,
VLMTestType
.
MULTI_IMAGE
),
...
...
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