Skip to content
Proyek

Tentang

Xolotl: jalankan DeepSeek-V4.1-Flash versi penuh 552B sebagai coding agent lokal di satu PC gaming (RTX 4090 + RAM 110 GB): ~33 tok/s dalam mode agent, ~41 dalam mode cepat, dengan konteks 512K. Juga mencakup Inkling-2-Mini (mesin sendiri: 512K pada 24 GB, vision, dan drafter MTP), GLM-5.3-Flash, Qwen3.8, serta LFM3-Omni. Expert MoE ditempatkan secara bertingkat di VRAM, RAM, dan NVMe (Xolotl Direct). API OpenAI dan Anthropic.

Alat pengembangan

Cara angka ini diukur

588 bintang82 Fork +2 dalam 24 jam

Yang dapat Anda lakukan

  • DeepSeek-V4.1-Flash-1017 V4 - 552B MoE - 4.99 - 32.6 - 289-409 - 512K - 4.49
  • DeepSeek-V4.1 V4, fast mode - 552B MoE - 4.99 - 41.1 - 258-439 - 512K - -
  • GLM-5.3-Flash - 320B MoE - to come - 28.5-29 - 312-450 - 512K - 5.87
  • Qwen3.8-Flash-Next XQ 45 GB - 125B MoE - 4.49 - 157 - 3,800-4,070 - 200K - 3.90

Pertumbuhan bintang terukur

dalam 24 jam
+2
dalam 7 hari
+11
dalam 15 hari
+46
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Xolotl - frontier MoE models on one gaming PC

Xolotl

DeepSeek-V4.1-Flash, all 552 billion parameters, on one gaming PC at 33 tok/s on real agent tasks (41 in fast mode), alongside ERNIE-5.5-Flash, GLM-5.3-Flash, Qwen3.8-Flash-Next, Qwen3.8-27B, Inkling-2-Mini, Muse Glimmer 30B, Ternary Bonsai 2.5 27B and LFM3-Omni, all behind one OpenAI- and Anthropic-compatible server. Linux · NVIDIA · MIT.

Built from Strata, and grown a long way past it. Niko1221's engine, server and core kernels are still at the heart of it; Xolotl adds more than 70,000 lines on top: its own engines for DeepSeek-V4.1, GLM-5.3-Flash, ERNIE-5.5-Flash, Inkling-2-Mini, LFM3-Omni and the dense Qwen3.8-27B (grown from Mirko Perrone's port), plus the quantisation, expert tiering and serving behind every model here.

Notices (4 Dec)

  • Qwen4-35B-A3B is out (3 Dec) and Xolotl support is in progress. It is the Qwen3.8-Flash-Next architecture at narrower widths; strata already builds at its shape, parity on the real weights is next, and the aim is that any llama.cpp-converted Qwen4-35B-A3B GGUF runs, not only ours. Our abliterated XQ quant is in the works at IndrasMirror/Qwen4-35B-A3B-XQ-Uncensored. Status and plan: docs/QWEN4.md.
  • A second card is an expert tier, not a layer split (--remote-device 1, DeepSeek-V4.1 and ERNIE): keep it free while serving; a 12 GB card already running another model aborts the start.
  • XQT files are trellis-coded (TQP5/6/7): they need Xolotl's engines, not upstream llama.cpp. Plain XQ files use standard GGUF types.

Latest

Every item with its numbers, PR links and credits: docs/xolotl/CHANGELOG.md.

  • 4 Dec - Qwen4-35B-A3B day 0: weights in, strata builds at its shape (kernels retargeted from Flash-Next's widths), our abliterated XQ quant in the works with a size sweep; docs/QWEN4.md.
  • 4 Dec - Looped adapters run natively: Looped-DeepSeek-V4.1-Flash on our XQ V4 solves 6 of the first 9 of LiveCodeBench's 13 hardest vs stock's 4, with far fewer thinking tokens (full set running); Looped-Qwen3.8-Flash-Next ported too, but not a win on our Swift file. Qwen 4: the converter is ready.
  • 3 Dec - Qwen3.8-27B long context on the tensor cores: decode at 115K 29.6 -> 61 tok/s, a 115K prompt 192 -> 76 s; Hy4-flash takes a second card as an expert tier (+19 % decode); MCP client and Hy4 tool-call fixes (#167-#169, Pybsama).
  • 2 Dec - Think-less edits loaded at run time: Concept Country's Qwen3.8-27B edit as a 0.8 MB LoRA (AIME 12/12 at 35 % fewer tokens), Looped-Qwen3.8-27B, and our own fits for Inkling-2-Mini (24 -> 26 of 30 AIME, -28 % tokens) and Qwen3.8-Flash-Next (-18 % tokens). Hy4-flash builds in-tree.
  • 26-29 Nov - ERNIE-5.5-Flash on its own engine: the XQT-93 file scores 5.50/6 on Gauntlet v3-small, level with Qwen4-Max's API; Ternary Bonsai 2.5 27B on xolotl-dense (4.50/6).
  • 21-28 Nov - Inkling-2-Mini at 127 tok/s and 512K on one 24 GB card, its 12 GB XQT at 48 tok/s on a 3060; a second card as an expert tier (DS4.1 decode 25 -> 28-30); LoRA training on one 4090; Windows fixes (#144-#154).
  • 7-19 Nov - DeepSeek-V4.1 decode 42.7 tok/s on agent tasks, fast mode and Xolotl Direct; Qwen3.8-27B with DFlash2 at 204 tok/s; Muse Glimmer 30B at 512K.

Opt-in extras

Nothing here changes a model unless you pass it. Each is measured on our files; the doc has every number.

What Models What it does (measured) How
Concept think-less edit Qwen3.8-27B 0.8 MB LoRA: AIME first 12, 11/12 -> 12/12 at 35 % fewer tokens xolotl-dense --lora qwen38-27b-concept-r1-lora.gguf
Think-less vectors (our fits) Inkling-2-Mini, Qwen3.8-Flash-Next Inkling AIME 24 -> 26 of 30, -28 % tokens; QFN 27/30 both, -18 % tokens XOLOTL_INKLING_OVERRIDE / --control-vector-scaled
Looped-Qwen3.8-27B Qwen3.8-27B layers 24-39 run 3 times; stacks with Concept (12/12, 3708 tokens) xolotl-dense --looped looped-v31-T3.gguf
Looped adapters DeepSeek-V4.1, Qwen3.8-Flash-Next the middle layers run twice with tiny per-pass LoRAs: DS4.1 hard coding 4/9 -> 6/9 (first 9 of 13), fewer tokens, ~2x wall --loop-adapter <file> --loop-passes 2
Fast mode DeepSeek-V4.1 V4 a 2-bit copy of the biggest experts: +26 % decode, same Gauntlet score XOLOTL_SHADOW=$(cat V4.fast.x41s.list)

Fast mode (DeepSeek-V4.1)

Decode speed is set by how many expert bytes cross the RAM bus and the NVMe drive per token. Fast mode keeps a 2-bit (Q2_K) copy of the two biggest expert formats in a ~40 GB sidecar and reads that instead; the model file is unchanged.

DeepSeek-V4.1 V4, RTX 4090 Decode, agent tasks (tok/s) Decode, 8K prompt (tok/s) Gauntlet score Next-token agreement
normal 32.6 26.1 4.99 87.0 %
fast mode 41.1 (+26 %) 33.0 (+27 %) 4.99 86.2 %
build-xolotl/ds41_generate -m V41-XQ-1017-v4.gguf --build-shadow /nvme/V4.fast.x41s   # once, ~30 min CPU (or download v4-fast/)
XOLOTL_SHADOW=$(cat /nvme/V4.fast.x41s.list)  <your usual serve command>

It changes about one token in a hundred, so it is opt-in. The idea is compress-then-correct from PROMETHEVS (Ryan Flavell). Details: docs/XOLOTL_FAST.md.

What one PC can do

One RTX 4090 (24 GB) · Ryzen 7 5700X · 110 GB DDR4 · one NVMe drive. Every number is measured on that machine, through the real server, while the model works through the Gauntlet v3-small: 6 hard agentic coding tasks graded by hidden tests, 10 turns each, thinking on (32K-token budget), each model as it is served. Decode is the generation speed during those tasks.

Model Size Score (of 6) Decode (tok/s) Prefill (tok/s) Context API score
DeepSeek-V4.1-Flash-1017 V4 552B MoE 4.99 32.6 289-409 512K 4.49
DeepSeek-V4.1 V4, fast mode 552B MoE 4.99 41.1 258-439 512K -
GLM-5.3-Flash 320B MoE to come 28.5-29 312-450 512K 5.87
Qwen3.8-Flash-Next XQ 45 GB 125B MoE 4.49 157 3,800-4,070 200K 3.90
Qwen3.8-27B (Swift-1.5 GSQ-RCO, 13.2 GB) 27B dense 5.50 105 1,420-1,630 200K 4.47
Qwen3.8-27B Swift-1.5 XQ 14 GB (ours, uncensored) 27B dense 6.00 120 1,840-2,120 200K -
Muse Glimmer 30B (heretic IQ4_NL) 30B dense 4.89 148 3,330-3,410 512K -
Inkling-2-Mini XQ Unbound 13.9 GB (ours, uncensored, engine) 26B looped MoE, 3B active 4.42 116.5 3,500-4,190 512K -
ERNIE-5.5-Flash XQT 93 GB (ours, uncensored, engine; 4090 + 3060) 280B MoE, 14B active 5.50 21.6 ~113 64K -
Ternary Bonsai 2.5 27B (PrismML Q2_0 + AtomicChat uncensor LoRA x1.25) 27B dense 4.50 107 2,050 262K -

One greedy Gauntlet run per model (temperature 0, so a rerun repeats the same tokens). Score = each task's progress summed (1 per solve, partial credit from the hidden tests). API score = the model's own full-precision API through OpenRouter, same tasks and turns (8 Nov). ERNIE runs on two cards (4090 + 3060 expert tier; one 4090 decodes ~15 tok/s). Qwen4-Max's API scores 5.50/6 on the same tasks, the bar a local Qwen 4 quant will be read against. Per-model notes, dates, token counts and the Q8_0 references: docs/xolotl/BENCHMARKS.md.

Smaller cards. The engine fits the work to the card, and what doesn't fit lives in RAM and on the SSD, so RAM matters as much as VRAM. Community runs on 12 GB cards: DeepSeek-V4.1 at 8-10 tok/s (RTX 3060, 46 GB RAM), Qwen3.8-Flash-Next at 39-48 tok/s (RTX 3060 / 4070). The runs, and what your machine needs: docs/WILL_IT_RUN.md.

Quick start

Linux (or Windows 11 for DeepSeek-V4.1, docs/WINDOWS.md), an NVIDIA GPU, CUDA 12.x/13.x, and as much RAM as you can.

git clone https://github.com/Indras-Mirror/Xolotl.git xolotl && cd xolotl
bash tools/xolotl/fetch-llama.sh   # llama.cpp at the pinned commit + tools/xolotl/ggml/xolotl-ggml.patch -> third_party/llama.cpp
cmake -S . -B build-xolotl -G Ninja -DCMAKE_BUILD_TYPE=Release -DSTRATA_ENABLE_CUDA=ON -DSTRATA_GGML_CUDA=ON \
  -DSTRATA_MMQ_KQUANTS=ON -DCMAKE_CUDA_ARCHITECTURES=89 -DSTRATA_GGML_DIR=$PWD/third_party/llama.cpp -DSTRATA_DSV41_FQ_OP=ON \
  -DSTRATA_DSV41_HC_MIX=ON
ninja -C build-xolotl      # strata, xolotl-dense, glm_generate, ds41_generate, ds4_generate

Get a model:

  • DeepSeek-V4.1-Flash: the 1017 builds of the October checkpoint (V4 recommended, with v4/rank-1017-v4.bin), or the earlier GSQ build (152 GiB, mixed ternary / 2-bit / 3-bit). Both cards have the download and Engram steps. Optional for V4: the fast-mode sidecar (~40 GB), built once with ds41_generate --build-shadow.
  • Qwen3.8-Flash-Next: XQ 45 GB (the two .gguf shards plus pack-qfn45/).
  • Qwen3.8-27B: any dense Qwen3.8-27B GGUF. python tools/dense_setup.py --download UD-Q4_K_M --build --arch 89 fetches one and writes its run config; add --mtp --ngram-chain to its engine args for the fast (still exact) decode.

Then serve it (edit the model paths in the DeepSeek and GLM configs first):

python3 tools/v41/serve/serve_ds41.py --engine strata --config tools/v41/serve/strata-ds41.json --port 8150           # DeepSeek-V4.1-Flash
XOLOTL_SHADOW=$(cat /nvme/V4.fast.x41s.list) python3 tools/v41/serve/serve_ds41.py ...                                # the same in fast mode (V4)
python3 tools/glm/serve/serve_glm.py  --engine strata --config tools/glm/serve/strata-glm-maya-abl-512k.json --port 8144  # GLM-5.3-Flash
./scripts/xol-qfn.sh --serve-only --model <shard 1 .gguf> --pack <pack-qfn45>                                       # Qwen3.8-Flash-Next (port 8099)
python3 -m serve.server --engine strata --config <your-27b.json> --port 8090                                          # Qwen3.8-27B (exe: build-xolotl/xolotl-dense)

Then point any OpenAI- or Anthropic-compatible client at http://127.0.0.1:<port>/v1.

How it works, in one paragraph

A mixture-of-experts model only uses a few experts per token. Xolotl keeps every expert somewhere - the hottest in VRAM, tens of GiB in a pinned RAM arena the GPU reads by DMA, the rest on NVMe read at the drive's ceiling - and moves the ones each token's router asks for, a layer ahead. Each model adds its own tricks: DeepSeek-V4.1 gets a calibrated mixed-precision quantisation, speculative decoding with exact sampling, a bit-exact 4-bit KV cache for 512K context, an arena that adapts to the conversation, an opt-in fast mode that reads a 2-bit copy of its biggest experts, and Xolotl Direct, which lets the NVMe drive write experts straight into VRAM; GLM-5.3-Flash gets its abliteration LoRA on every path and soft pruning; the Qwen models get MTP speculative decoding. Read the full write-up.

Read more

Doc What's in it
How Xolotl works the three memory tiers, per-model engines, the server, the agent-loop work
Will it run on my machine? GPU, RAM and disk needs for DeepSeek-V4.1
Benchmarks every measured number, exactness checks, how to measure your own PC
Qwen 4 Qwen4-35B-A3B: status, our quant in the works, running it in Xolotl
Think-less edits Concept's weight-space programming, our MoE fits, Looped-Qwen3.8-27B
Looped adapters recurrent-depth adapters for DeepSeek-V4.1 and Qwen3.8-Flash-Next: port, gates, results
Changelog everything that landed, newest first, with the PR numbers and who did it
DeepSeek-V4.1-Flash engine GSQ quantisation, DSpark, the fp4 KV cache, Engram
DeepSeek-V4.1 fast mode the 2-bit expert sidecar: build, serve, switches, what it costs and what we tried
DeepSeek-V4.1 on Windows native MSVC + CUDA build, configs, RTX 50 notes
GLM-5.3-Flash engine KDA + MLA attention, the LoRA on routed experts, soft pruning
Prune masking STRATA_EXPERT_KEEP task profiles: keep lists, how to build and gate one, results
LFM3-Omni engine pictures, audio, video and speech on a 2B model, park/unpark beside a big one
Muse Glimmer engine Meta's dense 30B at 512K on 24 GB, its channel / ATEM tool-call format, pictures
Inkling-2-Mini engine Thinking Machines' looped MoE: 512K on 24 GB, DSpark drafter, pictures, our quant
Ternary Bonsai 2.5 27B PrismML's ternary 27B on xolotl-dense: Hadamard-folded weights, MTP, pictures, LoRA adapters
ERNIE-5.5-Flash engine (preview) Baidu's 280B latent MoE: our XQ file on HF, which GGUFs it reads, flags
Qwen3.8-27B dense howto dense vs MoE paths, binaries, configs, MTP (by Mirko Perrone, also in Italian)
Setting up with an agent the build-and-serve steps for an AI agent (or a person) setting Xolotl up
Qwen3.8 / upstream Strata the Strata engine this grew from
History earlier session notes, kept as written
Brand kit logo, banner, palette

Credits

Xolotl

Built on Strata by Niko1221 and ggml / llama.cpp, with the Qwen3.8-27B dense port by perronemirko, and the looped adapters by Alexey Fateev (alesha-pro) and Jason Titus (sliderforthewin). Model weights by DeepSeek, Zhipu AI, Baidu, Qwen, Liquid AI, Meta and Thinking Machines, with quants, fine-tunes and refusal edits by peasantsmith, ukisai, d0xin, gcsa-abliterix, nokeep and unsloth. Thanks to every contributor: Pybsama, NektoDron, Xiaomi2008, ElXreno, AlexeyMatskevich, paul123637-lab, kelheor, exye137, penink-WH, cpacsm75, jesdga95 (Basalt) and Ryan Flavell (PROMETHEVS). Who did what: CREDITS.md.

Xolotl is Quetzalcoatl's dark twin, who carries the dead up from the underworld - as the engine carries experts up from RAM and NVMe. Research code from one developer, measured on one PC; reports from other hardware welcome. MIT.

Support

If Xolotl's been useful to you and you want to help support what I do, you can shout me a coffee on Ko-fi. Every bit helps keep this going :)

Write-ups, benchmarks and news about Xolotl: indrasmirror.au.

Jelajahi proyek terkait

Memuat…