trace-model
// Validate all intermediate calculations during inference are correct using source of truth values
$ git log --oneline --stat
stars:1,444
forks:274
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nametrace-model
descriptionValidate all intermediate calculations during inference are correct using source of truth values
Using traces.safetensors to validate all intermediate calculations after each layer are correct.
Instructions
-
Setup model you want to test in ./crates/uzu/tests/tracer_test.rs or ./crates/uzu/tests/mod.rs
-
Check the model folder to ensure traces.safetensors exists (it should be automatically downloaded alongside the model)
-
Run
cargo test --release --package uzu --test tracer_test -- test_tracer --exact --nocapture -
Check results to ensure number of violations are less than the limit