Skip to content

correct-reports: rewrite the fp32 reports already on the Hub - #12

Merged
alpharomercoma merged 1 commit into
mainfrom
fix/correct-fp32-reports
Oct 4, 2026
Merged

alpharomercoma merged 1 commit into
mainfrom
fix/correct-fp32-reports

Conversation

@alpharomercoma

@alpharomercoma alpharomercoma commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #9. Adds python -m pipeline correct-reports <repo> [--apply], which rewrites only the fp32 xnnpack reports' recipe wording and sizing, records a corrections entry, regenerates the folder's config.json (the app reads its quantization label and fits_phone_budget) and the README, and commits pinned to the revision it read. No .pte is touched. A report is corrected only if its old figures reproduce exactly from the 8da4w sizing, otherwise it is refused.

Dry run on experimentalmachines/SmolLM2-360M-Instruct-ExecuTorch: the 5 xnnpack reports, all reproduced. The corrected .pte estimates are within 1 to 2% of the files (1,511,281,131 B estimated vs 1,496,334,720 B at 2k); the old ones were 255,300,075 B.

Tests: 210 passed, 4 skipped.

🤖 Generated with Claude Code


View with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is enabled.

… they still carry the 8da4w recipe and sizing

`python -m pipeline correct-reports <repo> [--apply]` rewrites, in fp32 xnnpack reports only,
the recipe wording (group size and int4 codes null, fp32 label and description, named with the
toolchain the file was built with) and the sizing (window, table rows, pte estimate), records a
`corrections` entry, regenerates the folder's config.json (the app reads its quantization label
and fits_phone_budget) and the README, and commits pinned to the revision it read. No .pte is
touched. A report is corrected only if its old figures reproduce exactly from the 8da4w sizing
with the configured overhead; otherwise it is refused.

Dry run on experimentalmachines/SmolLM2-360M-Instruct-ExecuTorch: the 5 xnnpack reports, all
reproduced. The corrected .pte estimates are within 1 to 2 percent of the files (1,511,281,131 B
estimated against 1,496,334,720 B at 2k); the old ones were 255,300,075 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alpharomercoma
alpharomercoma merged commit b6f8b9b into main Oct 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant