Skip to content

feat(imf): int4 export tier (MatMulNBits) + distill eval fixes - #31

Merged
ronaldtse merged 7 commits into
mainfrom
feat/int4-tier
Aug 23, 2026
Merged

feat(imf): int4 export tier (MatMulNBits) + distill eval fixes#31
ronaldtse merged 7 commits into
mainfrom
feat/int4-tier

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

  • additional precision rung on the tha-g2p-small-1.0 release: int4 (MatMulNBits blockwise) zip uploaded as a release asset; index entry registers it as tha-g2p-small-1.0-int4 (202MB vs int8 257MB)
  • parity 0.0734pp / 600 samples; quality cost ~0.17pp CER vs int8
  • exporter/schema int4 support lands separately on feat/int4-tier

Test plan

  • CI green
  • Model.load("tha-g2p-small-1.0-int4") resolves (Python/TS; Ruby will fail loudly on MatMulNBits — expected)

Ronald Tse added 7 commits August 23, 2026 10:47
Qwen3.8-style quantization-ladder move for the client tier: int4
halves int8 again (~246MB -> ~130MB expected for ByT5-small) at some
quality cost, measured by the parity gate (int4 limit 3.0pp). Client
crystals only — the Ruby gem's bundled ORT cannot execute
MatMulNBits; int4 zips must fail loudly on old runtimes, never fall
back silently.
…her_volume

ara-diac-tiny writes its checkpoints to the secryst volume; the eval
hardcoded the teacher's volume and from_pretrained fell through to the
hub (repo_type error).
Custom students inherit T5's default max_length=20; 1400-byte windows
clamp max_new_tokens to zero and generate raises.
@ronaldtse
ronaldtse merged commit 0830e1b into main Aug 23, 2026
7 of 10 checks passed
@ronaldtse ronaldtse mentioned this pull request Aug 23, 2026
1 task
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