2026-11-26 15:49 UTC

Custom sFNX engine reports up to 382 tokens/s on three used V100s

state: significantheat: lowuncertainty: mediumrelevance: mediumlocal-inference inference-engine legacy-gpusJohn Fink

What is this?

sFNX is John Fink’s CUDA inference engine, documented in a public GitHub repository, for serving Qwen3.8-Flash-Next across three PCIe-connected 32-GB Tesla V100 GPUs. The project reports up to 382 tokens per second on a greedy code-edit workload using a quantized model; this is the top of three runs, not a general speed guarantee or independent benchmark. Its approach splits each layer across all three cards and implements GPU-to-GPU transfers itself, targeting Volta hardware without NVLink. The repository also reports different speeds across workloads and documents substantial setup requirements and limits, including support for one model on one three-V100 system.

Why it matters

The additional V100 report broadens the practical evidence for repurposing older GPUs, but remains an individual demonstration rather than independent validation or evidence of broad accessibility.

Current assessment

John Fink’s sFNX repository reports serving Qwen3.8-Flash-Next across three 32-GB Tesla V100 GPUs over PCIe Gen3 without NVLink, reaching up to 382 tokens/s on a greedy code-edit workload; these are developer-reported results, not independently verified benchmarks. Fink separately reports Qwen 27B performance of 114–300 tokens/s depending on prompt, with 224 combined tokens/s across six parallel requests in Q8, subject to suitable hardware and P2P support. A different user reports running DeepSeek-V4.1-Flash on four 32-GB V100s at about 32–38 tokens/s across reported context lengths; another commenter reports results on R9700 hardware at two quantizations. These are individual demonstrations, not validations of sFNX or its reported figures. Together they suggest technically capable users can repurpose older GPUs for newer local MoE inference, but results depend on model, workload, hardware configuration and software; setup requirements and limited hardware compatibility constrain access. There is no independent validation or evidence of broad adoption, and current engagement has cooled.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p0momentum: steady2 platformsage 738h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

10-26 21:28 (minted)⭐ origin echo-reconstructedThe sFNX repository describes a CUDA engine that splits each model layer across three V100 GPUs and reports up to 382 tokens per second on a
John Fink on github (echo) · attributed from reddit.post.1xg9cr1 · published time unknown
—
10-26 21:11first on r/LocalLLaMA · published · lag ?I built an engine that runs Qwen-Flash-Next at nearly 400t/s on cheap(ish) hardware. 3x V100 32GB in an old R740. Originally forked from strata but the engine guts all built for the old Volta generation.
jfinkpottery
—
10-26 21:11amplified on r/LocalLLaMA 👑reddit.post.1xg9cr1
jfinkpottery
peak 76 · 95 comments · 80% of case engagement
10-30 19:33amplified on r/LocalLLaMAreddit.post.1xjp0mi
jfinkpottery
peak 10 · 9 comments · 9% of case engagement
11-02 23:05amplified on r/LocalLLaMAreddit.post.1xmcibh
TumbleweedNew6515
peak 14 · 10 comments · 11% of case engagement
10-26 21:25our radar first saw it · lag ?discovery anchor: reddit.post.1xg9cr1—
pace: p79 vs 879 stories at the 720h mark (now 738h old) — ahead of perplexity-pplx-decider-open-decision-models (1.0x), behind altman-ai-cybersecurity-patching-limits (1.0x)

Evidence (4) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditI built an engine that runs Qwen-Flash-Next at nearly 400t/s on cheap(ish) hardware. 3x V100 32GB in an old R740. Originally forked from strata but the engine guts all built for the old Volta generation.
LocalLLaMA
Retrieved article excerpt

Open article · Retrieved 2026-10-26T21:27:33.029018+00:00

# sFNX

[sFNX](https://github.com/johnfink8/sfnx/blob/main/front/web/sphynx.svg)

**Qwen3.8-Flash-Next at 382 tokens a second on a code edit, for $1,800 of used GPUs.**

Three Tesla V100-32GB cards at ~$600 each, on PCIe Gen3 with no NVLink. Six conversations at once, each holding the
full 262,144-token context, served by sFNX's own OpenAI chat and responses, Anthropic messages, tools and picture
front end (`front/`). Unsloth's UD-Q4\_K\_XL in prod; Q8\_0 runs too with part of its experts in RAM.

**Every layer is split across all three cards**, so one request reads weights from all three cards' memory at the same
time. Splitting by layers — llama.cpp's default — passes one small activation per card boundary and works over any
link, but for one request the cards take turns: two of three idle. Splitting every layer buys all three cards'
bandwidth and costs a sum across them twice per layer, which NCCL cannot pay for over PCIe. So sFNX does the sums
itself: GPU threads storing into the next card's memory inside the window's CUDA graph, around a ring. Engines that
split tensors assume NVLink, and split attention by heads, which needs 2, 4 or 8 cards — not 3.

| What it splits | How |
| --- | --- |
| Experts (512 a layer) | a third of each expert's FF width per card |
| Recurrent (Gated DeltaNet) layers | 16 value heads per card |
| Attention K/V | by position: blocks of 4 dealt round-robin, partial results merged |
| Output head | a third of the vocabulary per card |
| Copied on every card | hyper-connection mixes, router, embeddings |

## Speed

UD-Q4\_K\_XL at prod's config (`serve/sfnx.json`), one request through `front/` unless the row says otherwise. Every run
behind these numbers, with its method: [docs/benchmarks.md](https://github.com/johnfink8/sfnx/blob/main/docs/benchmarks.md).

| Workload |  |
| --- | --- |
| Code edit, greedy | 367–382 tok/s |
| New code, greedy | 200–229 tok/s |
| Prose sampled at temperature 1.0 | 139 tok/s |
| Six conversations decoding at once (1k-word prompts) | 280–291 tok/s combined, ~47 each |
| The same six with ~160k tokens of context each | 237.6 tok/s combined, ~40 each |
| 114k-token prompt, cold read | 3,373 tok/s |
| Warm turn (+2k on a 30k conversation), first token | 0.95 s median |

A range is the spread across runs, not a confidence interval; the 382 in the headline is the top of three greedy
code-edit runs. The gap between the first row and the third is the drafts: one verify window costs about the same
whether it accepts one token or sixteen, and code drafts where prose does not.

## Running it

Needs CUDA 12.9, g++-14, llama.cpp at a37cc46 checked out (or linked) as `llama.cpp/` (`make LLAMA=path` for
elsewhere), the front end's venv (`.venv`, from `pyproject.toml`; see [front/README.md](https://github.com/johnfink8/sfnx/blob/main/front/README.md)), the draft
layer's files in `data/mtp-rt/`, and a `models` link to the folder holding the GGUFs — `UD-Q4_K_XL/`, `Q8_0/` and
`mmproj-F16.gguf`.
Every path in the configs and scripts is relative to the checkout. The cards' IOMMU groups must be identity domains:
the ring writes between cards, and the engine refuses to start otherwise.

```
ln -s /path/to/Qwen3.8-Flash-Next models
python3.14 -m venv .venv && .venv/bin/pip install .   # the front end's packages (pyproject.toml)
make -j32                    # bin/sfnx and the picture encoder; ~2 min from scratch on this box
make install                 # the systemd unit for this checkout and user: port 8080, enabled at boot
sudo systemctl start sfnx    # ~80 s to load; the API is on port 8080
```

`serve/run.sh` runs the same config as a transient unit on port 8095; `serve/run.sh serve/sfnx-q8.json` the Q8\_0
build. Engine settings, and the files they read: [docs/config.md](https://github.com/johnfink8/sfnx/blob/main/docs/config.md).

## Layout

|  |  |
| --- | --- |
| `src/` | the engine: kernels (`.cuh`), `engine.cu`, `prefill.cu`, `model.cpp`, `session.cpp`, `batch.cpp` |
| `tools/` | the engine process, the lab harness, the checks, probes and benchmarks |
| `front/` | the Python serving layer and web UI (from Strata's `serve/`, MIT) |
| `serve/` | configs, the systemd unit's template, run scripts, served tests |
| `vision/` | the picture encoder, on llama.cpp's mtmd |
| `ref/`, `data/` | reference prompts and llama.cpp's tools; tokenizer, draft vocabulary, routing profile |

## Limits

- One model, one box: three `sm_70` cards, no FP8 and no CUDA 13 — the kernels are written for this generation.
- Not tied to one quantization, but a GGUF has to keep its embeddings, shared expert and draft-layer projections at
  Q8\_0, and its routed experts in a type the kernels have ([docs/design.md](https://github.com/johnfink8/sfnx/blob/main/docs/design.md)); anything else throws at
  load. Both quants above are held to the same exactness bar ([docs/verification.md](https://github.com/johnfink8/sfnx/blob/main/docs/verification.md)).
- VRAM is essentially full at idle: 284 MiB free on cards 0 and 1, 2,540 MiB on card 2 beside the picture encoder.
- Prompts are read one at a time; the other lanes keep decoding between a read's chunks.
- Six lanes of temperature-1.0 prose decode ~5% under one-row-a-lane batching (`FNX_BATCH_DRAFTS=0`).
- A prompt re-read on a lane that held another conversation can differ in its last bits (~1e-4 first-token KL), and
  greedy text can part at a near-tie. Not traced; two fresh engines agree exactly.

## Docs

|  |  |
| --- | --- |
| [docs/design.md](https://github.com/johnfink8/sfnx/blob/main/docs/design.md) | the split, the ring, decode, the prompt path, the conversation cache, pictures |
| [docs/memory.md](https://github.com/johnfink8/sfnx/blob/main/docs/memory.md) | the K/V arena and experts in RAM, and what Q8\_0 costs |
| [docs/benchmarks.md](https://github.com/johnfink8/sfnx/blob/main/docs/benchmarks.md) | every speed measurement, with its method |
| [docs/verification.md](https://github.com/johnfink8/sfnx/blob/main/docs/verification.md) | exactness against llama.cpp, the test inventory, the lab |
| [docs/config.md](https://github.com/johnfink8/sfnx/blob/main/docs/config.md) | engine settings, config files, where this API differs from Strata's |
jfinkpottery7694
🟧 echo.github ⭐The sFNX repository describes a CUDA engine that splits each model layer across three V100 GPUs and reports up to 382 tokens per second on aJohn Fink——
🟠 redditsFNX can run qwen 27B now, if you have the right hardware with P2P support. I get 114-300 tok/s depending on prompt, or 224 combined for 6 requests in parallel on my 3xV100 system running Q8.
LocalLLaMA
jfinkpottery109
🟠 reddit[GPU Lawyer] Deepseek 4.1 Flash 1018 on 4 32GB V100s -- pushing 40 tok/s decode, and will test across 8 v100s next.
LocalLLaMA
TumbleweedNew65151410

Interpretation history

Decision trace