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

Strata on Olares One — Episode 1: a ~180B model on a 24 GB laptop GPU, 141 t/s

Strata runs Qwen3.8-Flash-Next, a ~180B model, on a single consumer GPU: experts in RAM, a cache of hot experts in VRAM, the CPU computing the misses. On my Olares One (RTX 5090 Laptop 24 GB, 96 GB of RAM): 141 t/s decode and a 32,659-token Space Invaders game. Episode 1.

Hi there.

Someone on the Olares team suggested I look at Strata. The pitch fits in one sentence: run Qwen3.8-Flash-Next, a MoE model of roughly 180 billion parameters, on a single consumer graphics card.

On paper, my Olares One has no business doing that: 24 GB of VRAM on a laptop GPU, for a 75.8 GB model pack. Yet I get 141 t/s decode, and a complete Space Invaders game, 32,659 tokens, generated at 140.5 t/s. A token is a piece of a word (about three quarters of an English word on average), and t/s means tokens per second. This first episode of a new saga covers how we get there and what still doesn’t work. Later episodes will point back here for the basics.

What is Strata?

Strata is an MIT-licensed C++/CUDA engine built on ggml (the compute library behind llama.cpp), with a Python server in front (OpenAI and Anthropic APIs, web UI, MCP). I tested v0.2.13, engine 0.1.59.

You need two ideas to see what it does.

The first is the difference between VRAM and RAM. The graphics card has its own memory, the VRAM: 24 GB on the Olares One, small but very fast (~896 GB/s). The machine’s RAM is much larger (96 GB here), but the GPU can only reach it over the PCIe bus, which is much slower. A model that fits entirely in VRAM runs fast. A 75.8 GB pack doesn’t fit.

The second is MoE (mixture of experts). In a MoE model, part of the network is split into many small blocks, the experts, and a router picks only a few of them for each token. Qwen3.8-Flash-Next has 48 layers of 512 experts, 24,576 experts in total, and activates only 10 per layer per token. For each token, only a small fraction of the weights does any work. A dense model, by contrast, uses every parameter for every token.

Strata builds on that with four parts:

The model, Qwen3.8-Flash-Next, is under the Qwen Community license. The pack I use is ISTA-DASLab’s IQ3_XXS, which weighs 75.8 GB. IQ3_XXS is a quantization at roughly 3 bits per weight: each weight is stored in fewer bits, the model loses a little quality and gets much smaller. That’s how ~180B parameters fit in 75.8 GB.

Why it suits the Olares One: 96 GB of DDR5-5600, an RTX 5090 Laptop GPU with 24 GB (consumer Blackwell, sm_120, 175 W Dynamic Boost) on PCIe 5.0 x16 (51.5 GB/s measured), and a 24-core Core Ultra 9 275HX (8 performance cores + 16 efficiency cores, no SMT, AVX2 + AVX-VNNI, no AVX-512). The model doesn’t fit in VRAM but does fit in RAM, which is exactly the case Strata was designed for.

Three worries before starting

  1. HAMi and pinned memory. On Olares, each app runs in a Kubernetes pod, and HAMi is the layer that shares the GPU between pods and limits what each one can take. Pinned memory is RAM the OS promises never to move or swap out, so the GPU can copy from it directly. HAMi had already crashed ComfyUI on my box with pinned host memory, and Strata pins tens of GB.
  2. Memlock, the amount of memory a process is allowed to lock in RAM. Here: a ghcr image, no root, with the pods’ default limit. (That’s all of episode 2.)
  3. Disk. It was at 84% (1.5 TB of 1.8), and Olares blocks app starts above 90%. A 75.8 GB pack fits, but not much more.

Packaging for Olares v3

An Olares app is a Helm chart (the Kubernetes recipe describing which containers to run) plus an OlaresManifest file. Since Olares 1.12.6, only apiVersion: v3 apps install, and v3 is strict: an image that doesn’t come from beclab/ (here ghcr.io/niko1221/strata:0.2.13-cuda13) may not run as root.

So the stratanextone chart does this:

The IQ3_XXS pack downloaded in under 10 minutes.

First start

Good news: HAMi doesn’t flinch. Strata pins 1.55 GiB of KV cache in host memory, no crash. The KV cache is the model’s memory of what it has already read in the conversation; it grows with the length of the context.

Here’s what Strata picks by itself at startup. The line to look at is expert_cache_vram: 17.2 GB of VRAM go to the hot-expert cache, leaving only 940 MiB free.

engine: 0.1.59, AVX2 CPU kernels
drafter: DFlash2 (picked by Strata)
expert_cache_vram: 10,600 slots = 17.2 GB
vram_free: 940 MiB
context: 128K

The context is how many tokens the model keeps in view: 128K is about a 300-page book. The model thinks by default: the answer comes with a reasoning_content field, its reasoning, before the text.

First bench

My usual protocol, run from inside the pod (episode 2 shows why that matters). The prompts run sampled (temperature 0.6, top_p 0.95): the model picks its tokens with a bit of randomness, as in normal use. The other mode, greedy (temperature 0), always takes the most likely token, which makes runs reproducible. It comes up in episode 3, and its numbers don’t compare with sampled ones.

hardware: Olares One — RTX 5090 Laptop 24 GB (sm_120, 175 W Dynamic Boost, PCIe 5.0 x16), Core Ultra 9 275HX, 96 GB DDR5-5600
system: Olares 1.12.7, driver 595 (CUDA 13.2)
engine: Strata 0.2.13 (engine 0.1.59), ghcr.io/niko1221/strata:0.2.13-cuda13, non-root
model: Qwen3.8-Flash-Next, ISTA-DASLab IQ3_XXS pack (75.8 GB)
settings: Strata defaults, DFlash2 drafter, 128K context
bench: in-pod against 127.0.0.1:8080, warm-up, then 3 prompts (Space Invaders HTML, Go REST API with tests, B-tree explanation) × 800 tokens × 2 rounds, sampled (temperature 0.6 / top_p 0.95)
long_context: a ~36K then ~112K-token Python module + a question

Two speeds matter. Decode is how fast the answer gets written. Prompt reading, also called prefill, is how fast the model takes in what you send it; it sets the TTFT (time to first token), the wait before the first token of the answer. In the table, the first row is the decode number; the next two give the read speed for a large file and the matching TTFT.

MetricResult
Decode, short prompts137.50 t/s average (min 120.99, max 148.11)
36K prompt read2,710 t/s (TTFT 13.3 s)
112K prompt read3,064 t/s (TTFT 36.7 s)
Expert cache hit rate during decode~95-96%

A ~95-96% hit rate means nearly every expert the model asks for is already in VRAM, and the CPU only computes a few percent of them.

At long context, decode shows 183 t/s at 36K and 177 t/s at 112K. I’m keeping that out of the table because it was measured on a reasoning answer, text the drafter guesses very well. It isn’t comparable to the 137.5.

I also noted a detail without paying attention to it: a prompt repeated verbatim is read at ~29,000 t/s, because Strata keeps the prefix cached. That will trick me in episode 3.

A bit of tuning

The ExTV fork of Strata (more on it in episode 2) offers a few options I borrowed: fused prefill kernels (STRATA_PF_FUSED; a kernel is a function that runs on the GPU) and auxiliary-thread placement suited to hybrid CPUs like the 275HX. I add two variables for malloc, the memory allocator:

STRATA_SET="STRATA_PF_FUSED=1 aux-cpus=auto host-core=sibling"
MALLOC_MMAP_THRESHOLD_=1048576
MALLOC_ARENA_MAX=4

Same stack, same protocol. The columns give average decode (min and max in parentheses), then the read speed for the 36K and 112K prompts, in t/s:

ConfigAverage decode (min-max)36K read112K read
Defaults137.50 (120.99-148.11)2,7103,064
Tuned141.07 (132-150)3,033 (+12%)2,944

+2.6% on decode is borderline noise. The +12% on the 36K read is clear. At 112K, nothing, if anything slightly less. Strata then uses ~76 GB of RAM (RSS, the memory the process actually occupies) against an 84 Gi limit, which is tight.

The demo: Space Invaders

I ask for a full Space Invaders game in a single HTML file. With the default reasoning effort, thinking eats the whole token budget, at 16K and then at 48K, before writing a single line of code. With reasoning_effort: "medium", it goes through:

stack: as above, tuned config (STRATA_PF_FUSED, aux-cpus=auto, malloc)
request: reasoning_effort medium
output: 32,659 tokens at 140.5 t/s
result: 26 KB of HTML, a single file

One bug: a frame variable declared twice. After a rename the game runs, and you can play it here: Space Invaders Neon.

Tool calling: the weak spot

Tool calling is the model’s ability to ask the application to run a function (read a file, run a command) by writing a structured call. Coding agents rely on it.

Simple tool calls work, parallel calls included (the classic get_weather). For a harder test, I use tools/tool_probe.py from the ExTV fork: 30 two-turn agentic attempts with the edit_file and bash tools.

stack: Strata 0.2.13 (engine 0.1.59), Qwen3.8-Flash-Next IQ3_XXS, DFlash2, same machine
test: tools/tool_probe.py 30 (ExTV fork), 2 turns, edit_file + bash tools

The score is the number of successful attempts out of 30. The first two rows are my measurements; the last one is the number the ExTV fork claims.

ConfigScore
Stock Strata 0.2.1314/30
+ ExTV “Sharp” chat template, xhigh effort16/30
ExTV fork’s claim (Sharp template + tool-call envelope patch)30/30

Typical failures: the model drops the second call of a parallel call, or mangles a literal <parameter=...> string in the arguments.

I only borrowed the template, not the envelope patch. The chat template is what formats the conversation and the list of tools before they’re handed to the model. To change it you have to edit packs/iq3_xxs/tokenizer/chat_template.jinja in place (original kept as .orig), because the launcher rewrites the config’s tokenizer key at every start. And the template alone isn’t enough: 16/30, far from the claimed 30/30.

What I take away from episode 1

A ~180B model runs at 141 t/s on a 24 GB laptop GPU, packaged for Olares v3 and without root. Fine tuning barely moves decode, but it helps the 36K prompt read. Agentic tool calling isn’t yet at the level the ExTV fork claims.

The stratanextone chart is published as 1.0.0 on my market.

In episode 2, a Reddit post promises big gains from locking the model’s RAM copy, and I touch containerd’s config on the host, with 70 pods running on it.

Episode 2: the memlock mirage. See you next time!


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