Skip to content

Conversation

@luukunn
Copy link
Collaborator

@luukunn luukunn commented Nov 8, 2025

Motivation

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

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Nov 8, 2025
LiqinruiG
LiqinruiG previously approved these changes Nov 8, 2025
Copy link
Collaborator

@LiqinruiG LiqinruiG left a comment

Choose a reason for hiding this comment

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

LGTM

request = Request.from_dict(task)
llm_logger.info(f"Receive request {request}")
if sampling_params is not None:
if sampling_params.temperature is not None and sampling_params.temperature == 0:
Copy link
Collaborator

Choose a reason for hiding this comment

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

改成下面判断吧

if abs(sampling_params.temperature) < 1e-06:
      sampling_params.temperature = 1e-06

@LiqinruiG LiqinruiG changed the title [Others]add default temperature value [BugFix] When the value of "temperature" is 0, adjust it to 1e-06 Nov 9, 2025
Jiang-Jia-Jun
Jiang-Jia-Jun previously approved these changes Nov 9, 2025
Copy link
Collaborator

@LiqinruiG LiqinruiG left a comment

Choose a reason for hiding this comment

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

LGTM

@LiqinruiG LiqinruiG merged commit 41c0bef into PaddlePaddle:develop Nov 10, 2025
22 of 26 checks passed
luukunn added a commit to luukunn/FastDeploy that referenced this pull request Nov 10, 2025
…ddlePaddle#4900)

* add default temperature value

* add unit test

* update

* update

* add unit test

* update

* fix unit test
Jiang-Jia-Jun pushed a commit that referenced this pull request Nov 10, 2025
)

* 【DataProcessor】add options thinking_mode (#4735)

* add thinking_mode

* add thinking_mode

* add thinking_mode

* add thinking_mode

* add thinking_mode

* add thinking_mode

* add unit test

* [BugFix] When the value of "temperature" is 0, adjust it to 1e-06 (#4900)

* add default temperature value

* add unit test

* update

* update

* add unit test

* update

* fix unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants