Make zero-temperature LiteRT generation greedy - #508
Merged
Merged
Conversation
Contributor
|
Chat app preview removed for |
leehack
marked this pull request as ready for review
September 17, 2026 00:31
This was referenced Sep 17, 2026
leehack
added a commit
that referenced
this pull request
Sep 18, 2026
* fix(deps): bump svgo Bumps the npm_and_yarn group with 1 update in the /website directory: [svgo](https://github.com/svg/svgo). Updates `svgo` from 3.3.4 to 3.3.5 - [Release notes](https://github.com/svg/svgo/releases) - [Commits](svg/svgo@v3.3.4...v3.3.5) --- updated-dependencies: - dependency-name: svgo dependency-version: 3.3.5 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> * Exclude metadata and import archives from LiteRT runtime inventory (#498) * Load LiteRT companions independently of inventory order (#500) * Preserve required LiteRT iOS provider targets during sync (#501) * Harden LiteRT runtime synchronization and smoke loading (#502) * Adopt qualified LiteRT v0.17.0-1 runtime artifacts * Retain compatible runtime and fix LiteRT smoke dependency loading * Adopt qualified LiteRT v0.17.0-3 runtime (#503) * Adopt qualified LiteRT v0.17.0-2 runtime * Align companion tests with qualified SwiftPM topology * Adopt the published LiteRT Pixel GPU repair * Fix LiteRT Qwen3 thinking control and native system messages (#507) * Fix native Qwen3 thinking-disabled chat templates * Preserve native system-message content and verify chat history * Exercise LiteRT chat in existing Linux and Windows smoke jobs * Make zero-temperature LiteRT generation greedy (#508) * Use greedy sampling for zero-temperature LiteRT generation * Clarify greedy sampling applies to LiteRT CPU and GPU * Adopt LiteRT v0.17.0-5 and enable explicit desktop GPU (#510) * Update LiteRT runtime to v0.17.0-4 * Adopt corrected LiteRT runtime and expose explicit desktop GPU * Test desktop GPU capability boundaries across ABIs * docs: record published desktop GPU qualification * docs: correct LiteRT desktop GPU capability guide (#512) * fix: preserve native GGUF detokenization UTF-8 bytes (#516) * Adopt native v0.4.1 runtime and precision bindings (#497) * Adopt native v0.4.1 runtime and precision bindings * Align performance guide with adopted native runtime * Align native and Web qualification and fix Windows wrapper loading * Fix Windows precision test loading and companion install docs * Resolve Windows precision symbols through native asset declarations * Preserve released install compatibility and test Windows wrapper wiring * Reuse bundled libraries in Windows wrapper regression probes * fix(deps): bump svgo Bumps the npm_and_yarn group with 1 update in the /website directory: [svgo](https://github.com/svg/svgo). Updates `svgo` from 3.3.4 to 3.3.5 - [Release notes](https://github.com/svg/svgo/releases) - [Commits](svg/svgo@v3.3.4...v3.3.5) --- updated-dependencies: - dependency-name: svgo dependency-version: 3.3.5 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> * fix: remediate website dependency advisories --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jhin Lee <leehack@gmail.com>
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.
Summary
Native LiteRT-LM requests with
temp: 0and the defaulttopK: 40can produce corrupt Windows GPU output. Request a single greedy candidate for zero-temperature raw generation and chat; preserve positive-temperature sampling settings.Production-readiness scope
Validation
Windows native inputs are the final PR50 candidate at
4c66cb9f1f037f91eed9b1cbe9101463efd8e46a, with upstream-pinned DXC 1.9.2602. Qwen3 bundle revision8414150f2e9dcc82449bcc9c5abc404b399a4d06uses the original-tokenizer repair merged in native PR49. Gemma bundle revisionb3ca0d2f076785a8f4b2219ddbd2bdb99954eae1usesgemma-4-E2B-it.litertlm.Additional isolation: both models fail GPU sampling with temperature 0/top-k 40, pass top-k 1, and pass temperature 0.8/top-k 40. Removing the optional sampler in a test copy and using an explicit library path confirms native CPU sampling fallback while D3D12 model execution remains active; both models pass that control. The temporary VM, disk and firewall rule were deleted after evidence collection.
High-risk regression review
/root/litert_greedy_adversarial_audit: complete, no blocking findings; eight independently rerun focused tests passed.f6132610181734d2411ed7161b789adc8e6ca9c5/a5df1c4fcbb1766d26efb5b1d9becda191df89a3.The repository-local readiness evaluator reports internally consistent evidence with
unverifiedPrerequisites: external authenticated enforcement prerequisites are unavailable. This is not a claim that those prerequisites are configured. The independent exact-head review above is complete.