- 
                Notifications
    
You must be signed in to change notification settings  - Fork 134
 
Add dotsocr #2077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: aice/v1.22.0
Are you sure you want to change the base?
Add dotsocr #2077
Conversation
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
Signed-off-by: tianyuan211 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls fix the conflict
| changed = True | ||
| new_dict[k] = v | ||
| if changed: | ||
| # skip read-only attributes | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this is the correct behavior, + @yangulei for comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What attributes of dots.ocr will cause issue here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What attributes of dots.ocr will cause issue here?
the error is AttributeError: can't set attribute 'dummy_inputs'
Signed-off-by: tianyuan211 <[email protected]>
          
 fixed  | 
    
Summary
This PR adds support for integrating DotsOCR into vLLM, enabling end-to-end document OCR and layout parsing through the multimodal inference pipeline.
Changes
vllm/model_executor/models/dots_ocr.py.compute_logits,forward, and multimodal embedding fusion for OCR-specific tasks.Motivation
DotsOCR integration allows vLLM to run lightweight, high-accuracy OCR and document layout understanding tasks without requiring server-based inference.
Test
python3 examples/offline_inference/vision_language.py -m 'dots_ocr'