Repository navigation
Conversation
…ter's passes, summed by launch shape
…ts of one row, five layers and GB/s per shape
…and each summary covers its own window
…oked since the last one The summary at close followed a periodic one even when no round had been booked in between, and printed only a header such as "rounds 4097 to 4096 (0 rounds; ...)". write now returns at once when no round was booked since the last summary. A test writes a fresh profile (nothing) and one after a round (its header); it found 104 bytes before the change.
…m its logprob row An opt-in `kept_probs: true` on chat (with logprobs) and completions (with a logprobs count) adds, for each reply token, the probabilities over the tokens the sampler keeps after temperature, top_k, top_p and min_p, renormalized. The server computes them on the host with the sampler's own cut (`sampling.kept`, moved out of `chooseOrdered` unchanged) and asks the engine for all 20 alternatives, while `top_logprobs` still prints the count asked for. A sampled request needs top_k from 1 to 20 so the kept set fits the row; other top_k values and nonzero penalties are refused with HTTP 400. Tokens and every other field are unchanged with the option on or off. Fixes #3182
Owner
Author
|
Stopped at #2951. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI for a landing train: #2951 #3207 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.