Qwen4-35B-A3B 4-bit release: fine-tune on a single 22GB GPU via CQ quantizer
textclf · reddit · 2026-12-06
A day after Qwen4-35B-A3B shipped, thousandml released a CQ 4-bit quantized version on Hugging Face:
- Quantization: CQ needs no calibration data; all linear layers and routed experts go 4-bit, and any matrix with error above -22 dB stays 16-bit (79 of 21,500 matrices for this model).
- The n-gram caveat: Qwen4 has a 20B-param n-gram embedding table on top of the 35B model, kept in 16-bit in system RAM. Serving needs 22GB VRAM plus 38GB RAM (64GB recommended); the download is 61GB. For local chat, llama.cpp GGUF quants are smaller and faster.
- Fine-tuning works: train a GCMP adapter (a LoRA replacement) directly on the 4-bit base and serve it. The author ran the full path — quantize, serve, fine-tune, serve — on a single A40; a 20-step test brought loss from 1.88 to 1.6.
- Honest limits: single-request Transformers server, no vLLM support yet, 15s per training example on A40 due to CPU n-gram lookups.
- Docker one-liner provides an OpenAI-compatible endpoint on port 8000; full fine-tune commands included. Weights Apache 2.0; tooling source-available, free in early access.
More from coding & agent
- Raw logs + SQL search may beat specialized agent memory layers, Hatchery argues — Antique_Atmosphere97 · 2026-12-06
- DevOps engineer explores building AI agents for cross-cloud job monitoring — Shashank_r_ · 2026-12-06
- Dual RTX 8000 rig benchmarks 4 local LLMs: Qwen4-35B-A3B hits 15/15 planted bugs at 77 t/s — AggressiveManager450 · 2026-12-06
- Open-source Surface Fleck rendering binds pixels to 3D model surfaces to stop pixel shimmer — Promptmethus · 2026-12-06
- Dev wires Claude into Blender via MCP for one-prompt 3D character texturing — AutomaticSun6898 · 2026-12-06
- Hermes gen-UI plugin renders interactive charts, dashboards and checklists inside agent chat — Teknium · 2026-12-06