Skip to content

[XPU]MAX_BSZ aligns gpu settings and disable prefix cache in OCR VL#5831

Merged
ddchenhao66 merged 1 commit into
PaddlePaddle:developfrom
ddchenhao66:fix_ocr
Dec 31, 2025
Merged

[XPU]MAX_BSZ aligns gpu settings and disable prefix cache in OCR VL#5831
ddchenhao66 merged 1 commit into
PaddlePaddle:developfrom
ddchenhao66:fix_ocr

Conversation

@ddchenhao66
Copy link
Copy Markdown
Collaborator

Motivation

  1. xpu的MAX_BSZ设置对齐GPU,修复max_num_seqs=256服务报错
  2. xpu 在OCR VL模型默认关闭prefix cache

Modifications

Usage or Command

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@a8d3e3b). Learn more about missing BASE report.

Files with missing lines Patch % Lines
fastdeploy/worker/worker_process.py 0.00% 2 Missing and 1 partial ⚠️
fastdeploy/engine/args_utils.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5831   +/-   ##
==========================================
  Coverage           ?   66.67%           
==========================================
  Files              ?      346           
  Lines              ?    44325           
  Branches           ?     6814           
==========================================
  Hits               ?    29555           
  Misses             ?    12586           
  Partials           ?     2184           
Flag Coverage Δ
GPU 66.67% <28.57%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@EmmonsCurse EmmonsCurse left a comment

Choose a reason for hiding this comment

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

LGTM~

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Dec 30, 2025

Thanks for your contribution!

@ddchenhao66 ddchenhao66 merged commit 9e45ef7 into PaddlePaddle:develop Dec 31, 2025
26 of 30 checks passed
@ddchenhao66 ddchenhao66 deleted the fix_ocr branch December 31, 2025 01:49
chang-wenbin pushed a commit to chang-wenbin/FastDeploy that referenced this pull request Mar 2, 2026
xiaoguoguo626807 pushed a commit to xiaoguoguo626807/FastDeploy that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants