cd /news/ai-infrastructure/don-t-e-waste-that-gtx-1660-super-me… · home › topics › ai-infrastructure › article
[ARTICLE · art-179899] src=gist.github.com ↗ pub= topic=ai-infrastructure verified=true sentiment=↑ positive

Don't e-waste that GTX 1660 SUPER: measured fixes for local AI (llama.cpp 5x prompts, beats a DGX Spark at 8B writing, fp16 black-image fix)

A developer benchmarked a used GTX 1660 SUPER for local AI inference, reporting that an arch-72 CUDA build with GGML_CUDA_FORCE_MMQ roughly 5.2x'd prompt processing on 7B Q4_0 (146.9 to 767.6 tok/s) and that the card beat a published NVIDIA DGX Spark run on Llama 3.1 8B token generation (49.89 vs 44.05 tok/s at empty context) while losing badly on prompt processing (549 vs 3,709 tok/s). The writeup also documents an ngram-simple speculative decoding gain of 2.2x on text rewriting (48.9 to 109.3 tok/s), an Ollama num_gpu 99 workaround that lifted Qwen3 8B from 22.4 to 44.4 tok/s, and a memory-loaded 170 W VBIOS edit that added 3.4% over an overclock without flashing the card.

recommendation

On older Turing cards, build llama.cpp with -DCMAKE_CUDA_ARCHITECTURES=72 -DGGML_CUDA_FORCE_MMQ=ON and enable --spec-type ngram-simple for rewriting workloads; the source measured 5.2x prompt processing and 2.2x rewriting throughput with identical output.

more in playbook: Inference and self-hosting
by read27 min views1 publishedDec 1, 2026

All on the same GTX 1660 SUPER, stock 130 W, llama.cpp b12900, -DCMAKE_CUDA_ARCHITECTURES=72 -DGGML_CUDA_FORCE_MMQ=ON vs a stock arch-75 build, llama-bench, median of 3-5 runs. The older numbers below (commit 604cc43) all held within 3%.

Test Stock This recipe
7B Q4_0 (Mistral) pp512 146.9 767.6 (5.2x)
Qwen3 8B Q4_K_M pp512 141.3 451.9 (3.2x)
32 parallel streams, 7B, total tok/s 130.5 449.9 (3.4x)
Llama 2 7B Q4_0 (scoreboard file) pp512, FA on not run 820.6

Same file, same test as a published NVIDIA DGX Spark run:

Llama 3.1 8B Instruct Q4_K_M (bartowski), FA on DGX Spark (published, llama.cpp CUDA, Oct 2026) GTX 1660 SUPER
tg32, empty context 44.05 49.89
tg32 at 4096 context 40.05 45.79
pp2048 3,709 549

The Spark reads prompts about 7x faster, runs far bigger models and wins on smaller ones (Gemma 3 4B QAT tg32: 81-84.5 vs 75.2; Llama 2 7B tg128: 56.7 CUDA / 60.4 Vulkan vs 57.4). Writing on an 8B that fits in 6 GB is memory-bandwidth bound, and the 1660 SUPER has 336 GB/s vs the Spark's 273.

Tuned, same Llama 3.1 8B Spark file (output text identical to stock in every run):

Setup tg32 tg32 @ 4096 pp2048
Stock (130 W, normal driver) 49.89 45.79 549
Overclock: 140 W, core +100, memory +1600 (normal driver) 53.28 48.95 589 (ub 1024)
Edited firmware 170 W + the same overclock (test driver) 55.51 50.83 573
DGX Spark (published) 44.05 40.05 3,709

The 170 W firmware, loaded in memory, never flashed.

  • Tools: Panchovix'snvidia-vbios-vix-editor and the kernel patch fromnvidia-linux-vbios-vix- , built on @pantsoftime'svbios_override patch.
  • Method: - Dump the card's ROM with no driver bound.
    • Raise only power_max_w from 140 to 170 W. The plug and slot rows already allow about 210 W.
    • Load the image through a patched NVIDIA open kernel module 615.71.09.
  • Result: - nvidia-smi showed a 170 W max, and the card drew 163-172 W under load.
    • At 170 W without an overclock it stops being power-limited.
  • Gains: +2.2% over the stock 140 W maximum on its own; +3.4% on top of the overclock.
  • Where tested: this needs the 615+ open driver, so it ran in a test driver session only. The card's chip was never written.
  • What this card is: an MSI GTX 1660 SUPER with one 8-pin plug. The vix docs list no GTX 16 / Linux Turing result we could find.
  • Warnings: - Other boards differ, especially 6-pin cards.
    • We stopped at 170 W because the core power stage limit (108 A) can't be read on Linux.
    • The ROM and payloads are NVIDIA firmware and are not shared here.

Copy-ahead decoding (--spec-type ngram-simple, llama.cpp built-in, no extra memory). Each run used a fresh server, and the output was identical to plain decoding.

  • Rewriting a pasted text: 48.9 to 109.3 tok/s (2.2x).
  • Writing new code or chat: no change.
  • This is not comparable to the Spark's plain-decoding numbers.

Ollama on a 6 GB card: Ollama keeps 1 GB free, so Qwen3 8B loads only 31 of 37 layers. Setting num_gpu 99 (Modelfile PARAMETER num_gpu 99) puts all of them on the card: 22.4 to 44.4 tok/s writing on Ollama 0.40.19. The workaround itself is known from Ollama's issues.

Fixed since the first draft: older arch-72 builds (before llama.cpp b12149) can abort on MoE models with 5-8 parallel sequences; use a current llama.cpp.

A used GTX 1660 SUPER costs roughly $60 to $100 (our estimate, not a market survey), and many are in circulation from old gaming and mining rigs. It has 6 GB of memory, a TU116 chip and no tensor cores.

Over about a day and a half (2026-11-30 to 12-01) we measured what makes one such card useful for local AI. These are the numbers, the commands, what did not work, and who found what before us.

llama.cpp: rebuild it.

cmake -B build -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=72 -DGGML_CUDA_FORCE_MMQ=ON -DCMAKE_BUILD_TYPE=Release

Same commit, same card, compared with a stock build for this card:

  • Prompt processing: 3.2x faster on Qwen3 8B Q4_K_M (139 to 441 tok/s) and 5.2x faster on a Mistral 7B Q4_0 (144 to 746 tok/s).
  • Generation: +10 to 11 % with 3000 tokens of context; +1 % at an empty context.
  • Serving many requests: 2.6 to 3.4x more total throughput at 16 to 32 parallel streams (7B Q4_0).

llama.cpp already hints at a rebuild for these cards (credited below). Our arch-72 recipe beat that hint, built exactly as printed, by 22 % on 7B prompts and 6 to 7 % on generation at depth (8B prompts: +2 to 3.5 %).

Clocks and power. Generation on this card is limited by power, not memory.

  • Fastest: the build plus a memory and core offset and a 140 W limit gives +8.8 % generation over the fully stock setup.
  • Most efficient: an 85 W limit gives +26 % tokens per watt for 18 % less speed.

Bigger models (one run each):

  • Qwen3 30B-A3B: 26 tok/s with part of its experts in system RAM (1.9x CPU-only; needs about 18 GB of RAM).
  • Qwen3-Next 80B-A3B: 13.7 tok/s in a 46 GB machine (2.2x CPU-only).

PyTorch fp16. On PyTorch 2.13 with cuDNN 9.10.2, fp16 convolutions return NaN on this card: black Stable Diffusion pictures and !!!!! Whisper transcripts.

One environment variable pointing at a small cuDNN "errata" JSON file fixes it with no code change. It gives correct results and half the VAE memory, but not a speed-up over fp32 on its own. Add the separate cuBLAS fix that others published and SDXL renders 1.42x faster than ComfyUI's default on this card, with an accuracy trade-off.

Package: https://github.com/Cavemanmining/gtx16-fp16-fix

  • Card: one GeForce GTX 1660 SUPER 6 GB (TU116), PCIe Gen3 x4, also driving the desktop (about 170 MiB of its memory). vBIOS 90.16.4F.40.A9; power limit 130 W by default (range 70 to 140 W).
  • Machine: a 6-core / 12-thread desktop CPU (i5-11600KF) with 46 GB of RAM, Ubuntu 24.04. Other GPUs in the same machine were busy with unrelated work. Every test was pinned to the 1660 SUPER and limited to 6 CPU threads.
  • Driver: NVIDIA 610.43.02 (open kernel module, locally built).
  • Software: - llama.cpp commit 604cc43, CUDA 12 toolkit;
    • PyTorch 2.13.0+cu126 with cuDNN 9.10.2;
    • ComfyUI 0.33.0 (as a library);
    • openai-whisper 20250625;
    • CTranslate2 4.9.1.
  • How we measured: - Repeats: at least 3 repeats or processes per setting unless a table says otherwise, mean +- standard deviation, with raw logs kept for every number.
    • Output checks: temperature-0 output checks for every clock step.
    • Card state: stock clocks unless stated, and everything reset to stock after each test.
    • Skeptic lane: the fp16 results were re-measured by a second, skeptical lane with new code and pass/fail rules written down before it measured anything. Where only one lane measured something, we say so.

This card reports compute capability 7.5, the same as an RTX 2060. A llama.cpp build for 7.5 (sm_75) uses tensor-core (int8 MMA) kernels for every batch of more than 8 tokens, which means every prompt.

The GTX 16 chips have no tensor cores. Those instructions still run, but slowly: about 140 tok/s on prompts while the card draws only 66 to 67 W. llama.cpp knows this: on a stock build it prints "suboptimal performance due to a lack of tensor cores" for "GTX 16" cards.

Credit, the rebuild itself is known:

  • llama.cpp's startup hint, added in PR #15563 (2025) after PR #15360 / #15468, recommends -DCMAKE_CUDA_ARCHITECTURES="61-virtual;80-virtual" -DGGML_CUDA_FORCE_MMQ=ON to use the Pascal code path on Turing. The PRs are by the contributor who also reported the slow tensor-core path on a 1660 in issue #15233 and discussion #15203.
  • llama.cpp issue #30524 (2026), from a rig of eleven GTX 1660 Supers, reports about 5x faster prompt processing with that recipe.

What we add:

  • a different architecture value (72) that measured better on this card;
  • same-commit tables with error bars;
  • generation at depth and batched serving;
  • the reasons, from the source.

These runs used llama-bench with flash attention on. The builds were visited in turn, 3 rounds, one process per visit, mean +- sd, in tok/s.

"sm_61 + MMQ" is the code path the upstream hint gives on this card (source reading). The hint's literal 61-virtual;80-virtual build was measured separately afterwards (next table): it performs the same as sm_61 + MMQ.

Qwen3 8B Q4_K_M (5.23 GB)

build prompt 512 prompt 2048 generation, empty context generation, 3000 tokens deep
stock sm_75 139.4 +- 0.0 131.6 +- 0.1 46.2 +- 0.3 39.5 +- 0.0
sm_61 + FORCE_MMQ (upstream hint's path) 435.7 +- 7.2 406.2 +- 0.6 44.7 +- 0.0 40.3 +- 0.1
sm_72 + FORCE_MMQ 441.4 +- 6.0 424.9 +- 1.7 46.6 +- 0.0 43.5 +- 0.2
sm_72 without FORCE_MMQ (the trap) 44.5 +- 0.1 not run 46.9 +- 0.2 not run

Dolphin-Mistral 7B Q4_0 (4.11 GB)

build prompt 512 prompt 2048 generation, empty context generation, 3000 tokens deep
stock sm_75 144.4 +- 0.0 137.1 +- 0.2 55.2 +- 0.3 46.8 +- 0.4
sm_61 + FORCE_MMQ (upstream hint's path) 616.1 +- 0.6 552.2 +- 0.8 55.6 +- 0.5 49.2 +- 0.1
sm_72 + FORCE_MMQ 745.6 +- 18.4 708.5 +- 2.9 55.6 +- 0.3 52.0 +- 0.1
sm_72 without FORCE_MMQ (the trap) 43.9 +- 0.0 not run 56.1 +- 0.5 not run

Against the literal upstream hint. We then built the hint exactly as printed (-DCMAKE_CUDA_ARCHITECTURES="61-virtual;80-virtual" -DGGML_CUDA_FORCE_MMQ=ON, same commit) and measured it in a fresh session against sm_61 + MMQ and sm_72 + MMQ: builds interleaved, 3 rounds, a warm-up round first so the driver's one-off compile of the hint's PTX is cached, mean +- sd in tok/s.

model build prompt 512 prompt 2048 generation, empty generation, 3000 deep
Qwen3 8B Q4_K_M literal hint 439.5 +- 4.7 406.0 +- 0.4 44.7 +- 0.0 40.7 +- 0.1
Qwen3 8B Q4_K_M sm_61 + MMQ 445.0 +- 0.9 403.5 +- 0.5 45.2 +- 0.1 40.3 +- 0.0
Qwen3 8B Q4_K_M sm_72 + MMQ 449.1 +- 1.2 420.2 +- 0.7 47.3 +- 0.0 43.4 +- 0.0
Mistral 7B Q4_0 literal hint 602.7 +- 9.6 554.6 +- 0.4 55.3 +- 0.2 49.2 +- 0.0
Mistral 7B Q4_0 sm_61 + MMQ 612.7 +- 10.0 553.6 +- 1.4 55.1 +- 0.2 49.2 +- 0.0
Mistral 7B Q4_0 sm_72 + MMQ 736.8 +- 7.5 704.9 +- 1.7 55.3 +- 0.0 52.0 +- 0.0

Against the literal hint, sm_72 + MMQ is:

  • 8B prompts: +2 % at 512 tokens (close to the noise), +3.5 % at 2048;
  • 8B generation: +6 % at an empty context, +7 % at depth;
  • 7B prompts: +22 % at 512 tokens, +27 % at 2048;
  • 7B generation: equal at an empty context, +6 % at depth.

The same comparison against sm_61 + MMQ in the first session gave similar margins.

The best build was re-measured in a later, separate session: 443 to 447 tok/s prompt, 46.8 to 47.0 generation (8B).

Output check. Temperature-0 text from the rebuilt binary differs from stock at a near-tie on some prompts, because different kernels round differently. Two independent routes to the same kernels (sm_72 + MMQ, and a patched sm_75 build) gave byte-identical text to each other. We did not run perplexity.

  • The tensor-core switch. The kernel choice is made per build: the newest compiled architecture at or below 7.5 decides. The tensor-core path is on for anything compiled for 7.5 or newer, so any lower target turns it off. MMQ then uses its dp4a form, which this card runs at full speed and full power.
  • What sm_61 loses. An sm_61 build also switches off llama.cpp's fast-fp16 code, because real Pascal cards have weak fp16. This card does not, so an sm_61 build does flash attention and other half-precision math through fp32.
  • What sm_72 keeps. sm_72 keeps fast fp16 and gets the newer tuning tables.
  • No start-up compile. Code compiled for 7.2 runs on a 7.5 card directly. Code compiled for 6.x has to be compiled by the driver on first use, which took 28 s on our first sm_62 run.

Without GGML_CUDA_FORCE_MMQ=ON, a build for a lower architecture sends every batch of 64 or more tokens to cuBLAS in fp16. On this card that is the slow emulated path: 44 tok/s, three times slower than stock.

The same cliff has been reported for arch 61 (credit: the PR #15360 thread).

7B Q4_0, llama-batched-bench, total generated tokens per second across all streams, 3 runs each:

parallel streams 1 2 4 8 16 32
stock sm_75 55.1 91.3 121.2 146.7 120.2 130.8
sm_72 + MMQ 56.4 94.6 125.3 151.1 314.2 445.5

The stock build peaks at 8 streams and falls at 16. The reason is that batches of 8 or fewer use the fast vector kernels in every build, and larger ones hit the slow tensor-core path.

End to end, llama-server with 16 slots delivered 260 total tok/s rebuilt against 94 stock (2.78x).

git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
cmake -B build -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=72 -DGGML_CUDA_FORCE_MMQ=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build -j --target llama-server llama-bench
./build/bin/llama-server -m model.gguf -ngl 99 -fa on -c 4096 -np 4 --host 127.0.0.1 --port 8080

Checks after building:

  • The startup log must no longer print the "lack of tensor cores" line.
  • llama-bench -p 512 -n 128 should show roughly 440 tok/s prompt on an 8B Q4_K_M, or 750 on a 7B Q4_0.

Keep flash attention on (-fa on): with it off, the 8B ran out of memory at 3000 tokens of context.

Apps that ship their own prebuilt llama.cpp (Ollama, LM Studio and others) are not covered by this; we only tested llama.cpp built ourselves.

A CUDA 13 toolkit reportedly can no longer target architectures below 7.5. There, a 12-line source patch that switches off the tensor-core path in an sm_75 build performed the same as sm_72 + MMQ for us (byte-identical text, same speed). The same option was proposed upstream in PR #15468, and the maintainers answered that existing build options already do it. We did not test CUDA 13.

Published or not:

  • Already public: the rebuild for this card (credit above).
  • Not found published in our search (GitHub issue search and web search, 2026-11-30):
    • the value 72 on any GTX 16 or MX card;
    • generation-at-depth gains across builds;
    • batched-serving numbers for a GTX 16 card.

When generating, the card runs into its power limit: at 130 W the core sits at about 1815 of 2145 MHz. So memory overclocking barely helps generation: +1.6 % for the maximum memory offset we allowed. Core clock and power help a little.

Rebuilt binary (sm_72 + MMQ), llama-server, one slot, 3 generations of 256 tokens:

setting 8B generation tok/s 8B tok/W 7B generation tok/s 7B tok/W
fully stock (stock build, stock clocks, 130 W) 45.34 +- 0.18 0.352 54.59 +- 0.32 0.423
rebuilt, stock clocks, 130 W 46.16 +- 0.21 0.357 55.21 +- 0.18 0.427
rebuilt + memory +800 MHz + core +100 MHz + 140 W 49.31 +- 0.21 (+8.8 %) 0.353 58.70 +- 0.01 (+7.5 %) 0.420
rebuilt + same offsets + 85 W 37.31 +- 0.06 (-18 %) 0.445 (+26 %) 45.10 +- 0.14 (-17 %) 0.536 (+27 %)

The 8B gain of +8.8 % splits roughly into build +1.8 %, offsets at 130 W +5 %, and the 140 W limit +1.5 %.

At 85 W a 4-slot 7B server gives the same total speed as the fully stock card at 2/3 of the power (101 tok/s at 84 W against 127 W).

Power sweep on the stock build, stock clocks (Qwen3 8B, generation):

limit 140 W 130 W 115 W 100 W 85 W 70 W
tok/s 45.6 44.7 43.2 40.5 36.1 27.6
tok/W 0.327 0.346 0.378 0.408 0.431 0.400

Linux, NVML. The memory offset was +1600 NVML units, which moved the memory clock that nvidia-smi reports from 6801 to 7600 MHz. Windows tools may count memory offsets differently; we did not test Windows.

  • Steps: small steps (memory +200 units, then +100; core +25 MHz).
  • Check after every step: the 8B wrote 2 prompts x 220 tokens at temperature 0, and the text had to be byte-identical to the same build at stock clocks; and no new Xid error in the kernel log.
  • Temperature: at most 74 C.
  • Result: we stopped at our own caps (memory +1600 units, core +100 MHz) without seeing a peak. Your card may differ. Overclocking is at your own risk, and the gain here is small.

Published or not: power-limit and overclock tuning for LLMs is public for other cards. We did not find GTX 16 numbers.

Mostly single runs (the 30B rows: 2 to 3 runs), so treat these as a first look. CPU-only rows hide the card from llama.cpp (CUDA_VISIBLE_DEVICES=""), 6 threads. Settings:

  • Build: sm_72 + MMQ, stock clocks.
  • Run:llama-completion with-c 2048 -b 256 -ub 256 -t 6 -fa on , temperature 0, a prompt of a few hundred tokens, 96 generated tokens.
  • Memory figures: VRAM is the whole card, including about 170 MiB for the desktop. RAM is the process's peak resident memory.
  • Offload: layer offload was not read back from the logs, so the GPU share rests on the arguments and the VRAM figure.
model (GGUF, Q4_K_M) file how it ran generation tok/s prompt tok/s VRAM MiB RAM GB
Qwen3 8B (reference) 5.2 GB everything on the card 46.5 372 5368 5.1
Qwen3 8B 5.2 GB CPU only (card hidden), for comparison 5.9 45 - 8.4
Magnum v4 12B (dense) 7.5 GB 30 layers on the card, rest on the CPU ( -ngl 30 ) 11.7 171 5686 7.2
Magnum v4 12B (dense) 7.5 GB whole model "on the card" via CUDA unified memory 0.2 40 5730 7.2
Qwen3 30B-A3B (MoE) 18.6 GB expert weights of 36 layers in RAM, the rest on the card ( --n-cpu-moe 36 ), 3 runs 26.2 to 26.4 59 5726 17.7
Qwen3 30B-A3B (MoE) 18.6 GB CPU only (card hidden), 2 runs 13.7 to 13.9 83 - 30.8
Qwen3 30B-A3B (MoE) 18.6 GB all expert weights in RAM ( --cpu-moe ) 21.5 46 1444 17.7
Qwen3 30B-A3B (MoE) 18.6 GB --cpu-moe plus a 2500 MiB on-card cache of busy experts 7.4 (slower) 52 3942 17.7
Qwen3-Next 80B-A3B (MoE) 50.1 GB --cpu-moe , a 50 GB file on a 46 GB machine (memory-mapped), 96 tokens 13.7 13 2222 33.5
Qwen3-Next 80B-A3B (MoE) 50.1 GB CPU only (card hidden), 96 tokens 6.2 23 - 41.4

What the card adds: with the card, generation is 1.9x the CPU-only speed on the 30B and 2.2x on the 80B (7.9x on the 8B, which fits on the card). Prompt processing is slower with the card for the two MoE models (59 vs 83 and 13 vs 23 tok/s): with expert weights in RAM, llama.cpp copies them to the card for large batches, and this card sits in a PCIe Gen3 x4 slot. We did not test whether a smaller batch or a x16 slot changes that. An earlier 24-token run of the 80B gave 15.6 tok/s; the 96-token figure above is the one to quote.

Settings that failed:

  • Out of card memory at start: the 12B with 33 or more layers on the card, and the 30B with--n-cpu-moe 30 (the load tried to allocate 5.5 GB and 7.1 GB on a 6 GB card).
  • Not the card: Qwen3.6 35B-A3B and Devstral Small 2 24B did not load at all. Our copies were Ollama's own model files, which this llama.cpp commit cannot read (wrong array length /wrong number of tensors ). Not re-tested with standard GGUF files.
  • Unified memory "works" but is unusable: 0.2 tok/s.

The reference 8B gave 372 tok/s on prompts here against 441 in section 1, because of the smaller batch setting (-b 256 -ub 256) and the shorter prompt.

Reading: on a 6 GB card, mixture-of-experts models with their expert weights partly in system RAM are the way to go past 8B. A dense 12B split between card and CPU is 4x slower than the 8B.

With PyTorch 2.13 and cuDNN 9.10.2, fp16 convolutions on this card return NaN. A failing layer gives about 25 % NaN, and the rest is garbage too. The failure is deterministic: the same count in every process.

That is the familiar GTX 16 picture:

  • black Stable Diffusion / SDXL images;
  • openai-whisper transcripts made of !!!!! .

It is an old bug (PyTorch issue #58123, 2021, reported fixed in cuDNN 8.2.2) that is back on the current stack. With PyTorch 2.6 and cuDNN 9.1.0 the same card showed no NaN (measured once). Which of PyTorch or cuDNN brought it back was not separated.

The card reports compute capability 7.5, so cuDNN offers PyTorch its tensor-core convolution engines. PyTorch does not filter them out for half-precision data.

On this card those engines run, slowly (5 to 8x slower than fp32), and in cuDNN 9.10.2 one of them, engine 14, returns NaN:

  • Engine 14 is the culprit: blocking engine 14 alone removes every NaN on all 28 test entries (layer shapes from VAEs, UNets and Whisper).
  • The rest are slow: blocking all 18 tensor-core engines (10 forward, 8 backward-data) also makes fp16 convolutions about 4x faster than stock fp16 on average (5x on the failing VAE layer).

A JSON block list that cuDNN reads at start-up. PyTorch picks it up from an environment variable:

export CUDNN_ERRATA_JSON_FILE=/path/to/gtx16-fp16-fix/errata_gtx16xx_cudnn91002.json

set CUDNN_ERRATA_JSON_FILE=C:\path\to\gtx16-fp16-fix\errata_gtx16xx_cudnn91002.json

No code change and no rebuild. It applies to cuDNN 9.10.2 only; on other versions cuDNN ignores it.

Re-measured by the skeptic lane, with pre-registered rules:

stock fp16 fp16 + errata file fp32
conv 512->512 3x3, 128x128 2,097,540 of 8,388,608 NaN, 81.4 ms 0 NaN, 16.0 ms 10.5 to 10.9 ms
28 typical layer shapes (SD/SDXL/Flux VAE and UNet, 3D VAE, Whisper) NaN in 11 of 28 NaN in 0 of 28, 4.0x faster than stock
SDXL VAE decode 1024x1024 100 % NaN (black), 11.2 s 0 NaN, PSNR 70.5 dB against fp32, 2.92 s, 1459 MiB 1.83 s, 2916 MiB
control: same rules, impossible cuDNN version identical to stock
fp32 convolutions with the file 0.97 to 1.05x (no effect)

Measured by one lane only:

stock fp16 fp16 + errata file fp32 / default
SD 1.5 in ComfyUI ( --force-fp16 ), 20 steps black picture correct picture, 1.58 s/step ComfyUI default (fp32): 0.50 s/step
openai-whisper small, fp16=True , 84 s of speech !!!!! , 0 of 255 words all 255 words identical, 7.0 s fp16=False : 2.8 s
  • Slower than fp32 for most layers. Fixed fp16 convolutions are still about 1.5x slower than fp32 on 3x3 layers. ComfyUI already runs these cards in fp32, and that was faster for SD 1.5 than fp16 with the file alone.
  • Whisper:fp16=False stays the fastest.
  • When the file is worth it: - when you need fp16's memory saving (VAE decodes in half the memory; a 1536x1536 SDXL VAE decode fit only in fp16, measured once);
    • when a tool forces fp16.

Published or not: the errata file as the fix for this bug, and the engine-level cause, were not found published so far. Related work is credited in section 8.

Two separate searches on 2026-12-01 (code and issue trackers; community forums, including Chinese and Japanese sites) did not find this fix, or the engine-level cause, published anywhere. If you know of earlier work, open an issue and we will credit it.

Linear layers and attention in fp16 go through cuBLAS, which on these cards also lands on a slow tensor-core path.

Credit: PyTorch issues #203966 and #206832 (2026) found that a pedantic cuBLAS compute type avoids it. The gtx16-fp16 package ships its own fp16 kernels for the same problem.

Our own measurements agree. These are first lane only, measured once; 4096 x 4096 x 4096 matrix multiply:

GFLOPS
fp32 5129
fp16, default compute type 573 to 625
fp16, CUBLAS_COMPUTE_32F_PEDANTIC (fp32 sums) 4969
fp16, CUBLAS_COMPUTE_16F_PEDANTIC (fp16 sums) 9989

We used our own small ctypes call for this (shipped as extras/fp16fix.py in the package, experimental, Linux only), not the gtx16-fp16 package, which we did not test. Together with the errata file and cuDNN benchmark mode, through ComfyUI's own , sampler and VAE, the skeptic lane measured the following (2 processes per setting for SDXL, 1 for the others):

SDXL 1024x1024, 20 steps (2 processes per setting; pictures bit-identical between processes):

  • Speed: 61.9 s per warm picture against 87.9 s for ComfyUI's default on this card, which is1.42x faster (2.81 against 4.15 s/step). The per-step speed matched the first lane's earlier figure (2.80 s/step).
  • Cost 1, accuracy: the speed needs fp16 sums, which change the fine detail. The pictures measure PSNR 28.4 dB / SSIM 0.940 apart: the same fox, log and forest, but different fur and twigs. With fp32 sums the picture matches the default closely (42.5 dB) and the speed only ties it.
  • Cost 2, the cold picture: each process's first picture is slower (133 s against 96 s), because of the one-off benchmark search.

SD 1.5 512x512:

  • Speed: no gain (0.49 against 0.50 s/step).
  • Memory: UNet memory 2271 against 4000 MiB.

openai-whisper small with weights stored in fp16:

  • Correctness: identical transcript.

  • Memory: 641 against 1110 MiB allocated.

  • Speed: still slower than fp32 (3.8 against 2.8 s).

  • openai-whisper (PyTorch): usefp16=False on this card. That is 2.8 s for 84 s of speech with thesmall model, about 30x real time. With the errata file the fp16 default also works, but more slowly.

  • faster-whisper / CTranslate2: no NaN in any mode. Ask forcompute_type="int8_float32" by name. Measured once with distil-large-v3 on the same clip:

    • int8_float32 : 1.8 s (47x real time), 1136 MiB;
    • float32 : 3.2 s, 3792 MiB;
    • "int8" : 3.4 s, because CTranslate2 believes the card has fp16 tensor cores and resolves"int8" toint8_float16 ;
    • float16 : 14.5 s, 4.5x slower than float32. ItsCT2_CUDA_TRUE_FP16_GEMM switch changes nothing.
  • llama.cpp: - Small batches on a stock binary:-ub 8 is only +8 % on a Q4_0 7B and -5 % on Q4_K_M 8B. Batches of 9 to 32 are worse than the default.

    • Builds that lost: sm_62 + MMQ (generation -4 %, 7B prompts -18 % against sm_72 + MMQ); sm_72 without FORCE_MMQ (3x slower than stock).
    • More than 8 parallel streams on a stock binary: total throughput drops.
  • Memory overclock for generation: +1.6 % at the maximum offset we allowed.

  • Offsets at 70 W: they hurt (25.2 against 27.6 tok/s).

  • PyTorch fp16 settings that are not the errata file (first lane):

    • No change in which layers fail:channels_last ,deterministic ,TORCH_CUDNN_V8_API_DISABLED=1 ,TORCH_CUDNN_USE_HEURISTIC_MODE_B=1 .
    • cuDNN benchmark mode alone: fewer NaN, not zero.
    • bf16: no NaN, but convolutions about 2x slower than fp32, and the VAE ran out of memory.
    • Turning cuDNN off: 10x slower.
  • The errata file: - Not faster than fp32: fp16 convolutions with the file are 1.5x slower than fp32 on 3x3 layers. Two 32x32 UNet layers are 25 % slower than broken stock unless benchmark mode is on.

    • The SDXL VAE in fp16 with the file: 1.6x slower than fp32 at 1024x1024, where fp32 fits.
    • A trimmed 16-rule file: no better than the full 18-rule file.
    • No effect on llama.cpp: as expected, since llama.cpp does not use cuDNN.
  • Full-model speed: - SD 1.5: no speed gain over ComfyUI's fp32 default in any fp16 setting.

    • SDXL with fp32 sums: only ties the default.
    • openai-whisper: every fp16 setting is slower thanfp16=False .
  • Bigger models: - CUDA unified memory for a 12B: 0.2 tok/s.

    • An on-card expert cache for the 30B MoE: slower (7.4 against 21.5 tok/s).

llama.cpp:

  • the startup hint (PR #15563) and the earlier PRs #15360 and #15468, from the contributor who also reported the slow tensor-core path on a 1660 (issue #15233, discussion #15203);
  • issue #30524 (eleven GTX 1660 Supers, about 5x prompt speed with the hint's recipe);
  • the CUDA performance scoreboard (discussion #15013), which has GTX 1660 rows.

fp16 NaN:

  • PyTorch issues #58123 and #77955;
  • NVIDIA's cuDNN 8.2.1 / 8.2.2 release notes (GTX 16xx "invalid values in convolution output", then fixed);
  • cornball-ai/whisper PR #43 (localised the NaN to cuDNN fp16 convolution on TU116/TU117);
  • sam-dumont/ace-step-1.5 PR #3 (T1000);
  • cariboumnr-png/landcover-seg-unet issue #88 (T600 / GTX 1650, cuDNN 91002).

Tensor-op math on GTX 16:

  • Leela Chess Zero PR #849 (2019) switched off cuDNN tensor-op math on GTX 16 cards for speed;
  • AUTOMATIC1111 PR #4407 and ComfyUI issue #884 used cuDNN benchmark mode as a workaround.

The errata mechanism: NVIDIA's cuDNN frontend errata filter (recommended in NVIDIA's release notes for other wrong-result engines), TensorFlow/XLA's built-in errata rules, and PyTorch's documented CUDNN_ERRATA_JSON_FILE.

cuBLAS half: PyTorch issues #203966 and #206832, and the gtx16-fp16 package.

Status of our pieces:

  • Not found published so far: the errata file as the fix for the GTX 16 fp16 NaN, and the engine-level cause (two separate searches, 2026-12-01).

  • Not found published in our search: the llama.cpp value 72 on a GTX 16 card, the generation-at-depth gain, and the batched-serving numbers.

  • One card, one machine, Linux. The fp16 results depend on the exact cuDNN version (9.10.2). Other GTX 16 / MX cards were not tested.

  • Neighbours in the machine. Other GPUs in the machine were busy during the tests. The card was pinned, but the CPU, RAM and PCIe were shared.

  • llama.cpp quality. Output checks were temperature-0 text only, with no perplexity or other quality benchmark run.

  • One lane each. The llama.cpp build tables and the clock/power tables come from one lane each (3 repeats or rounds per cell). The 8B best-build row was re-measured later in a separate session, and the literal-hint comparison was a third session (3 rounds).

  • Image and speech quality: - Images: one prompt, one seed, PSNR/SSIM plus a visual check.

    • Whisper: one 84 s clip, no word-error-rate set.
  • Measured once. - Bigger models: every row of section 3.

    • First lane only: the cuBLAS GFLOPS figures, CTranslate2, the Flux / Qwen-Image VAEs and the 1536x1536 decode.
  • Untested: Windows, ComfyUI's server UI, AUTOMATIC1111, Forge and diffusers. The package README marks this everywhere.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @gtx 1660 super 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/don-t-e-waste-that-g…] indexed:0 read:27min 2026-12-01 · —