Who it is forAn engineer preparing a trained model for cheaper inference who has a checkpoint directory from a Halo run.
The problemLow-precision formats need a conversion step that is easy to get wrong when done by hand.
The outcomeA quantized NVFP4 checkpoint written to a new output directory.
What you need first
- Docker installed on a host with an NVIDIA GPU (Hopper H100/H200 or Blackwell B200/B300 images are published)
- Network access to public.ecr.aws to pull the Halo image anonymously
- A Hugging Face model or the example configs in the examples/ folder
- Enough GPU memory for the chosen model and method (the README shows single-GPU LoRA and 8-GPU runs)
Steps
- Start the Halo image with your checkpoint directory mounted (inferred: standard docker run with a volume).
- List the available tools:
halo run --list. - Run the quantization:
halo run quantize-to-lowp --input_dir <checkpoint_dir> --output_dir <quantized_dir> --format nvfp4. (inferred, check the README) - Load the output with the standard loader for your inference server to confirm it is readable.
Prompt for your agent
In the whitecircle/halo repo, run `halo run quantize-to-lowp` with --input_dir <checkpoint_dir> and --output_dir <quantized_dir> and --format nvfp4 inside the Halo image. Expected output: a quantized checkpoint in the output directory. Verify that the input and output paths are different directories before running.
Caveat. The README gives the NVFP4 flag but does not state which inference engines accept the quantized output, so test it in your serving stack first.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for whitecircle/halo and "Quantize a trained checkpoint to NVFP4"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer