Skip to content

test: expect int8 from the absorbed DeepSeek V2 serve preflight - #3190

Merged
inureyes merged 1 commit into
mainfrom
fix/serve-preflight-v2-int8-latent
Nov 20, 2026
Merged

inureyes merged 1 commit into
mainfrom
fix/serve-preflight-v2-int8-latent

Conversation

@inureyes

Copy link
Copy Markdown
Member

Summary

commands::serve::tests::serve_preflight_kv_mode_on_deepseek_v2_follows_the_absorption_decision failed in the 2026-11-19 nightly (run 44584967904) and on current main. It was the twentieth failure of that run, in the mlxcel binary tests, and #3186 did not cover it.

Since #3168 the absorbed DeepSeek V2 cache stores its latent as affine int8, so --kv-bits 8 resolves to Int8 with absorption on as well as off. The test still expected the pre-#3168 Fp16. 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 with left: Int8, right: Fp16).

Refs #3146

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
@inureyes inureyes added status:review Under review type:test Test related changes priority:high High priority labels Nov 20, 2026
@inureyes
inureyes merged commit e427b7a into main Nov 20, 2026
32 checks passed
@inureyes
inureyes deleted the fix/serve-preflight-v2-int8-latent branch November 20, 2026 14:57
@inureyes inureyes added status:done Completed and removed status:review Under review labels Nov 20, 2026
@inureyes inureyes added this to the 0.9 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high High priority status:done Completed type:test Test related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant