Repository navigation
test: expect int8 from the absorbed DeepSeek V2 serve preflight - #3190
Merged
Merged
Conversation
Since #3168 the absorbed DeepSeek V2 cache stores its latent as affine int8, so `--kv-bits 8` resolves to Int8 at startup and in the serve preflight. The test still expected the pre-#3168 fp16 answer and failed in the 2026-11-19 nightly (run 44584967904), the one failure #3186 did not cover. Refs #3146
5 tasks done
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
commands::serve::tests::serve_preflight_kv_mode_on_deepseek_v2_follows_the_absorption_decisionfailed in the 2026-11-19 nightly (run 44584967904) and on current main. It was the twentieth failure of that run, in themlxcelbinary tests, and #3186 did not cover it.Since #3168 the absorbed DeepSeek V2 cache stores its latent as affine int8, so
--kv-bits 8resolves toInt8with absorption on as well as off. The test still expected the pre-#3168Fp16. The code is right and the test is stale, so this changes only the expectation and its doc comment. The Turbo4 case (fp16 latent when absorbed) is unchanged.Test
cargo test --profile test-fast --features metal,accelerate --bin mlxcel -- serve_preflight_kv_mode --test-threads=1: 3 passed (the fixed test failed before the change withleft: Int8, right: Fp16).Refs #3146