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
04cf435d
Unverified
Commit
04cf435d
authored
Aug 07, 2025
by
Cyrus Leung
Committed by
GitHub
Aug 06, 2025
Browse files
[Bugfix] Fix wrong method name in Intern-S1 image processor (#22417)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
7377131a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/interns1.py
vllm/model_executor/models/interns1.py
+1
-1
No files found.
vllm/model_executor/models/interns1.py
View file @
04cf435d
...
...
@@ -161,7 +161,7 @@ class InternS1ProcessingInfo(BaseProcessingInfo):
if
not
isinstance
(
processor
,
GotOcr2ImageProcessorFast
):
raise
ValueError
(
f
'GotOcr2ImageProcessorFast is expected but got '
f
'
{
type
(
processor
)
}
'
)
num_image_patches
=
processor
.
get_number_of_image_
token
s
(
num_image_patches
=
processor
.
get_number_of_image_
patche
s
(
image_height
,
image_width
,
images_kwargs
=
dict
())
num_image_tokens
=
self
.
get_hf_processor
(
).
image_seq_length
*
num_image_patches
...
...
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