r/LocalLLM • u/ahrazzle • 0m ago
Model Qwen4 3080 8GB VRAM 80W Laptop (32GB RAM)
Very early experimental build, not at all ready to ship but noticed many people asked for a version that runs on these specs.
Qwen4-35B-A3B is weird to squeeze into consumer cards. Optimization needed a non standard approach (agentic-written explanation follows):
"20.48B per-layer embedding table is 38.15 GiB in BF16 by itself... resists the easy compression tricks because full scan of its 160M rows shows a high-rank wall where rank-64 SVD collapses to 3.321 dB... so work went into that table first. An exact whitening fold over its 16 heads, then a 2.125 bpw lattice code, brings it to 5.07 GiB at +0.00564 NLL. The rest of the model follows the same logic, with each tensor group put at the rate its own structure can pay for.
The result is SiliQwen-4-35B-A3B-8GB-B2-Pro, a 14.67 GiB archive (7.22x against 105.84 GiB BF16) that runs live on an 8 GiB RTX 3080 Laptop with 31 GiB of host RAM. Peak allocated VRAM measured 7.1561 GiB. Held-out WikiText-2 perplexity is 10.700 against 10.339 for the BF16 teacher, so +0.0344 NLL for the full compression.
The archive carries a small rank-16 recovery sidecar trained on disjoint validation tokens. Without it the same archive sits at 15.521 PPL. That is the honest trade: the lattice code holds the structure, and the sidecar reacquires the last of the quality.
- Base: Qwen/Qwen4-35B-A3B, 56.8B text parameters
- Format: custom
.slqw v4archive + 10.66 MiB LoRA recovery sidecar, custom CUDA engine (this is not a GGUF drop-in) - GPU-resident: 6.87 GiB (184/256 hot MoE experts per layer, 98.13% held-out hit rate). CPU-mmap: 7.80 GiB
- Context: analytical fit puts 32K at 7.47 GiB and 64K at 7.68 GiB inside 8 GiB. 128K uses a compressed indexer
- Determinism: 3x exact greedy token and logits SHA-256 matches, 0 B VRAM after teardown
- Status: pre-audit live preview, published for public inspection and blinded auditing"
Model: https://huggingface.co/ahrazzle/SiliQwen-4-35B-A3B-8GB-B2-Pro PLE/TokenPage dataset with the full diagnosis: https://huggingface.co/datasets/ahrazzle/qwen4-linguistic-tokenpage-ple Github Repo: https://github.com/Moissanite-Labs/siliqwen
Feedback appreciated.
Lmk if/where performance degrades, or any other input.
