Repository navigation
Revert PR #8108: CUDA stream conflict in prod batch transcription - #8116
Merged
Merged
Conversation
…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]>
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 14 commits from PR #8108 (e0759ef..9784f63) due to CUDA stream conflict causing 96% error rate on batch
/v2/transcribein production.Incident
gcp_parakeet.ymlkubectl rollout undo(image reverted to3ed1eb7)Root cause
Built-in wespeaker speaker embedding triggers
CUDA error: operation not permitted when stream is capturingwhen 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