CUDApp
CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.
Brought by drakestapleton
CUDApp / evidence / FLASH-NEXT-CODER-FULL-20261118 / README.md
| 1 | # Flash-Next FP8 expert weights on the DGX Spark |
| 2 | |
| 3 | The 73,728 text-model expert matrices occupy 120,795,955,200 bytes uncompressed. The row-addressable rANS measurement prototype counted 99,278,799,304 bytes including its frequencies and row offsets. Every text matrix decoded byte-for-byte to its input. The reduction is 20.04 GiB. The experiment ran on the Spark CPU. GPU decoding, inference latency, and serving memory use remain unmeasured. |
| 4 | |
| 5 | The original shard scanner also included 1,536 matrices in the optional multi-token prediction head. The independent index check matches each measured tensor to its shard, family, dimensions and expected uncompressed length. Those 1,536 matrices are reported separately. The unmodified original summary failed its expected count and flipped-bit criteria. All of its result rows are retained. |
| 6 | |
| 7 | Of 73,728 midpoint bit flips in text expert streams, 103 produced the original decoded bytes under the prototype's comparison. The optional head had one such result. A successful comparison of decoded weights is insufficient to establish byte-stream integrity. |
| 8 | |
| 9 | ## Reproduce |
| 10 | |
| 11 | Use Qwen/Qwen3.8-Flash-Next-FP8 revision 7fb48d708ca6cd8eeed8f4db0433be18af96984f. Verify the large files with checkpoint-lfs.sha256 from the checkpoint directory. The measurement tool is rowrans.c from the adjacent FLASH-NEXT-WEIGHT-WASTE-20261118 directory. On the Spark, GCC rebuilt the exact binary used for this run. |
| 12 | |
| 13 | gcc -O2 -Wall -Wextra -Werror -o rowrans ../FLASH-NEXT-WEIGHT-WASTE-20261118/rowrans.c |
| 14 | python3 -I fullcover.py "$MODEL" "$PWD/rowrans" fresh-results 3 |
| 15 | python3 -I verify_index.py "$MODEL/model.safetensors.index.json" fresh-results |
| 16 | |
| 17 | To check the retained results without rerunning the coder, extract matrix-results.tar.gz and use fullcover-out in place of fresh-results. The summary.log records the original aggregation across both model families. The index-check.log gives the text-only population. |
| 18 | |
| 19 | ## What the byte count means |
| 20 | |
| 21 | Keeping the other text weights resident adds 9,910,143,000 bytes, under the assumption that the n-gram table stays on disk and the optional prediction and vision heads stay unloaded. That gives 101.69 GiB of weight payload with the prototype. No serving process was started for this measurement. The KV cache, activation buffers, decoded working buffers and runtime allocations would add to this figure. |