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
5e73e490
Unverified
Commit
5e73e490
authored
Jan 29, 2026
by
Isotr0py
Committed by
GitHub
Jan 29, 2026
Browse files
[Bugfix] Fix broken GLM-OCR initialization (#33350)
Signed-off-by:
Isotr0py
<
mozf@mail2.sysu.edu.cn
>
parent
c6e7404c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/glm_ocr.py
vllm/model_executor/models/glm_ocr.py
+1
-1
No files found.
vllm/model_executor/models/glm_ocr.py
View file @
5e73e490
...
@@ -249,7 +249,7 @@ class GlmOcrPatchMerger(Glm4vPatchMerger):
...
@@ -249,7 +249,7 @@ class GlmOcrPatchMerger(Glm4vPatchMerger):
class
GlmOcrVisionTransformer
(
Glm4vVisionTransformer
):
class
GlmOcrVisionTransformer
(
Glm4vVisionTransformer
):
def
__init__
(
def
__init__
(
self
,
self
,
vision_config
:
GlmOcrVisionConfig
,
vision_config
:
"
GlmOcrVisionConfig
"
,
norm_eps
:
float
=
1e-5
,
norm_eps
:
float
=
1e-5
,
quant_config
:
QuantizationConfig
|
None
=
None
,
quant_config
:
QuantizationConfig
|
None
=
None
,
prefix
:
str
=
""
,
prefix
:
str
=
""
,
...
...
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