Skip to content
/ airelien.dev
Go back
Aurélien AMSELLEM

Strata on the Olares One — Episode 7: Basalt, the Blackwell fork that beats Strata

Basalt, a Strata fork built for Blackwell GPUs, runs Qwen3.8-Flash-Next at 153 t/s sampled and 172 t/s greedy in its app on the Olares One, against 143 and 155-157 for Strata, with no lossy setting. Two traps: 23 workers by default, and a tool grammar that rewrites tags inside arguments.

Hi there.

After the DeepSeek detour (episodes 5 and 6), I’m back to Qwen3.8-Flash-Next, the model from episode 1. This time with another engine, Basalt.

Quick recap for newcomers

Strata fits a ~180B MoE on a 24 GB GPU: the experts live in RAM, a cache of the most requested experts sits in VRAM, and the CPU computes the missing ones while the GPU does the rest (details in episode 1). On the Olares One, my best Strata result is 143.4 t/s sampled (with a bit of randomness, the everyday setting) and 155-157 t/s greedy (temperature 0, reproducible), on ISTA-DASLab’s IQ3_XXS pack, a quant of about 3 bits per weight (episode 3).

Basalt

Basalt is an MIT-licensed Strata fork, with about 1,000 stars on GitHub, that describes itself as “a local inference engine optimized for NVIDIA Blackwell”. That’s the architecture of the Olares One’s GPU (RTX 5090 Laptop, sm_120).

It has two practical differences from Strata. First, it ships prebuilt Linux archives: no compiling, you unpack, create a Python venv, and you’re done. Second, it has its own pack format, .basalt. The author publishes Qwen3.8-Flash-Next packs from 1-bit to Q8_0 on Hugging Face (jesdga/Qwen3.8-Flash-Next-Basalt), plus two NVFP4 variants (a 4-bit floating-point format that Blackwell accelerates in hardware).

I take Qwen3.8-FN-UD-IQ3_XXS.basalt, an 87.6 GB Unsloth Dynamic quant (Unsloth keeps the sensitive layers at higher precision). It’s the closest to my IQ3_XXS under Strata, but the weights aren’t exactly the same: episode 1’s comes from ISTA-DASLab and weighs 75.8 GB.

Setup

I reuse the non-root workbench from episode 6: nvidia/cuda:13.0.2-devel as uid 1000, the app’s hostPath, a uv venv. The launch:

bin/basalt serve Qwen3.8-FN-UD-IQ3_XXS.basalt --port 8080 \
  --max-context 65536 --resident-budget-gib 48 --ram-reserve-mib 12288

--resident-budget-gib caps the RAM used for experts, and --ram-reserve-mib keeps headroom for the host. After three evictions in episode 6, I no longer let an engine size itself from the pod’s limit.

The server starts in 5 seconds. First trap: it answers my requests with 404, because Basalt wants the exact model name ("Qwen3.8-Flash-Next UD-IQ3_XXS") and refuses "default", which Strata accepts. My bench scripts now read the name from /v1/models.

The 23-worker trap

Workers are the CPU threads that compute the experts missing from VRAM. By default, Basalt starts 23 of them, one per core minus one. On the Core Ultra 9 275HX, that’s too many. This is a hybrid CPU: 8 P-cores (performance, the fast ones) and 16 E-cores (efficiency, slower), with no SMT, so one thread per core. With 23 workers on 24 cores, almost nothing is left for the thread that drives the GPU and for the engine’s auxiliary threads. I saw the same thing with Strata in episode 3: 23 workers, −9%.

Same protocol as the whole saga: bench inside the pod, 3 prompts of 800 tokens, 2 rounds, greedy then sampled (temperature 0.6, top_p 0.95), and a 36K prompt read in a single process. In the tables, “36K read” is how fast that long prompt is read, and “decode at 36K” is the writing speed once it’s in the context.

SettingGreedy (t/s)Sampled (t/s)36K read (t/s)Decode at 36K (t/s)
23 workers (default)149.3136.02,517102.9
15 workers164.3167.82,690156.8

With 15 workers, Basalt decodes 17% faster than Strata (167.8 vs 143.4 t/s sampled), with no lossy setting. Long prompts, however, read 16% slower (2,690 vs about 3,200 t/s).

The other settings

Like Strata, Basalt does speculative decoding: a small drafter guesses several tokens ahead, and the big model checks them all in one pass. The speculation window is how many tokens are guessed per step.

Setting (with 15 workers)GreedySampled36K readDecode at 36K
base164.3167.82,690156.8
speculation window 6170.1156.82,450151.2
speculation window 10165.1147.92,412137.8
--route-tail-skip 7 (lossy)182.4166.92,426166.2
--no-grammar172.2164.12,550164.7

And the NVFP4-DQ6_K pack (131.7 GB)? It doesn’t fit in RAM: part of the experts is re-read from the SSD, and the engine crashes four times on “verify: timed out at layer N”. Between crashes, I saw 1.7 to 124 t/s. Unusable on this machine.

Tool calling

A coding agent relies on tool calls: the model writes a structured call (read a file, run a command) that the application executes. The basic tests pass: parallel calls, a single call, a round trip with the tool result, and the Anthropic API (Claude Code).

Then I run the “agentic” test from the ExTV Strata fork, already used in episode 1. Over two turns, the model must read two files in parallel, then edit a line that itself holds tool-call markup (in <parameter=limit>40</parameter>, replace 40 with 25) and run the tests. Strata scored 14/30. Basalt scores 0/30.

My first reflex is to blame the model. But --debug shows the raw text, and the problem is elsewhere:

<parameter=old_string>\n<parameter=limit>40</parameter=>\n</parameter>
<parameter=old_string>\n<parameter=limit>40</parameter?\n</parameter>
<parameter=old_string>\n<parameter name="limit">40</parameter*\n</parameter>

The model does start </parameter>, but something stops it from finishing: Basalt’s tool-call grammar, on by default. A grammar here means constrained decoding. At each token, the engine forbids anything that would break the expected format, so the output is always a well-formed tool call. The problem is in the rule for text values. In the code (add_free_text, src/program/grammar/schema.cpp), a text parameter’s value is defined as “text that never contains the closing tag”. A </parameter> in the middle of a value is therefore forbidden, and the model is forced to write an almost-</parameter>: </parameter=>, </parameter?, or an HTML-escaped version. The string to replace then matches nothing in the file.

With --no-grammar, the same test reaches 10/30. The remaining failures come from the model itself. Over 10 runs with --debug, it leaves out the outer closing tag 5 times, and stops after the first call 3 times.

The price of --no-grammar: Basalt then refuses response_format JSON-schema requests, the API option that forces the answer to follow a JSON schema. JSON asked for in the prompt still works.

This only happens when an agent edits tool markup: chat templates, parsers, docs. For a coding agent, it happens. I’ve drafted an issue for the author with the repro and the cause.

The app

basaltqwen38one 1.0.0 is available on my market. The image, aamsellem/basalt:0.3.3-cuda13, is built from the prebuilt archive. The app runs with --no-grammar, 15 workers, 48 GiB of RAM for experts, 12 GiB of headroom and 128K of context. In Basalt, the KV cache (the memory of what the model has already read in the conversation) is elastic: it only takes from the expert cache what the conversation actually uses, and can grow to 3.6 GiB.

I installed it from a local upload on the Olares One. It’s ready about a minute after install, because the 88 GB pack was already on disk and got reused, with no re-download. Its log confirms the settings: 128K context, 15 workers, grammar off, API key on.

Same bench, this time inside the app:

MeasureResult
Greedy decode172.2 t/s (161-196)
Sampled decode152.8 t/s (141-163)
36K prompt read2,473 t/s
Decode at 36K of context132.3 t/s

Compared with the workbench, it’s faster greedy (172.2 vs 164.3) and slower sampled (152.8 vs 167.8) and at 36K (132.3 vs 156.8). The basic tool tests pass (parallel calls, single call, round trip, Anthropic API). The agentic test gives 15/30, against 10/30 in the workbench run; the test’s author warns that it varies by 5 to 15 points from run to run, so that gap doesn’t mean much.

The tally

This table uses the workbench numbers for Basalt. Bold marks the better of the two engines on each row.

Measure (Olares One, same protocol)Strata 0.2.13, IQ3_XXS ISTABasalt 0.3.3, UD-IQ3_XXS
Decode, sampled143.4167.8
Decode, greedy155-157164.3
36K prompt read~3,2002,690
Decode at 36K of context—156.8
Pack75.8 GB87.6 GB
Agentic tool test14/300/30 by default, 10/30 with --no-grammar

The lesson of this episode


Disclosure — All the benchmarks in this post run on my own Olares One. If the content was useful and you’re considering one, ordering through this referral link gets you $300 off ($4,699 instead of $4,999), stackable with the $300 Black Friday discount starting November 17: $600 off in total ($4,399). I’m mentioning this out of transparency — and yes, incidentally, it helps keep the blog alive (hosting, domain, and the time I spend writing here).

Share this post on:

Comments