Skip to content

Revert PR #8428: parakeet auto attention + duration guard - #8485

Merged
beastoin merged 5 commits into
mainfrom
revert/parakeet-pr-8428
Jun 28, 2026
Merged

beastoin merged 5 commits into
mainfrom
revert/parakeet-pr-8428

Conversation

@beastoin

@beastoin beastoin commented Jun 28, 2026 •

Copy link
Copy Markdown
Collaborator

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 fix
  • test_parakeet_gpu_worker.py — BF16 recast and attention switch tests
  • test_parakeet_endpoints.py — FLAC detection, unprobeable upload, metrics poisoning tests
  • prod_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

Review in cubic

beastoin and others added 5 commits June 28, 2026 04:39
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]>
@beastoin
beastoin merged commit cefb227 into main Jun 28, 2026
4 checks passed
@beastoin
beastoin deleted the revert/parakeet-pr-8428 branch June 28, 2026 04:41
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