Skip to content

[BugFix][Cherry-Pick] cp fix logprob bug(#5604)#5770

Merged
yuanlehome merged 1 commit intoPaddlePaddle:release/2.4from
kevincheng2:cp_fix_logprob_bug
Dec 25, 2025
Merged

[BugFix][Cherry-Pick] cp fix logprob bug(#5604)#5770
yuanlehome merged 1 commit intoPaddlePaddle:release/2.4from
kevincheng2:cp_fix_logprob_bug

Conversation

@kevincheng2
Copy link
Collaborator

Motivation

splitwise_scheduler 开启 logprob 传输 result 数据时,LogprobsLists 类型无法JSON序列化

cp from #5604

Modifications

result 数据使用 pickle 方式序列化

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 Dec 25, 2025

Thanks for your contribution!

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (release/2.4@d0c5bce). Learn more about missing BASE report.

Files with missing lines Patch % Lines
fastdeploy/scheduler/splitwise_scheduler.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             release/2.4    #5770   +/-   ##
==============================================
  Coverage               ?   59.06%           
==============================================
  Files                  ?      328           
  Lines                  ?    40731           
  Branches               ?     6204           
==============================================
  Hits                   ?    24057           
  Misses                 ?    14797           
  Partials               ?     1877           
Flag Coverage Δ
GPU 59.06% <33.33%> (?)

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.

@yuanlehome yuanlehome merged commit 9a8e215 into PaddlePaddle:release/2.4 Dec 25, 2025
21 of 27 checks passed
@kevincheng2 kevincheng2 deleted the cp_fix_logprob_bug branch January 19, 2026 03:43
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