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
b1098b40
Unverified
Commit
b1098b40
authored
Jun 19, 2025
by
Lu Fang
Committed by
GitHub
Jun 18, 2025
Browse files
[Bugfix] Fix the linter (#19826)
Signed-off-by:
Lu Fang
<
lufang@fb.com
>
parent
799397ee
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
vllm/model_executor/models/qwen2_5_omni_thinker.py
vllm/model_executor/models/qwen2_5_omni_thinker.py
+5
-5
vllm/model_executor/models/qwen2_5_vl.py
vllm/model_executor/models/qwen2_5_vl.py
+5
-5
vllm/model_executor/models/qwen2_vl.py
vllm/model_executor/models/qwen2_vl.py
+5
-5
No files found.
vllm/model_executor/models/qwen2_5_omni_thinker.py
View file @
b1098b40
...
@@ -146,11 +146,11 @@ class Qwen2_5OmniThinkerProcessingInfo(Qwen2AudioProcessingInfo,
...
@@ -146,11 +146,11 @@ class Qwen2_5OmniThinkerProcessingInfo(Qwen2AudioProcessingInfo,
kwargs
[
"fps"
]
=
fps
kwargs
[
"fps"
]
=
fps
processor
=
self
.
ctx
.
get_hf_processor
(
processor
=
self
.
ctx
.
get_hf_processor
(
Qwen2_5OmniProcessor
,
Qwen2_5OmniProcessor
,
image_processor
=
self
.
get_image_processor
(
image_processor
=
self
.
get_image_processor
(
min_pixels
=
min_pixels
,
min_pixels
=
min_pixels
,
max_pixels
=
max_pixels
,
max_pixels
=
max_pixels
,
size
=
size
,
size
=
size
,
use_fast
=
kwargs
.
get
(
"use_fast"
,
True
)),
use_fast
=
kwargs
.
get
(
"use_fast"
,
True
)),
**
kwargs
,
**
kwargs
,
)
)
if
not
hasattr
(
processor
,
"audio_token"
):
if
not
hasattr
(
processor
,
"audio_token"
):
...
...
vllm/model_executor/models/qwen2_5_vl.py
View file @
b1098b40
...
@@ -794,11 +794,11 @@ class Qwen2_5_VLProcessingInfo(Qwen2VLProcessingInfo):
...
@@ -794,11 +794,11 @@ class Qwen2_5_VLProcessingInfo(Qwen2VLProcessingInfo):
return
self
.
ctx
.
get_hf_processor
(
return
self
.
ctx
.
get_hf_processor
(
Qwen2_5_VLProcessor
,
Qwen2_5_VLProcessor
,
image_processor
=
self
.
get_image_processor
(
image_processor
=
self
.
get_image_processor
(
min_pixels
=
min_pixels
,
min_pixels
=
min_pixels
,
max_pixels
=
max_pixels
,
max_pixels
=
max_pixels
,
size
=
size
,
size
=
size
,
use_fast
=
kwargs
.
get
(
"use_fast"
,
True
)),
use_fast
=
kwargs
.
get
(
"use_fast"
,
True
)),
**
kwargs
,
**
kwargs
,
)
)
...
...
vllm/model_executor/models/qwen2_vl.py
View file @
b1098b40
...
@@ -759,11 +759,11 @@ class Qwen2VLProcessingInfo(BaseProcessingInfo):
...
@@ -759,11 +759,11 @@ class Qwen2VLProcessingInfo(BaseProcessingInfo):
)
->
Qwen2VLProcessor
:
)
->
Qwen2VLProcessor
:
return
self
.
ctx
.
get_hf_processor
(
return
self
.
ctx
.
get_hf_processor
(
Qwen2VLProcessor
,
Qwen2VLProcessor
,
image_processor
=
self
.
get_image_processor
(
image_processor
=
self
.
get_image_processor
(
min_pixels
=
min_pixels
,
min_pixels
=
min_pixels
,
max_pixels
=
max_pixels
,
max_pixels
=
max_pixels
,
size
=
size
,
size
=
size
,
use_fast
=
kwargs
.
get
(
"use_fast"
,
True
)),
use_fast
=
kwargs
.
get
(
"use_fast"
,
True
)),
**
kwargs
,
**
kwargs
,
)
)
...
...
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