Skip to content

Latest commit

 

History

History
128 lines (98 loc) · 7.01 KB

SUPPORTED_GPUS.md

File metadata and controls

128 lines (98 loc) · 7.01 KB

Supported GPUs

Find your card in the first table. "Tested" means a person ran RustingStrata on that card. "Compiles" means the source builds for that architecture but nobody has run it there.

AMD setup is in AMD.md. The experimental HIP backend, brought up on an RX 9070 XT, is in HIP.md.

Tested

GPU Arch Backend Status Tested by Notes
NVIDIA RTX 3060 12 GB Ampere, sm_86 CUDA Reference, full test suite passes maintainer Int8 tensor-core GEMM.
NVIDIA RTX 3060 12 GB Ampere, sm_86 Vulkan Full test suite passes maintainer Prefill is slower than CUDA.
NVIDIA Tesla V100-SXM2 32 GB Volta, sm_70 CUDA Runs, parity measured TheBrutalX Needs the CUDA 12.x NVRTC (CUDA 13 dropped sm_70). See V100-results.md.
NVIDIA Tesla V100-SXM2 32 GB Volta, sm_70 Vulkan Runs, parity measured TheBrutalX No cooperative matrices. Run the kernel tests with STRATA_VK_F16_TRUNC=1 on this driver.
AMD Radeon VII (Vega 20) GCN5, wave64 Vulkan Runs masanork (PR #5) RADV Mesa 26.0.8. See AMD.md.
AMD Radeon RX 9070 XT RDNA 4 Vulkan Runs, known issues user reports Linux (RADV) and Windows (AMD driver). See AMD.md for the issues and what to send.
NVIDIA Turing card Turing, sm_75 CUDA Runs x-Pepsy (PR #6) The GPU model was not recorded in the PR.
NVIDIA GeForce GTX 1660 SUPER 6 GB Turing, sm_75 (TU116, no tensor cores) CUDA Runs PedroRossi MTP 1-4 measured slower than off here.
NVIDIA GeForce GTX 1660 SUPER 6 GB Turing, sm_75 (TU116) Vulkan Runs PedroRossi No cooperative matrices.
NVIDIA GeForce GTX 1650 Max-Q 4 GB Turing, sm_75 (TU117, no tensor cores) CUDA Runs, parity measured keylimesoda
NVIDIA A100-SXM4 80 GB Ampere, sm_80 CUDA Full test suite passes yugt See datacenter-nvidia-results.md.
NVIDIA A100-SXM4 80 GB Ampere, sm_80 Vulkan Full test suite passes with --test-threads=1; default parallel runs can hang in vkDestroyDevice on this driver (details) yugt
NVIDIA A30 24 GB Ampere, sm_80 CUDA Full test suite passes yugt
NVIDIA A30 24 GB Ampere, sm_80 Vulkan Full test suite passes with --test-threads=1; default parallel runs can hang in vkDestroyDevice on this driver (details) yugt
NVIDIA L40S 48 GB Ada, sm_89 CUDA Full test suite passes yugt
NVIDIA L40S 48 GB Ada, sm_89 Vulkan Full test suite passes yugt
NVIDIA H100 NVL 94 GB, H100 80 GB Hopper, sm_90 CUDA Full test suite passes yugt
NVIDIA H100 NVL 94 GB, H100 80 GB Hopper, sm_90 Vulkan Full test suite passes yugt

The tested Ampere, Ada and Hopper cards have cooperative matrices (f16 and int8) on Vulkan.

Measured speed

rustingstrata bench on Qwen3.6-35B-A3B-UD-Q2_K_XL.gguf. Compare numbers only within one row. More tables are in BENCHMARKS.md.

GPU Backend Prefill, pp 4096 (tok/s) Decode (tok/s) Calibrated in a later job: decode (tok/s) Same job, --mtp 0
RTX 3060 12 GB CUDA ~1570 ~108
Tesla V100-SXM2 32 GB CUDA pp 512: 836 116
Tesla V100-SXM2 32 GB Vulkan ~1400 ~110
A100-SXM4 80 GB CUDA 6203 174 280 with MTP 1 174
A100-SXM4 80 GB Vulkan 5589 132 234 with MTP 2 118
A30 24 GB CUDA 3544 132 193 with MTP 1 132
A30 24 GB Vulkan 3326 104 162 with MTP 2 108
L40S 48 GB CUDA 9030 213 407 with MTP 2 214
L40S 48 GB Vulkan 8571 185 317 with MTP 2 197
H100 NVL 94 GB CUDA 9131 246 498 with MTP 2 (H100 80 GB) 265
H100 NVL 94 GB Vulkan 6428 192 363 with MTP 2 (H100 80 GB) 216
  • RTX 3060: MTP on, all but ~1% of expert reads hit the GPU cache.
  • V100 CUDA: the bring-up run.
  • A100 CUDA: MTP off, whole model in VRAM.

GTX 1660 SUPER 6 GB

bench --prompt-file on real text (prose and code), pp 4096 / 16384, GPU clocks locked at 1200 MHz. CUDA: MTP off, --ctx 32768, 2,494 of 10,240 experts resident, driver 550.163.01, NVRTC 12.4.

Backend Path Prefill Decode
CUDA MMA_FMA (default) 214 / 162 tok/s 50.0 / 44.2 tok/s
CUDA m16n8k8 103 / 88 tok/s 50.0 / 44.2 tok/s
Vulkan _dp kernels 274 / 188 tok/s 38.0 / 33.6 tok/s

GTX 1650 Max-Q 4 GB

Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf, --ctx 131072 --kv q4 --mtp 0, real code+docs prompt, CUDA. 35 W TDP, 29 of 10,240 experts resident, driver 620.70.06, NVRTC 13.4.

Path Prefill, pp 4096 / 16384 / 32768
MMA_FMA with __dp4a int8 GEMM (default) 420.1 / 332.7 / 254.9 tok/s
f16 MMA_FMA 191.5 / 149.1 / 115.4 tok/s
m16n8k8 113.1 / 95.7 tok/s

Decode: 17.9 / 17.4 / 16.3 tok/s.

Compiles, not run

GPU class Arch Backend What is checked
Turing sm_75 CUDA cargo test compiles the whole source with NVRTC for sm_75, with and without MMA_FMA.
Volta sm_70 CUDA Same with an NVRTC 12.x. Skipped on CUDA 13.

Not supported

GPU Why
Intel Arc Vulkan driver has no shaderFloat64.
NVIDIA Pascal and older (CUDA) No tensor cores. Use --backend vulkan; not tested.
GPUs without Vulkan 1.3 and subgroup size 32 or 64 The Vulkan backend needs both.

Architecture tiers (CUDA)

Arch Matrix multiply Int8 GEMM Async copy Shared memory per block
sm_80 and newer mma.m16n8k16 yes cp.async 100 KB or more
sm_75 with tensor cores mma.m16n8k8 (two steps per k16) no register copy 64 KB
sm_75 without tensor cores (TU116/TU117) MMA_FMA, with fma.rn.f16x2 prefill attention __dp4a (IQ2_XS and IQ2_S included) register copy 64 KB
sm_70 mma.m8n8k4 (GEMM_TC), or CUDA-core FMA with STRATA_GEMM_FMA=1 no register copy 96 KB opt-in

TU116/TU117 cards are the GTX 16 series, MX450/MX550, T400-T2000 and CMP 30HX.

Variable What it does
STRATA_GEMM_FMA=1 Selects the MMA_FMA path on any sm_75 card.
STRATA_NO_DP4A=1 Keeps f16 GEMMs.
STRATA_GEMM_TC=1 Keeps m16n8k8.

Add your GPU

Open an issue or PR that adds a row. Please send:

  1. The first lines of output with STRATA_VERBOSE=1 (cuda device ... or vulkan: ...). They name the GPU, driver and capabilities.

  2. The model file name and the output of this command:

    rustingstrata bench --model <gguf> --gpu --pp 512,4096 --tg 128 --reps 3
  3. The cargo test --release result or the failing test names. For Vulkan, also rustingstrata check --backend vulkan --model <gguf>.

  4. The exact error text of anything that failed.

Mark rows "Tested" only for cards you ran yourself.