Lab Reports · Field Report Nº 01 · Part 3 of 5

Coding Models and 4-Bit Compression

Voltage Labs

Of three coding-oriented models, only qwen38-flash-next ran cleanly through every test, and it scored about the same as qwen-coder-next on answer quality. On compression, who made the 4-bit version mattered more than the format, and for image models 4-bit saved memory but not time.

Coding models

glm-4.7-flash failed with long prompts and whenever more than one request ran at once, though we only tried a community 4-bit build of it, which is the likely cause.

ModelWriting speed, one userReading speed, ~55k promptSeveral users at onceMemory usedVerdict
qwen38-flash-next (NVFP4)17–20 tok/s, steady up to 110k context2,300 tok/s47 tok/s combined at 4 users; wait for the first word reached 41 s at 8~115 GBStable but slow, and fills the box
qwen-coder-nextInconclusive (replies were too short to time reliably)3,329 tok/sNot run~83 GBNeeds a re-run
glm-4.7-flashNot reliably measuredServer errors at 32k and 65kEvery request failed at 1, 2, 4 and 8 users~67 GBFailed with the community 4-bit build we tried
Coding-model performance. Voltage Labs measurements, 2026.

On answer quality, each model ran alone on an automatically graded suite: code checked by unit tests, tool calls by their structure, reasoning and long-document lookups by known answers, and creative writing by its hard rules only.

Area (cases)qwen-coder-nextqwen38-flash-next
Coding (6)100%67%
Tool calling (6)83%100%
Long context100% (4)100% (5, including a >131k case)
Reasoning (6)100%100%
Creative (5)50%80%
Overall87%89%
Quality-suite results. qwen-coder-next could not run the longest-context case, so its overall score covers 27 cases rather than 28.
  • Every qwen38-flash-next miss was the same failure. Its reasoning got stuck repeating itself until it hit the length limit and returned nothing. It never gave a wrong answer on those cases.
  • qwen-coder-next's tool miss was a restraint test. Asked to convert a currency with a required detail missing, it called the tool anyway instead of asking.
  • qwen-coder-next was much faster per case: typically 1–10 seconds, against 5–150 seconds for qwen38-flash-next.

Compression: what helped and what did not

Language models: check who made the 4-bit version

NVIDIA's NVFP4 release of Gemma 4 26B-A4B left the attention projections at 16-bit. On GB10 those fall back to an older, slower code path that took 70% of GPU time. A community build from bg-digitalservices also compresses the attention layers, and avoided that with no loss of accuracy.

Qwen3-VL-30B-A3B NVFP4reference
452 tok/s
Community Gemma 4 NVFP4bg-digitalservices · MMLU 44.33%
358–401 tok/s
Our own pilot buildMMLU 37.62%
367 tok/s
NVIDIA Gemma 4 NVFP4MMLU 43.94%*
241–262 tok/s
Combined writing speed with eight users on vLLM 0.19.2rc1, with MMLU accuracy. Ranges are across runs. *NVIDIA's MMLU figure is for the uncompressed original. Voltage Labs measurements, May 2026.

Our pilot's accuracy drop came from its calibration recipe, not from the format. Gemma's remaining gap to the Qwen reference is its very large output layer (a 256K-token vocabulary), which stays at 16-bit and takes about 30% of GPU time. Our current deployment runs NVIDIA's version, and we have not yet re-measured whether the gap remains on today's vLLM.

Image models: protect the attention layers, and do not expect speed

Starting from Ideogram 4's public 8-bit weights, we tried five 4-bit recipes on four test prompts, including lettering, with matched seeds.

RecipeAttention layers compressedText in imagePhotosTime to compress
Feed-forward layers onlynonecleanok~4 min
Attention in middle blocks30 of 34 blockspartly garbledok~4 min
Default (maximum)allgarbledok~6 min
AWQ-liteallsafety-filter card instead of an imageok47 min
SVDQuantallsafety-filter card instead of an imageok5.8 h
Five 4-bit recipes for Ideogram 4. Better calibration (AWQ, SVDQuant) did not rescue compressed attention; keeping attention at higher precision was both necessary and enough.

The core matrix maths ran 1.2–1.65× faster at 4-bit and 1.9–2.3× faster at 8-bit, but the gains did not survive a full image.

Fast 8-bittorch._scaled_mm
84.6 s
8-bit as releasedbaseline
90 s
4-bit feed-forward onlysimulated
100 s
4-bit feed-forward onlypacked
128 s
Time per 1024×1024 image for Ideogram 4 variants (lower is better). The fast 8-bit path is about 6% faster with no quality loss; both 4-bit feed-forward builds kept quality but ran slower.
  • The released 8-bit model computes at 16-bit speed. It converts weights back to 16-bit before every matrix multiplication, so 8-bit only shrinks the file.
  • Emulated 4-bit code paths mislead. The common emulated paths ran 3–9× slower than the real torchao kernel.
  • On GB10, 4-bit image models save memory, not time. The memory saving matters more on larger Blackwell GPUs. Compiling the model with torch.compile is the one lever we have not tested.