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
d6a1a209
Unverified
Commit
d6a1a209
authored
Aug 20, 2025
by
Isotr0py
Committed by
GitHub
Aug 19, 2025
Browse files
[CI/Build] Update transformers to v4.55.2 (#23093)
Signed-off-by:
Isotr0py
<
mozf@mail2.sysu.edu.cn
>
parent
a70d0bd0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
11 deletions
+12
-11
requirements/common.txt
requirements/common.txt
+1
-1
requirements/test.in
requirements/test.in
+1
-1
requirements/test.txt
requirements/test.txt
+1
-1
tests/models/multimodal/generation/test_mllama.py
tests/models/multimodal/generation/test_mllama.py
+9
-8
No files found.
requirements/common.txt
View file @
d6a1a209
...
...
@@ -7,7 +7,7 @@ requests >= 2.26.0
tqdm
blake3
py-cpuinfo
transformers >= 4.55.
0
transformers >= 4.55.
2
tokenizers >= 0.21.1 # Required for fast incremental detokenization.
protobuf # Required by LlamaTokenizer.
fastapi[standard] >= 0.115.0 # Required by FastAPI's form models in the OpenAI API server's audio transcriptions endpoint.
...
...
requirements/test.in
View file @
d6a1a209
...
...
@@ -34,7 +34,7 @@ opencv-python-headless >= 4.11.0 # required for video test
datamodel_code_generator # required for minicpm3 test
lm-eval[api]==0.4.8 # required for model evaluation test
mteb[bm25s]>=1.38.11, <2 # required for mteb test
transformers==4.55.
0
transformers==4.55.
2
tokenizers==0.21.1
schemathesis>=3.39.15 # Required for openai schema test.
# quantization
...
...
requirements/test.txt
View file @
d6a1a209
...
...
@@ -1139,7 +1139,7 @@ tqdm==4.66.6
# transformers
tqdm-multiprocess==0.0.11
# via lm-eval
transformers==4.55.
0
transformers==4.55.
2
# via
# -r requirements/test.in
# genai-perf
...
...
tests/models/multimodal/generation/test_mllama.py
View file @
d6a1a209
...
...
@@ -5,6 +5,7 @@ from typing import Optional, overload
import
pytest
import
torch
from
packaging.version
import
Version
from
transformers
import
AutoConfig
,
AutoModelForImageTextToText
,
AutoTokenizer
from
transformers
import
__version__
as
TRANSFORMERS_VERSION
...
...
@@ -287,8 +288,8 @@ def clear_cache():
@
pytest
.
mark
.
parametrize
(
"num_logprobs"
,
[
5
])
@
pytest
.
mark
.
parametrize
(
"attn_backend"
,
LIST_ENC_DEC_SUPPORTED_BACKENDS
)
@
pytest
.
mark
.
skipif
(
TRANSFORMERS_VERSION
==
"4.55.
0"
,
reason
=
"Transformers v4.55
.0
has a regression issue on mllama, "
Version
(
TRANSFORMERS_VERSION
)
<=
Version
(
"4.55.
2"
)
,
reason
=
"Transformers v4.55 has a regression issue on mllama, "
"see: https://github.com/huggingface/transformers/pull/40083"
)
def
test_models_single_leading_image
(
hf_runner
,
vllm_runner
,
image_assets
,
model
,
sizes
,
dtype
,
max_tokens
,
...
...
@@ -319,8 +320,8 @@ def test_models_single_leading_image(hf_runner, vllm_runner, image_assets,
@
pytest
.
mark
.
parametrize
(
"num_logprobs"
,
[
5
])
@
pytest
.
mark
.
parametrize
(
"attn_backend"
,
LIST_ENC_DEC_SUPPORTED_BACKENDS
)
@
pytest
.
mark
.
skipif
(
TRANSFORMERS_VERSION
==
"4.55.
0"
,
reason
=
"Transformers v4.55
.0
has a regression issue on mllama, "
Version
(
TRANSFORMERS_VERSION
)
<=
Version
(
"4.55.
2"
)
,
reason
=
"Transformers v4.55 has a regression issue on mllama, "
"see: https://github.com/huggingface/transformers/pull/40083"
)
def
test_models_multi_leading_images
(
hf_runner
,
vllm_runner
,
image_assets
,
model
,
dtype
,
max_tokens
,
num_logprobs
,
...
...
@@ -372,8 +373,8 @@ def test_models_multi_leading_images(hf_runner, vllm_runner, image_assets,
@
pytest
.
mark
.
parametrize
(
"num_logprobs"
,
[
5
])
@
pytest
.
mark
.
parametrize
(
"attn_backend"
,
LIST_ENC_DEC_SUPPORTED_BACKENDS
)
@
pytest
.
mark
.
skipif
(
TRANSFORMERS_VERSION
==
"4.55.
0"
,
reason
=
"Transformers v4.55
.0
has a regression issue on mllama, "
Version
(
TRANSFORMERS_VERSION
)
<=
Version
(
"4.55.
2"
)
,
reason
=
"Transformers v4.55 has a regression issue on mllama, "
"see: https://github.com/huggingface/transformers/pull/40083"
)
def
test_models_interleaved_images
(
hf_runner
,
vllm_runner
,
image_assets
,
model
,
dtype
,
max_tokens
,
num_logprobs
,
...
...
@@ -416,8 +417,8 @@ def test_models_interleaved_images(hf_runner, vllm_runner, image_assets, model,
@
pytest
.
mark
.
parametrize
(
"max_tokens"
,
[
64
])
@
pytest
.
mark
.
parametrize
(
"num_logprobs"
,
[
5
])
@
pytest
.
mark
.
skipif
(
TRANSFORMERS_VERSION
==
"4.55.
0"
,
reason
=
"Transformers v4.55
.0
has a regression issue on mllama, "
Version
(
TRANSFORMERS_VERSION
)
<=
Version
(
"4.55.
2"
)
,
reason
=
"Transformers v4.55 has a regression issue on mllama, "
"see: https://github.com/huggingface/transformers/pull/40083"
)
def
test_models_distributed
(
hf_runner
,
...
...
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