Skip to content

Drop the int8a8 variant from the package - #8

Merged
benITo47 merged 1 commit into
release-preparefrom
remove-int8a8
Nov 19, 2026
Merged

benITo47 merged 1 commit into
release-preparefrom
remove-int8a8

Conversation

@benITo47

Copy link
Copy Markdown
Collaborator

Why

IgorSwat suggested on #2 that we drop int8a8 from the Python package: it tends to be problematic, and it has already crashed on CUDA.

What changes

  • TTS.from_pretrained(variant=...) accepts fp32, fp16, int8 (the default) and int4; int8a8 is gone from VARIANTS.
  • The per-token activation rounding (round_per_token and its forward hooks) is removed from reverb_tts/model.py.
  • A checkpoint whose config asks for quantized activations now fails to load with NotImplementedError, the same way rotated checkpoints do, instead of loading without the rounding it was made for.
  • The README, docs/reference.md and docs/usage.md no longer list int8a8.

The model/safetensors/int8a8/ files on Hugging Face are untouched; this PR changes only the package and its docs.

Testing

  • pytest: 50 passed. The int8a8 hook test is replaced by one that checks the rejection.
  • ruff check: passes.

🤖 Generated with Claude Code

int8a8 ran each projection's input through per-token int8 rounding, and has crashed on
CUDA. The package now offers fp32, fp16, int8 and int4, and a checkpoint with quantized
activations fails to load with a clear error instead.
@benITo47
benITo47 requested a review from IgorSwat November 19, 2026 11:49
@benITo47
benITo47 merged commit fab22d4 into release-prepare Nov 19, 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.

2 participants