[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-118319":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":24,"readmeContent":25,"aiSummary":9,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":26,"discoverSource":27},118319,"volta-forever","nbald\u002Fvolta-forever","nbald","Your Tesla V100 is not dead: run unmodified CUDA 13 programs (PyTorch, vLLM, SGLang, llama.cpp) on Volta (sm_70). A compatibility layer in front of NVIDIA's driver library.",null,"Rust",143,10,1,2,0,22,66,71.53,"Apache License 2.0",false,"main",true,[],"2026-11-25 00:50:12","# volta-forever\n\n**Your Tesla V100 is not dead.**\\\nCUDA 13 dropped Volta.\\\nvolta-forever brings it back.\n\nRun unmodified CUDA 13 applications on a Tesla V100 with a simple two-letter command prefix: `vf`.\n\n[Inference engines and Ubuntu guides](#inference-engines) · [Installation](INSTALL.md) · [Compatibility limits](LIMITS.md)\n\n> **A young project.** volta-forever runs the engines listed below and a large part of PyTorch,\n> but not every CUDA 13 program works out of the box yet: a kernel may be refused, a library may\n> need a CUDA 12 counterpart, a program may need a setting. Read [the limits of 0.1.5 to know\n> first](LIMITS.md#the-limits-of-015-to-know-first). The recommended way to get a program\n> running is to hand the job to your AI coding agent: point it at this repository, tell it which\n> program you want on your V100, and ask it to follow [AGENTS.md](AGENTS.md). When the layer\n> itself is what is missing, ask the agent to fix it here and to send a pull request: that is\n> how the project grows. [Reporting a wrong result](CONTRIBUTING.md#reporting-a-wrong-result)\n\n> **Triton: validated on a corpus, and slow at the default capability.** Triton generates its\n> kernels while a program runs, for that program's shapes and settings, and for a program told\n> 7.5 (the default) they run from their machine code. Of 3,516 configurations of 20 Triton\n> kernels and 241 cases of vLLM's and SGLang's Triton kernels, every one that Triton compiles\n> gave on a V100 what Triton's interpreter computes, where it computes it, and what its own PTX\n> gives, and the independent validator found no problem in the 4,308 cubins of the first\n> ([validation](docs\u002Fvalidation.md)). A kernel that a program makes with other shapes or settings\n> was checked by neither: compare results with a reference and\n> [report differences](CONTRIBUTING.md#reporting-a-wrong-result). Told 7.5, Triton 3.8 uses no\n> tensor cores for `tl.dot`: its float16 and bf16 products ran 3 to 150 times slower than told\n> 8.0 ([speed](LIMITS.md#speed)). In a program with PyTorch, only\n> `VF_CAPABILITY=8.0 VF_CAPABILITY_ALL=1` changes that in 0.1.5, and PyTorch's own attention is\n> then refused ([capability](LIMITS.md#the-capability-told-with-vf_capability)).\n\n## Quick start\n\nYou need a Tesla V100, the NVIDIA R580 driver, Linux x86-64 with glibc 2.34 or later, and `curl`, `python3` and `xz`. Ubuntu 22.04+ and Debian 12+ meet the glibc requirement. The installer places `vf` in `~\u002F.local\u002Fbin` and downloads NVIDIA’s CUDA 12.9.2 cuBLAS and nvJitLink.\n\n```sh\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fnbald\u002Fvolta-forever\u002Fmain\u002Finstall.sh | bash\nexport PATH=\"$HOME\u002F.local\u002Fbin:$PATH\"\nvf doctor\n```\n\nRun an existing CUDA program, or use `vf venv` to install ordinary CUDA wheels.\n\n```sh\nvf llama-completion -m model.gguf -p \"Hello\" -n 48 -ngl 99\n\nvf venv .venv\n.venv\u002Fbin\u002Fpip install torch --index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu130\n.venv\u002Fbin\u002Fpython -c \"import torch; print(torch.cuda.get_device_name())\"\n```\n\nRun `vf fetch --all` if the application needs more CUDA 12.9 libraries. PyTorch on several GPUs needs NVIDIA’s CUDA 12 NCCL: `vf fetch --only libnccl` downloads it. [Installation and launcher options](INSTALL.md) · [Several GPUs](LIMITS.md#several-gpus-and-nccl)\n\n## How it works\n\nCUDA 13 applications ship kernels for GPUs newer than Volta. VF intercepts module loads, retargets supported PTX and translates supported Turing (`sm_75`) machine code to Volta (`sm_70`). The NVIDIA driver runs the resulting kernels on the V100. VF caches translations and routes libraries such as cuBLAS to their CUDA 12.9 implementations.\n\nCUDA 13 programs see capability 7.5 by default. Applications with native Volta kernels keep 7.0. `VF_CAPABILITY=8.0 vf .\u002Fmy_program` tells an application 8.0, so that it takes its Ampere PTX, as the engine guides below do. An application whose kernels VF can only give from their `sm_75` machine code, such as PyTorch, or from their `sm_75` PTX, is still told 7.5, and VF says so. VF can emulate instructions used by BF16, FP8 and NVFP4 kernels. VF also uses PTX retained inside a cubin and translates selected `sm_80` machine code; that translation is not checked by the independent validator. When a kernel needs an unsupported instruction, VF reports the kernel name and the reason. [Architecture](docs\u002Farchitecture.md) · [Instruction emulation](docs\u002Femulations.md) · [Supported images and limits](LIMITS.md)\n\n## Inference engines\n\nAll eight engines ran **Qwen3.5-35B-A3B** on a Tesla V100-SXM2-32GB with **MTP and all other speculative decoding disabled**. Each engine processed one warm-up followed by three distinct 227-token prompts at concurrency 1 and generated 64 tokens per prompt. Rates are medians in tokens\u002Fs. Each native\u002FVF pair used the same card and checkpoint. Strata, FreeToken and llama.cpp shared the same GGUF file.\n\n| Engine (Ubuntu guide) | Tested model \u002F quantization | CUDA 12 prefill | CUDA 12 decode | CUDA 13 + VF prefill | CUDA 13 + VF decode |\n|---|---|---:|---:|---:|---:|\n| [vLLM](docs\u002Fguides\u002Fvllm.md) | QuantTrio AWQ W4A16 | 1,443.33¹ | 76.09¹ | 1,449.98 | 80.23 |\n| [SGLang](docs\u002Fguides\u002Fsglang.md) | QuantTrio AWQ W4A16 | Can't run | Can't run | 2,010.01 | 79.55 |\n| [llama.cpp](docs\u002Fguides\u002Fllamacpp.md) | Unsloth GGUF UD-Q4_K_M | 494.57 | 101.27 | 1,089.57 | 101.11 |\n| [FreeToken](docs\u002Fguides\u002Ffreetoken.md) | Unsloth GGUF UD-Q4_K_M | Can't run | Can't run | 905.68 | 108.75 |\n| [Strata](docs\u002Fguides\u002Fstrata.md) | Unsloth GGUF UD-Q4_K_M | 1,968.80 | 105.19 | 2,000.00 | 109.13 |\n| [ZML \u002F LLMD](docs\u002Fguides\u002Fzml.md) | AMD MXFP4 | Can't run | Can't run | 774.63² | 50.16 |\n| [NInfer](docs\u002Fguides\u002Fninfer.md) | Mixed Q4\u002FQ5\u002FQ6\u002FQ8 `.ninfer` | Can't run | Can't run | 556.51 | 117.08 |\n| [TensorFold](docs\u002Fguides\u002Ftensorfold.md) | MLX 4-bit experts, 8-bit routers | Can't run | Can't run | 462.85 | 57.65 |\n\n¹ The CUDA 12 figures for vLLM are from **1Cat-vLLM** running CUDA 12.8. The native Strata and llama.cpp builds used CUDA 12.9 and 12.9.2 respectively. [1Cat-vLLM measurements](docs\u002Fguides\u002Fbenchmarks\u002Fvllm-graphs.json)\n\n² LLMD prefill uses the GPU span of its complete prefill graph. The server measured 751.66 prompt tokens\u002Fs through the first token. Decode counts the 63 subsequent output tokens over the server’s decode time. [Phase timings](docs\u002Fguides\u002Fbenchmarks\u002Fzml-llmd-bf16-product.json)\n\nCompatibility applies to the listed checkpoint and upstream engine on a native V100. [Checkpoint revisions and per-request results](docs\u002Fguides\u002Fbenchmarks\u002FREADME.md)\n\n## Validation\n\nOn V100 with driver 580.178.04, PyTorch matched the CPU on all 924 operations with a CPU reference and all 32 small models, also with `VF_CAPABILITY=8.0`. vLLM and SGLang matched the CPU reference token for token on greedy Qwen2.5-0.5B tests. Selected low-precision operations were also checked against an RTX 5090. Coverage depends on the kernel. [Validation results](docs\u002Fvalidation.md) · [Performance measurements](docs\u002Fperformance.md) · [Known limits](LIMITS.md)\n\n## Build and test\n\nTo build from source, install Rust 1.88 or later (edition 2024) and GCC, then run these commands from the checkout.\n\n```sh\nscripts\u002Fbuild.sh\nscripts\u002Ffetch-all.sh redist\nscripts\u002Fbuild-forwarders.sh\nscripts\u002Fvf doctor\ncargo test --workspace\n```\n\nThe scripts and tests that compile CUDA sources with the toolkits of `toolkits\u002F` go through `scripts\u002Fnvcc-host.sh`. It compiles a probe first and changes nothing when that works. On a system newer than CUDA 12.9.2, such as Ubuntu 26.04 (glibc 2.43, GCC 15), it adds what the compiler needs there, and says so: a `g++-N` that the toolkit accepts, and a header of ours that hides the C library's declarations that contradict CUDA 12's (the toolkit is not edited). Install `g++-14` there; CUDA 12.9 accepts GCC 14 at the newest.\n\nRun `tests\u002Fgpu\u002Frun.sh` for the physical V100 suite. Use `scripts\u002Fpackage.sh` to create a release archive. [Test suites](tests\u002FREADME.md) · [Contributing](CONTRIBUTING.md) · [Machine-code translator](docs\u002Ftranslator.md)\n\n## Licence\n\nApache License 2.0. The instruction tables derived from denvdis are licensed under LGPL 2.1. NVIDIA and CUDA are trademarks of NVIDIA Corporation. This project is independent of NVIDIA. [License](LICENSE) · [Instruction table licence](crates\u002Fvf-tables\u002FLICENSE) · [Notices](NOTICE)\n","2026-11-24 04:57:53","CREATED_QUERY"]