Skip to content

Revert PR #8108: CUDA stream conflict in prod batch transcription - #8116

Merged
beastoin merged 1 commit into
mainfrom
revert/pr-8108-cuda-stream-conflict
Jun 22, 2026
Merged

beastoin merged 1 commit into
mainfrom
revert/pr-8108-cuda-stream-conflict

Conversation

@beastoin

@beastoin beastoin commented Jun 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Reverts all 14 commits from PR #8108 (e0759ef..9784f63) due to CUDA stream conflict causing 96% error rate on batch /v2/transcribe in production.

Incident

  • Deployed: 2026-06-22 13:22 UTC via gcp_parakeet.yml
  • Detected: T+20m — 256 x 500 vs 10 x 200 on batch endpoint
  • Rolled back: T+25m via kubectl rollout undo (image reverted to 3ed1eb7)
  • Recovered: 14 x 200, 0 x 500 post-rollback

Root cause

Built-in wespeaker speaker embedding triggers CUDA error: operation not permitted when stream is capturing when diarization inference runs concurrently with NeMo's CUDA graph compilation on batch /v2/transcribe. WebSocket streaming was unaffected.

Dev testing passed because it was sequential (model warmup completed before benchmark traffic). Prod has concurrent requests hitting CUDA graph capture and wespeaker inference simultaneously on the same GPU stream.

Fix plan

Will rework in a new PR with CUDA stream isolation — run wespeaker embedding outside the CUDA graph capture context or on a separate CUDA stream.

Refs

🤖 Generated with Claude Code

Review in cubic

…ct in prod

Built-in wespeaker embedding triggers "CUDA error: operation not permitted
when stream is capturing" when diarization runs concurrently with CUDA graph
compilation on batch /v2/transcribe. 96% error rate on batch in prod (256x500
vs 10x200 in first 20 min). WebSocket streaming unaffected.

Root cause: dev testing was sequential (warmup then traffic), but prod has
concurrent requests hitting CUDA graph capture and wespeaker inference
simultaneously on the same GPU stream.

Reverts all 14 commits from e0759ef..9784f63.
Will rework with CUDA stream isolation in a new PR.

Refs: #8108, #8111

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@beastoin
beastoin merged commit 562f5f8 into main Jun 22, 2026
4 checks passed
@beastoin
beastoin deleted the revert/pr-8108-cuda-stream-conflict branch June 22, 2026 13:56
beastoin added a commit that referenced this pull request Jun 23, 2026
…tion (#8116)"

This reverts commit 562f5f8, reversing
changes made to 415d028.
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