Repository navigation
Conversation
chmjkb
force-pushed
the
@chmjkb/quant-small-m
branch
from
November 4, 2026 12:31
0d254be to
bf24cd4
Compare
chmjkb
force-pushed
the
@chmjkb/quant-moonshine-models
branch
from
November 4, 2026 12:31
eafb11b to
9816e38
Compare
chmjkb
force-pushed
the
@chmjkb/quant-small-m
branch
from
November 5, 2026 09:11
0d2fe22 to
fcbcf19
Compare
…against the dequantized float reference
chmjkb
force-pushed
the
@chmjkb/quant-moonshine-models
branch
from
November 5, 2026 11:42
9816e38 to
a709377
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Part of #70, phase 4: a GPU test that runs Moonshine from int8 and int4 checkpoints.
test/zoo/moonshine/model.gpu.test.tsbuilds a Moonshine checkpoint in Hugging Face names, quantizes every Linear, and compares the quantized model against the CPU-dequantized float reference and the float model, in int8 and int4. 4 cases.Measured on the real Hub files with
runntime quantize --bits 8 --group-size 32from the f16 files (this Mac, f16 math):int4 raises Tiny's WER to 10.7% and is not faster. Moonshine runs at float speed on int8 because decode is bound by dispatch count, not by weight bytes.
Introduces a breaking change?
Type of change
Testing instructions
pnpm typecheckpnpm --filter runntime exec vitest run --project gpu test/zoo/moonshineRelated issues
Part of #70. Stacked on #96.
Checklist
Additional notes
cosine, quantize every Linear, dequantized reference) now exist in the MiniLM, EmbeddingGemma 2 and Moonshine tests; they move intotest/core/weights/checkpoint.tsonce these land.models.tsentries come with the upload.