Skip to content

CICD-449 · Model quantization pipeline ​

Encyclopedia · GPU and inference infrastructure · All snippets

Previous · CICD-448 · Next · CICD-450

1. Where it fits ​

  • Placement CI run step or authorized lab terminal.
  • Prerequisites dedicated GPU lab, approved images and model revision, fixed benchmark profile.
  • Platforms local-linux, github-actions, gitea-actions.
  • Parameters GGUF_FLOAT.

2. Copy the snippet ​

bash
llama-quantize "${GGUF_FLOAT:?}" model-q4_k_m.gguf Q4_K_M
sha256sum model-q4_k_m.gguf > model-q4_k_m.sha256

3. How it works ​

The command records the content hash of the given output. Transfer the manifest with integrity and verify it at the consumer.

4. Verify the result ​

Run a pinned llama.cpp build on an approved source GGUF. Compare quality and throughput against the original.

Validation syntax-validated (Bash parse). Status definitions.