Repository navigation
TensorFold 0.3.0
TensorFold 0.3.0 runs on NVIDIA GPUs. tensorfold serve picks CUDA on Linux, reads the same MLX 4-bit checkpoints from Hugging Face, and runs on one GPU or two (--tp 2 --rank R --master HOST, one rank per DGX Spark). Drafted output is byte-identical to serial decoding on the same engine; send a request with "draft": false to compare.
Measured on DGX Spark through tensorfold serve installed with pip, against vLLM with MTP=3 through the same client (decode tok/s, one stream, 64-token replies, median of seeds 1234-1238):
| Model | Sparks | Code, sampled | Chat, sampled | Code, greedy | Chat, greedy |
|---|---|---|---|---|---|
| Qwen3.8-27B + DFlash2 | 1 | 49.6 vs 17.7 (2.8x) | 45.8 vs 15.0 (3.1x) | 49.2 vs 17.7 (2.8x) | 45.9 vs 17.0 (2.7x) |
| Qwen3.8-27B + DFlash2 | 2 | 82.4 vs 33.1 (2.5x) | 58.9 vs 30.4 (1.9x) | 76.2 vs 31.6 (2.4x) | 71.1 vs 30.5 (2.3x) |
| Qwen3.8 Flash Next | 1 | 68.3 vs 42.4 (1.6x) | 58.5 vs 33.2 (1.8x) | 73.1 vs 40.9 (1.8x) | 60.2 vs 37.6 (1.6x) |
| Qwen3.8 Flash Next | 2 | 103.8 vs 46.4 (2.2x) | 84.0 vs 41.4 (2.0x) | 96.2 vs 55.2 (1.7x) | 100.2 vs 50.7 (2.0x) |
| GLM-5.3-Flash | 2 | 49.4 vs 24.5 (2.0x) | 43.3 vs 24.3 (1.8x) | 66.3 vs 32.2 (2.1x) | 45.2 vs 24.7 (1.8x) |
- Install inside NVIDIA's
nvcr.io/nvidia/pytorch:26.07-py3container:pip install git+https://github.com/ashhart/TensorFold.git@v0.3.0. The README and RUNBOOK have the one- and two-Spark steps. - New family: GLM-5.3-Flash (
glm5_next), CUDA only, two Sparks. Its optional DFlash2 draft model is licensed for non-commercial use only (CC BY-NC-ND 4.0). - Docs: the CUDA recipe book, adding a CUDA family, and DGX Spark sections in each model's recipe.
tools/bench_openai.py: the client all of these numbers were measured with.- Nemotron 3.5 Lightning stays on Apple Silicon for now.
