v0.53.1 — Live writers for Quant Menu II

v0.53.0 shipped the closed allowlists and validators. v0.53.1 lifts every stub to live wiring.

TorchAO PTQ export

bash
soup export --model ./output --format torchao --quant-config quant.yaml

Closed scheme allowlist with per-scheme kwarg validation:

  • Int4WeightOnly
  • Int8DynActInt4
  • Float8DynActFloat8
  • NVFP4 (Blackwell, SM 10.0 or newer, runtime gate)

Single-shot BNB-4bit merge

bash
soup merge --adapter ./output --save-format 4bit          # standard
soup merge --adapter ./output --save-format 4bit_forced   # forced single-shot path

Writes a BNB-4bit quantized merged checkpoint without the wasteful dequant → merge → requant cycle (Unsloth merged_4bit recipe).

UD / IQ / Apple-ARM GGUF live

bash
soup export --model ./output --format gguf-ud --gguf-flavour UD-Q4_K_XL --calibration-data calib.jsonl

3-stage pipeline: convert_hf_to_gguf.py → imatrix → quantize. Calibration JSONL is required for any UD / IQ rung.

Autopilot pre-quantized detection

detect_prequantized_format(model_id) recognises TheBloke/...-GPTQ, -AWQ, -MLX, GGUF names. soup autopilot now recommends gptq instead of stacking 4bit on top of a pre-quantized checkpoint.

Deploy autopilot scorecard

bash
soup deploy autopilot --target rtx-4090-24gb --base ./output --measure --tasks tasks.jsonl --measure-candidates 4bit,awq

Writes the recipe and deploy script for the chosen --target profile as usual, then measures each candidate quantization of --base against the unquantized base on your tasks file (one prompt and expected answer per line, under the working directory) and prints an OK / MINOR / MAJOR row per candidate, with the same thresholds as soup eval quant-check. The result is cached in ~/.soup/deploy_autopilot_cache.json, keyed on the profile, the base, the tasks file and the candidate list. --target is required (--list shows the profiles), and --measure-candidates defaults to the profile's own quantization. It loads the base and each quantized candidate through transformers, so expect it to take as long as that does.

Tests

  • 7,610 → 7,722 (+112)

See also

Soup is free and Apache-2.0. If it saved you a training run, starring the repo costs nothing and helps most. You can also fund the GPU time behind the work a 4 GB laptop cannot reach.