DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to quantize a trained checkpoint to NVFP4 with Halo

Convert a saved checkpoint to a low-precision NVFP4 format with one Halo run command.

Short answer: Start the Halo image with your checkpoint directory mounted (inferred: standard docker run with a volume); then 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. All steps.

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

  1. Start the Halo image with your checkpoint directory mounted (inferred: standard docker run with a volume).
  2. List the available tools: halo run --list.
  3. Run the quantization: halo run quantize-to-lowp --input_dir <checkpoint_dir> --output_dir <quantized_dir> --format nvfp4. (inferred, check the README)
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer