|
Download kernels/Quant/020_nvfp4_linear_layer/README.md from QianQu/CompoundingKernel-Explorer: direct link, hf CLI and curl.
- Browser
- Download file 922 Bytes
-
https://huggingface.co/spaces/QianQu/CompoundingKernel-Explorer/resolve/main/kernels/Quant/020_nvfp4_linear_layer/README.md
- Command line
-
hf download hf://spaces/QianQu/CompoundingKernel-Explorer/kernels/Quant/020_nvfp4_linear_layer/README.md
-
curl -L -o README.md https://huggingface.co/spaces/QianQu/CompoundingKernel-Explorer/resolve/main/kernels/Quant/020_nvfp4_linear_layer/README.md
922 Bytes
NVFP4 linear layer (Quant 020)
An NVFP4 linear layer (8192 x 8192): quantizes the bf16 input to NVFP4 with block scales, then multiplies it by the NVFP4 weight into a bf16 output.
- Language: CUDA C++. Entry point:
main.cpp::run. Files: 13 (9,536 lines). - Idea: Quant kernel (grid barrier for the global amax) packs x to NVFP4 + scales, then a CUTLASS block-scaled tcgen05 GEMM; small M uses a custom weight-stationary GEMM.
- Result: SOL score 0.920; speedup 9.33x over the benchmark's baseline (geometric mean). Public SOL-ExecBench results as of 2026-11-11.
- Origin: search agent (Claude).
- Comments edited; unused test helpers removed; the code that runs is identical to the scored submission.
- Re-checked on a B200 after the edit: it builds and passes every workload of the SOL-ExecBench correctness check.
- Generated by Claude via Amazon Bedrock. Verified on the SOL-ExecBench site; not production-ready.