Repository navigation
Conversation
DeepGEMM 2.5.0 (891d57b) lacks the SM90 paged MQA logits path with 32-token KV blocks that DeepSeek-V4.1's indexer needs, and its SM90 k-grouped FP8 GEMM returns wrong weight gradients for some experts, nondeterministically. Build the commit vLLM 0.31.0 vendors instead, so vLLM and the trainer run the same kernels. Its DeepJIT needs the elfutils headers at build time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Builds DeepGEMM from vLLM's fork at
e1f418c, the commit vLLM 0.31.0 vendors (2.8.0). Before this it built 2.5.0 (891d57b).Why
deep_gemmahead of its vendored copy, so prime-rl's 2.5.0 wheel replaces vLLM's 2.8.0. 2.5.0's SM90 paged MQA logits path supports only 64-token KV blocks, and V4.1's indexer uses 32, so serving fails (block_kv == 64 or (arch_major == 10 and block_kv == 32)).k_grouped_fp8_gemm_nt_contiguousreturns wrong weight gradients for some experts, nondeterministically.Changes
install_deep_gemm.sh: a new--repooption; the default repo and ref are nowvllm-project/DeepGEMMate1f418c.elfutils-devel, because DeepJIT includeselfutils/libdwfl.h. It's needed at compile time only; the library is dlopened at runtime.Checked on H200 with a local x86_64 build (
deep_gemm-2.8.0+e1f418c, CUDA 13.0, torch 2.13.0):The aarch64 wheel and the smoke test are only checked by this PR's CI.
🤖 Generated with Claude Code