Repository navigation
feat(svdq): 1/N add CuTe NVFP4 workflow with native default - #1229
Merged
Merged
Conversation
- add the independent CuTe activation/LoRA-down producer and fully TMA NVFP4 GEMM\n- separate native and CuTe kernel namespaces and remove redundant CuTe suffixes\n- keep NVFP4 runtime_kernel on native until CuTe GEMM/e2e performance gates pass\n- add cache-dit-cuda-kernel skill with build, profiling, performance, and RFC notes
4 tasks
11 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
lora_act_to_bf16; legacy checkpoint packs are converted once at load time while the serialized native state dict remains unchanged.svdq::native_kernelsandsvdq::cute_kernels, move native sources undernatitve/, and remove redundant CuTe suffixes from files, kernels, hosts and pybind methods.runtime_kernel=Noneresolving tonativeuntil the performance gates pass;runtime_kernel="cute"remains an explicit opt-in. Python tests and docs are synchronized.cache-dit-cuda-kernelskill under.github/skills/with the build/profiling workflow, measured performance history, rejected attempts and GEMM optimization RFC.Performance status
RTX PRO 5000, M=4096, N=K=3072, rank=32, nsys kernel-only, warmup=3/iters=15:
The producer is at near-parity. GEMM and the required >=5% end-to-end gain are not yet met, so NVFP4 defaults to the native runtime in this PR. Remaining work is tracked in #1228.
Validation
95 passedacross SVDQ imports/config/dispatch, CuTe integration, and native/CuTe runtime tests.pre-commitall green (flake8, pydocstyle, yapf, docformatter, EOF/line-ending checks).tools/build_fast.shwith ccache/nvcc shim.origin/mainmerged into the feature branch with no conflicts; the full regression set was rerun after the merge.Related issue: #1228 (tracking only; not closed by this PR).