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

Strata on the Olares One — Episode 8: anaelith, my Basalt fork, and an app that works with Olares Router

anaelith, my Basalt fork measured only on the Olares One: tool calls right twice as often, 10 W less on the CPU, and an app that works with Olares Router at 177 t/s and also reads images. Plus everything that gained nothing, including six rewrites of the GPU kernel.

Hi there.

At the end of episode 7, Basalt beat Strata on the Olares One, with two flaws: a tool grammar that damaged some arguments, and a parser that cut others short. Rather than wait, I forked the project. It’s called anaelith (anae + lith, stone, a nod to basalt) and it’s on GitHub: aamsellem/anaelith.

The fork’s rule: a change only goes in if it gains something measurable on the Olares One. Spoiler: most of my ideas gained nothing, and I show you those too.

Quick recap for newcomers

Qwen3.8-Flash-Next is a MoE of about 180 billion parameters: for each token, only 10 “experts” out of 512 per layer do the work. Strata, then Basalt, fit it on a 24 GB GPU: every expert lives in RAM, the most requested ones are copied into VRAM, and the CPU computes the missing ones while the GPU does the rest (episode 1).

Tool calls, right twice as often

The test that hurts: an agent must edit a file that itself contains tool-call markup, for example replace <parameter=limit>40</parameter> with 25. That’s everyday work for a coding agent that touches templates or parsers.

Two problems in Basalt:

anaelith’s fix follows the parameters a value quotes: the tag that closes a quoted parameter belongs to the value, and the call’s structure decides where the value ends. Nothing is added to the model’s text or changed in it: the rule only decides which closing tag ends the value.

To compare without the noise of a model that never answers the same way twice, I recorded 40 sequences (read two files, then edit the line and run the tests) and replayed them through each parser:

sequences right, of 40
Basalt’s parser, no grammar15
anaelith’s parser, no grammar27
anaelith’s parser and grammar30

What’s left comes from the model itself: it makes only one of the two calls asked for. In the app, on 40 new live sequences, 31 are right; 8 of the 9 failures are that case. A bonus of the repaired grammar: response_format requests with a JSON schema work again.

10 W less on the CPU

While generating, Basalt’s CPU threads wait for the GPU about two thirds of the time, spinning at full speed. The Core Ultra 9 275HX has instructions made for waiting in a light sleep (UMWAIT, TPAUSE). With --exp umwait=2, a waiting thread watches the word where the GPU publishes the next job and sleeps until it changes:

CPUGPUGPU clocktok/s
busy wait (Basalt)61.6 W137.3 W1,930 MHz285.5
threads in light sleep52.3 W142.4 W1,981 MHz289.0

The processor and the GPU share the same cooler: the GPU takes back about half the saved watts and clocks a bit higher. The speed gain is small (2 to 2.7% after the first repetition), but the machine runs cooler.

What gained nothing

This is the longest part, and the most instructive.

The conclusion of this series: the CPU is not what limits speed.

The real ceiling: the GPU’s clock

The stage profile (--profile) shows that the heaviest stage is computing the experts the GPU keeps in VRAM: 5.5 ms of 16.8 ms per decode window in conversation. So I set out to rewrite that kernel, and measured first.

Locking the clock at different values, the time of the compute chain (36 experts, 71 MB of weights) follows the clock exactly: 157 µs at 1.48 GHz, 121 at 1.96, 100 at 2.29, 97 at 2.56. And a kernel that only reads the same 71 MB reaches 840 GB/s at 2.0 GHz, where the chain reads 586. So memory is not the limit. Compute is, at the clock the heat allows: the Olares One’s GPU averages 2.0 GHz out of 3.09 under sustained generation, at 86 °C.

I still tried six variants of the kernel, all checked bit-identical: more blocks per core, the decode table in global memory, activations in shared memory, prefetching the next rows, loops not unrolled… Result: from 3% faster to 20% slower depending on the format. None is kept; everything is documented in the gu-kernel-builds branch.

An app that works with Olares Router

Olares 1.12.7 introduces Router, the OS’s AI gateway: Lares and the other apps go through it to call a model. Router doesn’t see just any app: it needs a shared app with Olares’s Model Console in front of the engine. The console downloads the model, publishes its card (context, capabilities, reasoning levels) and relays the API.

I rebuilt the app on the pattern of the official Strata apps. It is now called Anaelith Qwen38 Flash Next One (version 1.2.2 on my market). Router lists it, it becomes its default-chat model, and other apps call it without a key. You can even change the engine’s arguments from Router: the engine restarts with the new settings in about thirty seconds.

Measured in the app, on the same bench as episode 7:

Measure1.0.0 (Basalt 0.3.3)1.2.1 (anaelith)
Decode, sampled152.8 t/s177.1 t/s (166-187)
Decode, greedy172.2 t/s180.0 t/s (169-199)
36K prompt read2,473 t/s~3,950 t/s
Decode at 36K of context132.3 t/s185-231 t/s
Through Router—171.9 t/s

To be honest: most of this gain comes from Basalt 0.4.0 and the int8 KV cache. anaelith mainly brings the tool calls, constrained JSON, the saved watts and the Router integration.

Bonus: vision

Qwen3.8-Flash-Next also reads images, and Basalt has a --vision dynamic mode: the image encoder waits in RAM and only borrows room in the GPU’s expert cache while it reads an image. Tested in the app, through Router: I give it the app’s own card image and ask what it shows. Answer in 1.1 s, no mistakes: “177 t/s”, “Anaelith Qwen38 Flash Next One”, “128K”.

And on text, vision costs almost nothing: 230.7 t/s with it, 233.6 without, over 8 runs each in a balanced order (on, off, off, on), a gap within measurement noise.

So it’s on by default since version 1.2.2 of the app, and Router lists the model with vision. If you upgrade from 1.2.1, the saved model card keeps the old settings: add --vision dynamic to the engine arguments, in Router (the model card’s Edit button) or in Model Console.

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