Skip to content

[Feature] remove to_numpy#5162

Merged
kevincheng2 merged 7 commits intoPaddlePaddle:developfrom
kevincheng2:remove_to_numpy
Nov 21, 2025
Merged

[Feature] remove to_numpy#5162
kevincheng2 merged 7 commits intoPaddlePaddle:developfrom
kevincheng2:remove_to_numpy

Conversation

@kevincheng2
Copy link
Collaborator

@kevincheng2 kevincheng2 commented Nov 21, 2025

Motivation

为保证paddle ocr和 EB45TVL 模型的传输性能,取消数据传输中的 to_numpy 操作
EB5中的依赖转移到EB5 model_runner中

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.

@paddle-bot
Copy link

paddle-bot bot commented Nov 21, 2025

Thanks for your contribution!

@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2025

Codecov Report

❌ Patch coverage is 84.78261% with 7 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@6471dad). Learn more about missing BASE report.

Files with missing lines Patch % Lines
fastdeploy/utils.py 88.37% 2 Missing and 3 partials ⚠️
...stdeploy/inter_communicator/engine_worker_queue.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5162   +/-   ##
==========================================
  Coverage           ?   57.74%           
==========================================
  Files              ?      317           
  Lines              ?    38385           
  Branches           ?     5746           
==========================================
  Hits               ?    22166           
  Misses             ?    14447           
  Partials           ?     1772           
Flag Coverage Δ
diff 57.74% <84.78%> (?)

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.

sunlei1024
sunlei1024 previously approved these changes Nov 21, 2025
@kevincheng2 kevincheng2 merged commit cceaba1 into PaddlePaddle:develop Nov 21, 2025
22 of 26 checks passed
@kevincheng2 kevincheng2 deleted the remove_to_numpy branch January 19, 2026 03:45
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.

3 participants