Skip to content

CICD-427 · Model checksum verification ​

Encyclopedia · AI and LLM application pipelines · All snippets

Previous · CICD-426 · Next · CICD-428

1. Where it fits ​

  • Placement CI artifact gate.
  • Prerequisites approved synthetic evaluation data, authorized model artifacts and pinned runtime tools.
  • Platforms local-linux, github-actions, gitea-actions.

2. Copy the snippet ​

bash
cd model
sha256sum --strict --check ../model.sha256

3. How it works ​

The trusted checksum manifest identifies each model file. Strict verification fails on missing, malformed, or mismatching entries before serving.

4. Verify the result ​

Generate and protect checksums from a trusted release source. A modified weight shard should fail.

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