Repository navigation
Conversation
Owner
Author
|
Closing without merge: this PR was built against the pre-31a5d6c roadmap (its SPEC edit renumbers 7e and marks '7e1' complete for what is actually the QKV slice of 7e3) and its integration layer predates the 7e2 workspace refactor (six per-step allocations, no correctness coverage of the unfused oracle). The packed-QKV kernel math itself was review-verified correct — pack/unpack orientation, packed gradient GEMMs, byte-compatible RTCKPT01 — so the 7e3 implementation should feel free to lift those kernels. Superseded by the in-progress 7e3 work based on the current workspace architecture. |
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
[D, 3D]projectionRTCKPT01field order by unpacking/repacking only at checkpoint boundariesB200 performance gate
Same process/container,
B=1 T=64 VOCAB=50257 D=1536 H=24 HD=64 FF=4096, two warmups per path, then ten normal full steps per path:Affected rows from the detailed step in the same process:
qkv.gemm + unpack)pack + combined GEMMs + accumulate)Modal run: https://modal.com/apps/feitreim/main/ap-BxaYHpLzuJeCPcez3QfrBq
Validation
cargo test --workspace— 31 tests passedcargo clippy --workspace --all-targets -- -D warningscargo fmt --manifest-path gpu/llama-model/Cargo.toml -- --checkgit diff --checkcargo oxide run llama-model1.386825 -> 0.000148Notes
compute-sanitizer --tool memcheckcannot execute on the B200 with the repository's current CUDA 13 image. It exits before the program runs withDevice not supportedandCUDA_ERROR_NO_BINARY_FOR_GPU; the normal B200 CUDA runs above pass.cargo fmt --all --checkstill reports pre-existing formatting drift in untouchedcrates/datafiles. The changed GPU crate is formatted.