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
c36bcfe6
Unverified
Commit
c36bcfe6
authored
Nov 14, 2025
by
Jiangyun Zhu
Committed by
GitHub
Nov 14, 2025
Browse files
[Bugfix] fix dots.ocr pp support (#28705)
Signed-off-by:
zjy0516
<
riverclouds.zhu@qq.com
>
parent
529cea34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vllm/model_executor/models/dots_ocr.py
vllm/model_executor/models/dots_ocr.py
+4
-0
No files found.
vllm/model_executor/models/dots_ocr.py
View file @
c36bcfe6
...
@@ -780,6 +780,10 @@ class DotsOCRForCausalLM(nn.Module, SupportsMultiModal, SupportsPP, SupportsLoRA
...
@@ -780,6 +780,10 @@ class DotsOCRForCausalLM(nn.Module, SupportsMultiModal, SupportsPP, SupportsLoRA
architectures
=
[
"Qwen2ForCausalLM"
],
architectures
=
[
"Qwen2ForCausalLM"
],
)
)
self
.
make_empty_intermediate_tensors
=
(
self
.
language_model
.
make_empty_intermediate_tensors
)
def
_parse_and_validate_image_input
(
def
_parse_and_validate_image_input
(
self
,
**
kwargs
:
object
self
,
**
kwargs
:
object
)
->
DotsOCRImageInputs
|
None
:
)
->
DotsOCRImageInputs
|
None
:
...
...
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