AI & ML interests

None defined yet.

Recent Activity

Vasiniks  updated a Space about 1 hour ago
GEHIRNS/README
Vasiniks  updated a collection about 1 hour ago
MAGI 1.2
Vasiniks  updated a model about 1 hour ago
GEHIRNS/magi-1.2-4B
View all activity

Organization Card
GEHIRNS

Paper: Where the Bits Go (Sun, 2026) · Recipe and data: GEHIRNS/magi · Website: gehirns.pages.dev

Capability per GiB. We study how much a language model can do inside a single 12 GB consumer GPU. Every model is scored on a fixed 12-suite benchmark (coding, reasoning, knowledge, tool calls) with thinking on, and the score is set against the GPU memory the model actually occupies at a 32K context. All numbers come from our own runs on one RTX 5070.

Latest releases

Every row was measured the same way on one RTX 5070: the same 2,313-task benchmark with thinking on (4,096-token budget, greedy), llama.cpp with a q4_0 KV cache, and memory at a 32K context from llama-fit-params. These figures are not comparable with the magi-1.0-4B table below, whose memory comes from Ollama.

ModelBaseGiB at 32KScoreDensityWhat it isStatus
magi-1.2-4BQwen3.5-4B2.5581.90%0.968magi-1.1-4B's weights with bits fitted to the 4B by measurement. 64 MiB smaller at the same score; thinks 11% morenew
magi-1.1-4BQwen3.5-4B2.6181.72%0.939magi-1.0-4B plus a LoRA that teaches it to finish its thinking (28% less thinking)recommended (4B)
magi-1.2-2BQwen3.5-2B1.2367.09%1.305magi-1.1-2B plus one round of training against repetition loops, with bits fitted to the 2B; 27% less thinkingrecommended (2B)
magi-1.1-2BQwen3.5-2B1.3666.06%1.149The think-less LoRA on Qwen3.5-2B with the magi-1.0 recipe
magi-1.0-2BQwen3.5-2B1.3663.48%1.071The magi-1.0 recipe on Qwen3.5-2B, no training

magi-1.0-4B

GEHIRNS/magi-1.0-4B (magi-1.0 in the paper) is Qwen3.5-4B in 1.80 GiB, with no training. Each tensor class is stored at the precision its measured sensitivity calls for, using only standard GGUF types, so the file runs in stock llama.cpp and Ollama. With an 8-bit KV cache (magi-1.0-4B + q8 KV) it keeps 96% of the full model's benchmark score in 30% of the GPU memory and decodes 2.7× faster.

magi-1.0-4B + q8 KV against Qwen3.5-4B BF16: 3.4x less GPU memory, 96% of the benchmark score, 2.7x faster decoding, 3.0x capability per GiB

BaselinesOurs
BenchmarkBF16
8.98 GiB
Q4_K_M
3.78 GiB
Q2_K
3.15 GiB
magi-1.0-4B
3.02 GiB
magi-1.0-4B + q8 KV
2.65 GiB
Efficiency
GPU memory at 32K (GiB)8.983.783.153.023.0× less2.653.4× less
Benchmark score83.96%84.14%77.06%81.30%97%80.64%96%
Capability density0.2940.7030.6750.8002.7×0.8933.0×
Decode speed (tok/s)66.3146.6165.5180.02.7×181.42.7×

The benchmark score is the mean pass rate over the 12 suites. Capability density ρ is −log₂(1 − score) per GiB of GPU memory, that is, how many times the error rate halves per gibibyte. Small numbers are relative to BF16. Q4_K_M is the more accurate choice; magi-1.0-4B is the choice when memory is the constraint. The newer releases above build on it.

Models

ModelWhat it isStatus
magi-1.2-4Bmagi-1.1-4B's weights, bits fitted to the 4B by measurementnew
magi-1.1-4Bmagi-1.0-4B plus a think-less LoRArecommended (4B)
magi-1.0-4BQwen3.5-4B, sensitivity-allocated mixed precision, no training (the paper's model)first release
magi-1.2-2Bmagi-1.1-2B plus loop training, bits fitted to the 2Brecommended (2B)
magi-1.1-2BQwen3.5-2B with the think-less LoRA and the magi-1.0 recipe2B
magi-1.0-2BThe magi-1.0 recipe on Qwen3.5-2B, no training2B
magi-beta-1magi-1.0-4B with the full-attention k, v and output projections at Q6_Kfor comparison
magi-alpha-1, magi-alpha-2Qwen3.5-9B with supervised fine-tuningretired, not recommended

The alphas are an earlier, separate experiment. The fine-tuning did not improve the base model's coding (LiveCodeBench 49 and 48 of 150, against 50 for the untrained base, within run-to-run variation), and magi-alpha-1 can degenerate in chat. They stay online for transparency.

The paper Where the Bits Go: Sensitivity-Allocated Mixed Precision for a 4B Reasoning Model on a 12 GB Consumer GPU (Eason Sun, 2026; DOI: 10.5281/zenodo.23630199) describes the method and all measurements. The build recipe, the importance matrix and the data behind every table and figure are at GEHIRNS/magi on GitHub.

datasets 0

None public yet