Laguna-XS-2.1-Coldfit-13GB: a 33B frontier coding model, fully on a 16 GB GPU
Poolside's Laguna XS 2.1 in 13.6 GB instead of 66.9 GB. About 5× smaller, all 41 of 41 layers on the GPU (14,082 MiB at 16K context), and within about 1 to 2 points of the original.
Not much is lost: HumanEval+ 85.9 vs 86.8 (−0.9) · MBPP+ 74.5 vs 75.3 (−0.8) · GSM8K 93.9 vs 94.6 (−0.7) · MMLU-500 80.4 vs 82.4 (−2.0)
./llama-server -m Laguna-XS-2.1-Coldfit-13GB.gguf --jinja -ngl 999 -fa on -np 1 -c 16384 -ctk f16 -ctv f16
Why try it
- A frontier coding model on the GPU you already own. Laguna XS 2.1 is a 33B-parameter mixture-of-experts (256 experts per layer, 8 used per token). The original GGUF is 66.9 GB. This one is 13.6 GB.
- The whole model, on the GPU. All 41 layers offload, and nothing was pruned: all 256 experts are still there in every layer.
- Close to the original where we measured it. Four benchmarks, same harness, side by side: 0.7 to 2.0 points lower.
- Room to grow. 16K context on a 16 GB card. 128K on a 24 GB card, and the model's full 256K window with a q8_0 KV cache.
- Plain llama.cpp. One GGUF, standard tensor types, Poolside's chat template unchanged.
Run it
You need a recent llama.cpp with Laguna support. Stock llama.cpp b12359 loads this file and answers. Get the file:
huggingface-cli download ColdTensor/Laguna-XS-2.1-Coldfit-13GB-GGUF Laguna-XS-2.1-Coldfit-13GB.gguf --local-dir .
16 GB cards: 16K context
# server (OpenAI-compatible API on port 8080)
./llama-server -m Laguna-XS-2.1-Coldfit-13GB.gguf --jinja -ngl 999 -fa on -np 1 -c 16384 -ctk f16 -ctv f16
# or chat in the terminal (we ran llama-server; llama-cli takes the same flags)
./llama-cli -m Laguna-XS-2.1-Coldfit-13GB.gguf --jinja -ngl 999 -fa on -c 16384 -ctk f16 -ctv f16
-ngl 999 puts all 41 layers on the GPU, -fa on turns on flash attention, -c is the context length,
-np 1 is one server slot (what the memory numbers below were measured with), and -ctk f16 -ctv f16 is the
KV cache type our benchmark runs used. Leave --swa-full off.
| Context | Flags | Expected GPU memory (engine use, driver included) | |
|---|---|---|---|
| 8K | -c 8192 |
13,754 MiB | plenty of room |
| 16K | -c 16384 |
14,082 MiB | recommended |
| 32K | -c 32768 |
14,738 MiB | tight, optional |
16K leaves 2,302 MiB of a 16,384 MiB card for your desktop and everything else. 32K works if the card is
mostly free: it leaves about 1.6 GiB of a 16 GiB card. Want 32K
with more room? Switch the KV cache to q8_0 (-c 32768 -ctk q8_0 -ctv q8_0): the engine's GPU buffers come to
13,703 MiB, about the same as 16K with f16 (13,635 MiB).
24 GB cards: more context
# 64K, easy
./llama-server -m Laguna-XS-2.1-Coldfit-13GB.gguf --jinja -ngl 999 -fa on -np 1 -c 65536 -ctk f16 -ctv f16
# 128K
./llama-server -m Laguna-XS-2.1-Coldfit-13GB.gguf --jinja -ngl 999 -fa on -np 1 -c 131072 -ctk f16 -ctv f16
# 256K, the model's full window (262,144 tokens), with a q8_0 KV cache
./llama-server -m Laguna-XS-2.1-Coldfit-13GB.gguf --jinja -ngl 999 -fa on -np 1 -c 262144 -ctk q8_0 -ctv q8_0
| Context | -c |
GPU buffers, f16 KV | GPU buffers, q8_0 KV | On a 24 GB card |
|---|---|---|---|---|
| 32K | 32768 |
14,291.27 MiB | 13,703.18 MiB | easy |
| 64K | 65536 |
15,603.27 MiB | 14,543.18 MiB | easy |
| 128K | 131072 |
18,227.27 MiB | 16,223.18 MiB | fits |
| 256K (model max) | 262144 |
23,475.27 MiB | 19,583.18 MiB | f16 is tight; q8_0 has room |
These are the GPU buffer sizes the engine prints at load: model + KV cache + sliding-window KV cache + compute. Add about 450 MiB for the driver (we saw 425 to 464 MiB on top on a 24 GB card at 8K to 32K), plus whatever your desktop is using. 256K with f16 leaves about 1.1 GB of a 24,576 MiB card before that overhead, so use it only on a card with nothing else on it. q8_0 gives you the same 256K window with about 5 GB left before it.
How these were measured: the 8K, 16K and 32K engine-use numbers are nvidia-smi readings on a 24 GB consumer
GPU while the model answered requests, minus what the desktop was using before the load. The 32K to 256K buffer
sizes were read from stock llama.cpp's load log (build 11511, one slot, -b 2048 -ub 512);
every setting loaded with 41 of 41 layers on the GPU, and the 32K total matched the 24 GB card to the hundredth of a MiB.
Tips: our numbers were taken with thinking off and greedy decoding. Poolside recommends thinking on, temperature 1.0 and top_k 20 for agentic coding. If the first reply is empty or garbage, update llama.cpp before you suspect the file.
Recommended settings
Want thinking on? These settings gave an answer on every code, math and chat reply in our exploratory runs.
| Setting | Value |
|---|---|
| Temperature | 1.0 |
| top_k | 20 |
| top_p | 1.0 |
| Thinking | on |
| Thinking budget | 4,096 thinking tokens for code, 2,048 for everything else |
| Repeat penalty | none (we tested one: it did not help and it raised overthinking) |
The thinking budget is the part that matters. It stops the model from thinking right up to the token limit and leaving you with no answer.
How to reproduce it with llama-server: our runs used a small two-request harness on the raw /completion
endpoint. The first request is capped at the thinking budget (n_predict). If the reply finishes inside the
budget, that is the whole reply. If the budget runs out after the model has written </think>, a second request
continues the same reply with nothing added. If it runs out before </think>, the harness appends </think>
and sends a second request, so an answer follows. The engine's built-in reasoning budget did not fire on this
raw /completion path on the build we used (b12128), so the budget lives in the harness.
The memory recipes and tables above do not change. They were measured with thinking off and greedy decoding.
Reliability with thinking on (exploratory)
Every reply gave an answer. With the recommended settings, 0 of 464 code, math and chat replies ended without an answer, on both seeds. With the same sampling and no thinking budget, 34 of 464 did. Code and math scores held at the first seed's level on the second seed, above the run without a budget.
| Measured with the recommended settings | Seed 1 | Seed 2 |
|---|---|---|
| Replies with no answer (464 code, math and chat replies) | 0 | 0 |
| HumanEval+ pass@1 (163 problems) | 148 | 147 |
| Math (200 problems) | 191 | 190 |
| Tool success (200 multi-turn tool tasks) | 64 | 64 |
| Loops flagged (664 items) | 14 | 21 |
Limits: this is an exploratory check, two seeds with one run each, and it is not the greedy, thinking-off benchmark in "Not much is lost" below; loops were flagged on 14 and 21 of 664 items (about 2 to 3%).
Not much is lost
Same harness, same settings, the 66.9 GB original against this 13.6 GB file.
| Benchmark | Items | This file | Original BF16 | Difference [95% interval] |
|---|---|---|---|---|
| HumanEval+ (mean of 2 passes) | 163 | 85.9% | 86.8% | −0.9 [−4.3, +2.5] |
| MBPP+ (mean of 2 passes) | 375 | 74.5% | 75.3% | −0.8 [−3.6, +2.0] |
| GSM8K | 1,319 | 93.9% (1,239) | 94.6% (1,248) | −0.7 [−1.7, +0.4] |
| MMLU-500 | 500 | 80.4% (402) | 82.4% (412) | −2.0 [−4.8, +0.8] |
All four come out slightly lower, by 0.7 to 2.0 points, and no single gap is statistically significant (exact McNemar p from 0.20 to 0.85). Scores are greedy, thinking off, with our own prompts, so compare the two columns with each other and not with published leaderboards.
How it was made
Quantization only. No pruning, no training, no distillation.
- Reference. The original model as a BF16 GGUF (66.9 GB). Every comparison is against this.
- Importance matrix. One pass of the original over a calibration set built from OpenAssistant OASST1 conversations, to weigh which values matter.
- Experts at 2 and 3 bits. The experts are most of the model. Each expert's gate and up matrices go to Q2_K and its down matrix to Q3_K, each with its own importance row: 2.896 bits per expert weight.
- Everything else at 8 bits. Attention, shared expert, embeddings and output are Q8_0. Norms, router and biases stay F32.
Why Q3_K for the down matrices: on the CUDA batch path some weight types keep a 16-bit sum of activations that overflows in this model's late layers. Q3_K stays finite, so that is what we used.
The file has 678 tensors: 78 Q2_K, 39 Q3_K, 322 Q8_0, 239 F32.
Limits
- Memory was measured on a 24 GB card at the context sizes reported, not on a physical 16 GB card.
- Next-token agreement with the original dropped: this file's first choice matches the reference 86.1% of the time, against 96.2% for a plain conversion of the original.
- The benchmarks in "Not much is lost" used thinking off and greedy decoding. The thinking-on and tool-use runs are exploratory only: see "Reliability with thinking on (exploratory)".
- Benchmark quality was measured on one Laguna-enabled llama.cpp build (b12128, commit
d7b2896) with an f16 KV cache. On stock llama.cpp we checked that the file loads and answers.
Details
| Base model | poolside/Laguna-XS-2.1 (mixture-of-experts, 40 layers, 256 experts in each of 39 MoE layers) |
| File | Laguna-XS-2.1-Coldfit-13GB.gguf, 13,595,894,880 bytes (13.6 GB, 12.66 GiB). "13GB" is a label |
| sha256 | 0de4779af1759e317246f2f60c043fc2140468bfb7370b8c7edbf53fefd7d21d |
| Original | BF16 GGUF, 66,930,226,272 bytes (66.9 GB), about 33B parameters in total |
| Benchmark settings | llama-server, -c 32768 -np 4 -b 1024 -ub 512 -ngl 999 -fa on -ctk f16 -ctv f16, thinking off, greedy |
| Statistics | paired bootstrap 95% intervals, exact McNemar tests |
| Hardware | Memory: a 24 GB consumer GPU |
| Engines | llama.cpp b12128 (benchmarks), stock b12359 and b11511 (load and memory) |
License
The base model poolside/Laguna-XS-2.1 is provided by Poolside under the OpenMDW License Agreement, version
1.1 (OpenMDW-1.1). It is not MIT. This file is a quantized copy of those parameters and is distributed under
the same agreement; a copy is in LICENSE.md, with a NOTICE that says what was changed. Poolside's card
asks that the model be used consistently with Poolside's Acceptable Use Policy.
This is an independent project. It is not affiliated with, sponsored by or endorsed by Poolside. "Poolside" and "Laguna" are used only to say what this file was made from.
Calibration data: OpenAssistant OASST1 conversations (Apache-2.0). Evaluation sets: HumanEval (MIT) and MBPP (CC BY 4.0) with EvalPlus tests (Apache-2.0), GSM8K (MIT), MMLU (MIT). No evaluation data is in the repo.