Skip to content

fix(qianfan_ocr): add XPU expectations - #45615

Merged
ydshieh merged 1 commit into
huggingface:mainfrom
kaixuanliu:fix-model-tests-qianfan_ocr-20260424
May 7, 2026
Merged

ydshieh merged 1 commit into
huggingface:mainfrom
kaixuanliu:fix-model-tests-qianfan_ocr-20260424

Conversation

@kaixuanliu

Copy link
Copy Markdown
Contributor

@ydshieh pls help review, thx!

Fixed 4 test(s):
- tests/models/qianfan_ocr/test_modeling_qianfan_ocr.py::QianfanOCRIntegrationTest::test_model_integration_batched_generate
- tests/models/qianfan_ocr/test_modeling_qianfan_ocr.py::QianfanOCRIntegrationTest::test_model_integration_forward
- tests/models/qianfan_ocr/test_modeling_qianfan_ocr.py::QianfanOCRIntegrationTest::test_model_integration_generate
- tests/models/qianfan_ocr/test_modeling_qianfan_ocr.py::QianfanOCRIntegrationTest::test_model_integration_generate_text_only
@github-actions

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: qianfan_ocr

@ydshieh ydshieh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ydshieh
ydshieh merged commit 15cef23 into huggingface:main May 7, 2026
18 checks passed
@kaixuanliu
kaixuanliu deleted the fix-model-tests-qianfan_ocr-20260424 branch May 8, 2026 01:29
louzongzhi pushed a commit to louzongzhi/transformers that referenced this pull request May 11, 2026
fix(qianfan_ocr): auto-fix failing tests

Fixed 4 test(s):
- tests/models/qianfan_ocr/test_modeling_qianfan_ocr.py::QianfanOCRIntegrationTest::test_model_integration_batched_generate
- tests/models/qianfan_ocr/test_modeling_qianfan_ocr.py::QianfanOCRIntegrationTest::test_model_integration_forward
- tests/models/qianfan_ocr/test_modeling_qianfan_ocr.py::QianfanOCRIntegrationTest::test_model_integration_generate
- tests/models/qianfan_ocr/test_modeling_qianfan_ocr.py::QianfanOCRIntegrationTest::test_model_integration_generate_text_only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants