Add end-to-end sampling controls to the LLM server worker protocol - #21561
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21561
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 116 PendingAs of commit 1eca171 with merge base 4b4df96 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@claude review this code |
This PR needs a
|
|
Claude finished @metascroy's task in 3m 2s —— View job Code ReviewReviewed the full diff ( 🔴 Duplicated comment (leftover from edit)
// Stop strings
// Stop strings (the request's `stop` sequences): terminate at the tokenLine 132 is a stray duplicate — the real comment starts on 133. Drop line 132. 🟡
|
Summary
Add end-to-end sampling controls to the LLM server worker protocol.
top_p,top_k, andseedfrom chat completion requests through the Python runtime and JSONL worker protocol.Test Plan
top_pandtop_k.