Repository navigation
Revert PR #8428: parakeet auto attention + duration guard - #8485
Merged
Merged
Conversation
Reverts auto attention switching, BF16 dtype tracking, and threshold default change. Restores pre-PR state. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Reverts soundfile import, pre-batch duration guard improvements, metrics poisoning fix, and _duration_limit_detail helper. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Removes BF16 recast and attention switch tests added by PR #8428. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Removes FLAC detection, unprobeable upload rejection, and metrics poisoning tests added by PR #8428. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Removes PARAKEET_ATTENTION_MODE, PARAKEET_AUTO_ATTN_THRESHOLD, PARAKEET_LOCAL_ATTN_CONTEXT, and PARAKEET_MAX_FILE_DURATION env vars. Co-Authored-By: Claude Opus 4.6 <[email protected]>
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.
Summary
Reverts all changes from PR #8428 and related follow-up commits (Phase 2 enable + rollback) to restore main to a clean state.
Why: Phase 2 deployment of auto attention mode caused 14 OOMs and 22% error rate in 27 minutes — root cause was torch.compile being disabled for auto mode, which increased VRAM ~3x under production batch load. Main needs to be clean before re-landing the safe subset of changes.
What's reverted:
gpu_worker.py— BF16 dtype tracking, auto attention threshold default change (600→300)main.py— soundfile import, pre-batch duration guard improvements, metrics poisoning fixtest_parakeet_gpu_worker.py— BF16 recast and attention switch teststest_parakeet_endpoints.py— FLAC detection, unprobeable upload, metrics poisoning testsprod_omi_parakeet_values.yaml— removes 4 env vars (ATTENTION_MODE, THRESHOLD, LOCAL_CONTEXT, MAX_FILE_DURATION)What happens next: A new clean PR will re-land only the proven-safe changes (duration guard + BF16 recast) with
ATTENTION_MODE=full+MAX_FILE_DURATION=600.Reverts #8428
🤖 Generated with Claude Code