Skip to content

Conversation

@ckl117
Copy link
Collaborator

@ckl117 ckl117 commented Dec 9, 2025

Motivation

每次根据batch 请求中的真实的logprob计算

Modifications

每次根据batch 请求中的真实的logprob计算

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 9, 2025

Thanks for your contribution!

@codecov-commenter
Copy link

Codecov Report

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

Files with missing lines Patch % Lines
fastdeploy/worker/gpu_model_runner.py 46.66% 6 Missing and 2 partials ⚠️
fastdeploy/engine/request.py 16.66% 4 Missing and 1 partial ⚠️
fastdeploy/model_executor/layers/sample/sampler.py 0.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             release/2.4    #5448   +/-   ##
==============================================
  Coverage               ?   59.08%           
==============================================
  Files                  ?      327           
  Lines                  ?    40576           
  Branches               ?     6159           
==============================================
  Hits                   ?    23976           
  Misses                 ?    14744           
  Partials               ?     1856           
Flag Coverage Δ
GPU 59.08% <40.00%> (?)

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.

@ckl117 ckl117 changed the title [CP][Optimization] compulte real max_logprobs in batch (#5430) [Cherry-Pick][Optimization] compulte real max_logprobs in batch (#5430) Dec 9, 2025
@Jiang-Jia-Jun Jiang-Jia-Jun merged commit b491dcd into PaddlePaddle:release/2.4 Dec 9, 2025
13 of 17 checks passed
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