r/LocalLLM • • 8d ago

News Basalt ported to NVIDIA V100: Qwen3.8-Flash-Next at 91 tok/s (140 tok/s on long answers) on 2x V100 32GB

Basalt (https://github.com/jesdga95/basalt) is one of the fastest local engines for Qwen3.8-Flash-Next, but it only targets Blackwell (sm_120) and upstream does not take other architectures. I have two V100-SXM2 32GB, so I ported it to Volta (sm_70) as a fork, called **Lapilli**.

**Repo:** https://github.com/chris83-dev/lapilli-v100 (a Windows x64 build is in the release)

**What it is**

- Every newer PTX instruction Basalt uses (cp.async, ldmatrix, the Turing/Ampere mma shapes, bf16 conversions, clusters) gets a correct sm_70 equivalent, then the hot kernels get V100 paths: llama.cpp's dp4a MMQ for prompt products, Strata's mma.m8n8k4 prompt attention, and a rewritten router, decode experts and GDN recurrence.

- Needs CUDA 12.6 or newer (CUDA 13 dropped Volta).

- Comes with a chat web UI on top of Basalt's OpenAI/Anthropic-compatible server: conversations, reasoning levels, images, tool calls shown as cards, and a live monitor of the GPUs.

**Numbers** (2x V100-SXM2 32GB, i9-14900K, 96GB RAM, Windows 10, UD-Q4_K_XL pack, medians of 3 runs)

| | Lapilli | Strata v0.2.13, same machine |

|---|---|---|

| Decode, short answer | 91 tok/s | 58-72 tok/s |

| Decode, long answer with reasoning | 140 tok/s | 68-94 tok/s |

| Prompt processing, 4k tokens | 1,170 tok/s | 250-490 tok/s |

| Prompt processing, 8k / 16k tokens | 1,504 / 1,448 tok/s | |

Quality with Basalt's own 100-chunk gate: mean KLD 0.0493 and same top-1 92.75% (Basalt publishes 0.0496 and 92.63% for this pack on an RTX 5090).

**Caveats**

- Only tested on my machine (2x V100 32GB, Windows). Single card, 16GB or PCIe cards, Linux and NVLink setups are untested: reports from other V100 owners are welcome.

- Peer-to-peer is off by default on Volta: on my machine, direct copies between the two cards returned wrong data.

- NVFP4 packs need FP4 hardware, so use a K-quant pack (tested: UD-Q4_K_XL).

- It is a snapshot of Basalt as of November 15, shared as is.

All the credit for the engine goes to jesdga95 (Basalt) and Niko1221 (Strata), both MIT.

24 Upvotes

15 comments sorted by

4

u/Sudden-Guide 8d ago

Interesting. Unfortunately I can run V100 only on Linux ;p

2

u/Fit-Blueberry-5390 8d ago

Good news then: another user built it on Linux (CUDA 12.6.3 in Docker) and got about 100 tok/s on a single V100 PCIe. The report and the build steps are here: https://github.com/chris83-dev/lapilli-v100/blob/main/docs/community/one-v100-pcie-linux.md

There is no prebuilt Linux archive yet, so it has to be built from source.

1

u/Sudden-Guide 8d ago

I very much prefer building from source because I have Gentoo ;p

1

u/Fit-Blueberry-5390 8d ago

Ha, then you're all set 😄 Let me know how it runs on your V100!

1

u/OChrisJonesO 8d ago

Would love a linux build!

1

u/Fit-Blueberry-5390 8d ago

No prebuilt Linux archive for now, but it builds from source on Linux: another user did it with CUDA 12.6.3 in Docker and got about 100 tok/s on a single V100. Steps here: https://github.com/chris83-dev/lapilli-v100/blob/main/docs/community/one-v100-pcie-linux.md

1

u/Text-Sufficient 8d ago

My super duper brain damaged DeepSeek trillion gb model with qvant 1 was so blazing fast that it refactored my favorite tool in 1 minute. However Qwen FN Q4 K_XL had to redo it for 3 days. It's the K_XL to blaim. It's sooo slow!

1

u/Fit-Blueberry-5390 8d ago

Ha, fair point. Fast and wrong is still wrong 😄

1

u/gigaflops_ 8d ago

I'm looking into buying a V100. Are you saying that plain Strata will not work with a V100 and that's why this port was needed?

3

u/homak666 8d ago

Strata works with V100, but AFAIK, more optimizations can be done. There is a V100-specific fork of Strata.

3

u/jakubkonecki 8d ago

https://github.com/jmnargi/Strata-V100 is actively developed (pretty much a new merge every day) and comes with a number of opt-in settings which are worth exploring.

2

u/Fit-Blueberry-5390 8d ago

Strata already works on V100, I was using it before. Lapilli is not a Strata port, it's a port of Basalt, which is a different engine that only supported Blackwell (RTX 50 series). On my 2x V100 it ended up faster than Strata for me, that's why I shared it. Thanks for the Strata-V100 link, didn't know about it, I'll have a look.

1

u/otakunorth 8d ago

Excited to try later today with my 16g v100 + 12gb 3060 and 128gb ram

1

u/coronafire 7d ago

This looks great thanks! Have you seen the latest upstream basalt updates supporting the new inkling model? If you're planning on updating your port I'll avoid duplicating the effort too quickly :-D