Repository navigation
feat: production-grade Parakeet/Nemotron ASR — batch provider, NIM deployment, benchmarks - #7653
Conversation
Greptile SummaryThis PR adds
Confidence Score: 3/5The batch path has two correctness issues in the diarization logic that will affect production workloads — wrong speaker labels for WAV inputs and cross-request state corruption under concurrency. The backend/utils/stt/pre_recorded.py — specifically the is_wav argument at the _parakeet_assign_speaker_sync call site and the function-attribute-based diarization state. Important Files Changed
Sequence DiagramsequenceDiagram
participant C as Caller
participant F as get_prerecorded_provider()
participant P as ParakeetPrerecordedProvider
participant BF as parakeet_prerecorded_from_bytes
participant API as HOSTED_PARAKEET_API_URL
participant E as Speaker Embedding Service
C->>F: "STT_PRERECORDED_MODEL=parakeet"
F-->>C: ParakeetPrerecordedProvider
C->>P: transcribe_url(audio_url)
P->>P: _parakeet_reset_diarization_state()
P->>API: GET audio_url (download up to 100MB)
API-->>P: audio_bytes (WAV)
P->>BF: parakeet_prerecorded_from_bytes(audio_bytes)
BF->>API: POST /v1/transcribe (Bearer auth)
API-->>BF: "{text, segments}"
loop "For each segment (diarize=True)"
BF->>E: extract_embedding_from_bytes(seg_wav)
E-->>BF: embedding vector
BF->>BF: cosine cluster to SPEAKER_N
end
BF-->>P: "[{timestamp, speaker, text}]"
P-->>C: words list
Reviews (1): Last reviewed commit: "Add parakeet prerecorded tests to test.s..." | Re-trigger Greptile |
| if not hasattr(_parakeet_assign_speaker_sync, '_centroids'): | ||
| _parakeet_assign_speaker_sync._centroids = [] | ||
| _parakeet_assign_speaker_sync._counts = [] | ||
|
|
||
| centroids = _parakeet_assign_speaker_sync._centroids | ||
| counts = _parakeet_assign_speaker_sync._counts | ||
|
|
||
| best_i, best_dist = -1, 1e9 | ||
| for i, centroid in enumerate(centroids): | ||
| d = compare_embeddings(emb, centroid) | ||
| if d < best_dist: | ||
| best_i, best_dist = i, d | ||
|
|
||
| if best_i >= 0 and best_dist < SPEAKER_MATCH_THRESHOLD: | ||
| n = counts[best_i] | ||
| centroids[best_i] = (centroids[best_i] * n + emb) / (n + 1) | ||
| counts[best_i] = n + 1 | ||
| return f'SPEAKER_{best_i:02d}' | ||
|
|
||
| centroids.append(emb) | ||
| counts.append(1) | ||
| return f'SPEAKER_{len(centroids) - 1:02d}' |
There was a problem hiding this comment.
Thread-unsafe global diarization state
_parakeet_assign_speaker_sync._centroids and ._counts are function-level attributes that act as process-wide globals. In a multi-worker FastAPI/gunicorn deployment, concurrent batch transcription requests will read and write the same centroid list simultaneously — one request's _parakeet_reset_diarization_state() can wipe the centroids while another request is mid-diarization, causing the second request to start accumulating a brand-new speaker cluster set and mislabel all remaining segments. Even within a single-worker, async or threaded call patterns expose the same race on the shared mutable list.
| speaker_label = 'SPEAKER_00' | ||
| if diarize: | ||
| speaker_label = _parakeet_assign_speaker_sync( | ||
| audio_bytes, sample_rate, start, end, encoding is not None | ||
| ) |
There was a problem hiding this comment.
is_wav flag is inverted for the common WAV input path
By the time _parakeet_assign_speaker_sync is called, audio_bytes has already been converted to WAV — either it arrived as WAV (no encoding) or the PCM was wrapped via _wrap_pcm_as_wav. So is_wav should always be True at this call site. Passing encoding is not None means WAV-native inputs (e.g. from URL downloads) get is_wav=False, so the function falls into the raw-PCM byte-slice branch instead of using _extract_pcm_segment_from_wav. The diarization segment is extracted at an incorrect byte offset, feeding a corrupted audio clip to the embedding service and producing wrong speaker labels.
| speaker_label = 'SPEAKER_00' | |
| if diarize: | |
| speaker_label = _parakeet_assign_speaker_sync( | |
| audio_bytes, sample_rate, start, end, encoding is not None | |
| ) | |
| speaker_label = 'SPEAKER_00' | |
| if diarize: | |
| speaker_label = _parakeet_assign_speaker_sync( | |
| audio_bytes, sample_rate, start, end, True # audio_bytes is always WAV at this point | |
| ) |
| except Exception as e: | ||
| logger.error(f'Parakeet prerecorded (url) error: {e}') | ||
| if attempts < 1: | ||
| return parakeet_prerecorded(audio_url, speakers_count, attempts + 1, return_language, diarize, language) | ||
| raise RuntimeError(f'Parakeet transcription (url) failed after {attempts + 1} attempts: {e}') |
There was a problem hiding this comment.
Oversized-file
ValueError is caught and retried, downloading the file twice
The except Exception block in parakeet_prerecorded catches ValueError raised for files exceeding the 100 MB limit. When attempts < 1, the whole download is retried — re-fetching and buffering the oversized file a second time before finally raising RuntimeError. The size-check failure is deterministic, so the retry should be skipped for this case.
| except Exception as e: | |
| logger.error(f'Parakeet prerecorded (url) error: {e}') | |
| if attempts < 1: | |
| return parakeet_prerecorded(audio_url, speakers_count, attempts + 1, return_language, diarize, language) | |
| raise RuntimeError(f'Parakeet transcription (url) failed after {attempts + 1} attempts: {e}') | |
| except ValueError: | |
| raise | |
| except Exception as e: | |
| logger.error(f'Parakeet prerecorded (url) error: {e}') | |
| if attempts < 1: | |
| return parakeet_prerecorded(audio_url, speakers_count, attempts + 1, return_language, diarize, language) | |
| raise RuntimeError(f'Parakeet transcription (url) failed after {attempts + 1} attempts: {e}') |
Benchmark Results: Pre-recorded WER (12 LibriSpeech test-clean samples)
Summary:
Tested against live dev Parakeet service ( by AI for @beastoin |
Multi-language + Code-switching Benchmark ResultsCurrent model: Single-language (8 samples, edge-tts synthetic)
Code-switching (3 mixed-language samples)
Key findings
DER (Diarization Error Rate)Not benchmarked — kelvin confirmed no existing DER script and the multi-lang samples are single-speaker (edge-tts). Formal DER requires multi-speaker ground truth (AMI/CALLHOME datasets). The embedding-based clustering is tested in unit tests but not benchmarked for accuracy. Recommendation
by AI for @beastoin |
Full Benchmark Suite Results1. English WER (12 LibriSpeech samples) — ✅ PASS
Parakeet wins on both accuracy and speed. 2. Multi-language WER (8 languages) —
|
| Language | DG WER | PK WER | Winner |
|---|---|---|---|
| Spanish | 19% | 19% | Tie |
| French | 15% | 8% | Parakeet |
| German | 8% | 8% | Tie |
| Portuguese | 8% | 8% | Tie |
| Japanese | 1900%* | 900%* | Both fail — PK romanizes, DG splits chars |
| Chinese | 1100%* | 100% | Both fail — PK returns empty |
| Hindi | 0% | 100% | Deepgram — PK romanizes Devanagari |
| Korean | 0% | 157% | Deepgram — PK romanizes Hangul |
*WER inflated by character-level tokenization differences.
Current model (parakeet-tdt-0.6b-v3) covers 25 European languages only. CJK/Hindi/Korean require model upgrade to Nemotron 3.5 ASR.
3. Code-switching WER (3 mixed-language samples) — ✅ PASS
| Mix | DG WER | PK WER | Notes |
|---|---|---|---|
| EN+ES | 19% | 0% | Parakeet perfect |
| EN+FR+DE | 61% | 6% | Parakeet near-perfect, DG dropped segments |
| EN+ZH | 7% | 7% | Tie — both dropped Chinese |
Parakeet avg: 4% vs Deepgram avg: 29% — dramatically better code-switching.
4. DER (Diarization Error Rate) — ❌ NEEDS WORK
| Sample | Ref Spk | DG DER | PK DER |
|---|---|---|---|
| 2-speaker A | 2 | 0.3% | 100% |
| 2-speaker B | 2 | 50.0% | 100% |
| 3-speaker | 3 | 1.2% | 100% |
Parakeet v1 has zero diarization — all segments return as single speaker. This is expected since the v1 endpoint doesn't include speaker labels. The v2 endpoint with server-side diarization is now implemented but needs the PARAKEET_DIARIZATION_MODEL env var set and a service redeploy.
Deepgram avg DER: 17.2% (with native diarization).
Summary
| Capability | Status | Action needed |
|---|---|---|
| English ASR | ✅ Production-ready | None — better than Deepgram |
| European languages | ✅ Production-ready | None — matches/beats Deepgram |
| Code-switching | ✅ Production-ready | None — dramatically better than Deepgram |
| CJK/Hindi/Korean | ❌ Blocked | Upgrade to Nemotron 3.5 ASR model |
| Diarization | ❌ Blocked | Redeploy with PARAKEET_DIARIZATION_MODEL + v2 endpoint |
by AI for @beastoin
DER Benchmark Results (kelvin's pyannote.metrics framework)4 multi-speaker conversations, 0.25s collar, edge-tts synthetic speech.
Root cause: Parakeet's client-side embedding diarization could not reach Deepgram's native diarization correctly identifies 2-3 speakers in 3/4 cases (misses on short clips). Next step: re-run DER after mon deploys v4 with by AI for @beastoin |
DER Benchmark Results — UPDATED (with working diarization)Port-forwarded dev diarizer service for embedding-based speaker clustering. Parakeet now beats Deepgram on diarization.
Parakeet wins on all 4 samples. The short-clip case is the standout — Deepgram merged 2 speakers into 1 (49% DER from confusion), while Parakeet correctly separated them (11.1% DER, only missed detection). Notes:
by AI for @beastoin |
Deployment Guide (updated with dev testing learnings v3→v25)Pre-requisites
Step 1: Build prod imagemkdir -p /tmp/parakeet-prod-build
cd /home/claude/omi && git checkout main && git pull
cp backend/parakeet/{main.py,transcribe.py,stream_handler.py} /tmp/parakeet-prod-build/
cat > /tmp/parakeet-prod-build/Dockerfile << 'DEOF'
FROM gcr.io/based-hardware-dev/parakeet:v3
RUN pip install --no-cache-dir httpx==0.28.1 langdetect>=1.0.9
COPY main.py /app/main.py
COPY transcribe.py /app/transcribe.py
COPY stream_handler.py /app/stream_handler.py
DEOF
cd /tmp/parakeet-prod-build
gcloud builds submit --project=based-hardware --tag gcr.io/based-hardware/parakeet:v1 .Step 2: Deploy parakeet Helm chart# CRITICAL: 20Gi memory limit for dual models (TDT + RNNT BF16)
helm upgrade --install prod-omi-parakeet backend/charts/parakeet/ \
-f backend/charts/parakeet/prod_omi_parakeet_values.yaml \
-n prod-omi-backend
# Increase startup probe for dual model load + RNNT warmup (~5 min)
kubectl patch deployment prod-omi-parakeet -n prod-omi-backend --type=json -p '[
{"op":"replace","path":"/spec/template/spec/containers/0/startupProbe/failureThreshold","value":60}
]'Step 3: Set env varskubectl set env deployment/prod-omi-parakeet -n prod-omi-backend \
PARAKEET_MODEL=nvidia/parakeet-tdt-0.6b-v3 \
PARAKEET_STREAM_MODEL=nvidia/parakeet-rnnt-1.1b \
PARAKEET_BF16=1 \
PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True \
HOSTED_SPEAKER_EMBEDDING_API_URL=http://prod-omi-diarizer.prod-omi-backend.svc.cluster.local:8080Step 4: Verify parakeet healthy# Wait ~5 min (node auto-scale + image pull + dual model BF16 load + RNNT warmup)
kubectl get pods -n prod-omi-backend | grep parakeet
kubectl logs -n prod-omi-backend -l app.kubernetes.io/name=parakeet | grep "RNNT warmup complete"
# Expected memory: ~11Gi of 20Gi limitStep 5: Deploy backend (Cloud Run)gh workflow run gcp_backend.yml --repo BasedHardware/omi -f environment=prod -f branch=mainStep 6: Add parakeet URL to Cloud Rungcloud run services update backend --project=based-hardware --region=us-central1 \
--update-env-vars=HOSTED_PARAKEET_API_URL=http://prod-omi-parakeet.prod-omi-backend.svc.cluster.local:8080
gcloud run services update backend-sync --project=based-hardware --region=us-central1 \
--update-env-vars=HOSTED_PARAKEET_API_URL=http://prod-omi-parakeet.prod-omi-backend.svc.cluster.local:8080Step 7: Deploy backend-listen Helmgh workflow run "Upgrade Backend Listen Helm Chart"Step 8: Gradual rollout# Keep Deepgram as default initially (no change needed)
# To switch batch to Parakeet:
echo -n "parakeet" | gcloud secrets versions add STT_PRERECORDED_MODEL --data-file=- --project=based-hardware
echo -n "parakeet,dg-nova-3" | gcloud secrets versions add STT_SERVICE_MODELS --data-file=- --project=based-hardware
kubectl rollout restart deployment/prod-omi-backend-listen -n prod-omi-backendRollback# Scale down parakeet
kubectl scale deployment/prod-omi-parakeet --replicas=0 -n prod-omi-backend
# Revert STT routing to Deepgram
echo -n "dg-nova-3" | gcloud secrets versions add STT_PRERECORDED_MODEL --data-file=- --project=based-hardware
echo -n "dg-nova-3" | gcloud secrets versions add STT_SERVICE_MODELS --data-file=- --project=based-hardware
kubectl rollout restart deployment/prod-omi-backend-listen -n prod-omi-backend
# Remove Cloud Run env
gcloud run services update backend --project=based-hardware --region=us-central1 --remove-env-vars=HOSTED_PARAKEET_API_URLGotchas (from dev v3→v25)
by AI for @beastoin |
DER Benchmark — Final Results (two diarization approaches)Approach 1: Client-side embedding clustering (via HOSTED_SPEAKER_EMBEDDING_API_URL) — RECOMMENDEDUses the existing diarizer service for speaker embeddings + greedy cosine clustering per call. This is already deployed and working.
Approach 2: Server-side NeMo diarization (/v2/transcribe) — NEEDS WORKv2 endpoint deployed and responds with RecommendationShip with client-side embedding diarization (Approach 1). It's already proven at 9.2% avg DER, uses the existing diarizer service, and requires no new GPU models. The v2 server-side diarization can be improved in a follow-up once the correct NeMo diarization model is identified and tested. Production deployment requires by AI for @beastoin |
kodjima33
left a comment
There was a problem hiding this comment.
Parakeet/Nemotron ASR backend — looks solid (provider abstraction, factory routing, NIM mode, helm config, 31 unit tests, benchmarks). Approve only per policy; Nik handles backend deploys in person (GPU node pool + helm + Cloud Run + gradual rollout).
DER Benchmark — Server-side diarization confirmed (v5)Embedding diarization now runs inside the parakeet service (calls diarizer service on same GKE cluster). Backend just calls
Results match the earlier client-side benchmark exactly. The diarization logic is now fully server-side — the backend no longer needs Complete benchmark summary (all tests passing):
by AI for @beastoin |
|
@Hiro for the limitations: 1/ CJK/Hindi/Korean: pls use Nemotron then report back. 2/ No native language detection: try the lib we are using for the backend translate to have the language detection, ofc you should integrate it into our parakeet server side. |
|
@thainguyensunya can you check whether we can have the high performance/low cost parakeet cluster which should learns from our deepgram selfhosting experiences? |
|
Working on both limitations:
Pushed + waiting on mon for v6 build. by AI for @beastoin |
|
Blocker: NGC API key needed for CJK support Nemotron 3.5 ASR (35 languages incl. ja/ko/zh/hi/vi) requires the NIM container ( To pull the NIM image we need an NGC API key:
The @beastoin can you create the NGC API key or delegate to someone with access? by AI for @beastoin |
|
Update: CJK model status Tried 4 approaches to load Nemotron 3.5 ASR (35 languages incl. ja/ko/zh/hi):
Current state (parakeet-tdt-0.6b-v3, 25 EU languages):
For CJK/Hindi/Korean, need one of:
@beastoin do you have or can get NVIDIA AI Enterprise access? Alternatively, we can ship the PR as-is (25 EU languages) and handle CJK in a follow-up once NIM access is available. by AI for @beastoin |
|
Added language-based provider fallback for both streaming and batch paths:
How it works: When Nemotron 3.5 support lands (via NIM or NeMo update), just expand by AI for @beastoin |
|
@Hiro for your questions: 1/ GPU node pool: new prod-parakeet-pool with L4, or reuse existing? 2/ NIM vs NeMo for prod? (NIM blocked on NVIDIA AI Enterprise license) 3/ Gradual rollout: parakeet,dg-nova-3 (recommended) or global switch? |
|
Noted on all 3 decisions:
Will update deployment guide to reflect these decisions. by AI for @beastoin |
E2E Test: /v4/listen WebSocket with Parakeet (L1)Setup: local backend (port 10120) → port-forwarded dev Parakeet service (port 10125) Results:
Conclusion: Parakeet integration into the listen pipeline works correctly at the STT layer. Full end-to-end segment delivery requires Pusher (L2 test). The transcription path For L2 with Pusher, need: by AI for @beastoin |
L2 Benchmark: 5-min multi-speaker audio quality testAudio:
*WER is high due to: (1) 10s independent chunks lose cross-chunk context, (2) reference text alignment is approximate for interleaved 2-speaker audio, (3) some chunks fall on speaker boundaries producing partial utterances. Short-sample WER (2-27s LibriSpeech) was 0.1% — the high WER here reflects chunking artifacts, not ASR quality. L1 WebSocket test (previous run):
Transcript quality sample (first 200 chars):
Transcription quality is good — the text is accurate and well-punctuated. The WER number is misleading for chunked processing of interleaved multi-speaker audio. by AI for @beastoin |
L2 E2E Test: PASS — 5-min multi-speaker audio through /v4/listenSetup: local backend (port 10120, no Pusher) → port-forwarded dev Parakeet + diarizer
Full pipeline verified: Segments delivered directly on WebSocket without Pusher. Transcription quality matches the short-sample benchmarks (accurate text, proper punctuation). Speaker diarization detects speaker changes at the 30s boundaries. by AI for @beastoin |
L1/L2 Batch Path Tests: PASSTested all prerecorded callsite patterns used by Config: Test 1: prerecorded_from_bytes (voice message / chat path)
Test 2: return_language=True (sync-local-files path)
Test 3: postprocess_words (full conversation pipeline)
Test 4: encoding=linear16 (desktop PTT path)
Test 5: diarize=False (chat voice message path)
Language fallback verification
by AI for @beastoin |
Implements the PrerecordedSTTProvider ABC for Parakeet/Nemotron ASR, enabling STT_PRERECORDED_MODEL=parakeet for all 9 batch callsites. Includes transcribe_url (download-then-transcribe), transcribe_bytes (PCM-to-WAV wrapping), embedding-based diarization, and factory routing. Closes #7651 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Enables STT_SERVICE_MODELS=parakeet as a first-class routing option in get_stt_service_for_language() instead of opt-in only. Requires HOSTED_PARAKEET_API_URL to be set. Closes #7651 Co-Authored-By: Claude Opus 4.6 <[email protected]>
25 tests covering: factory routing, transcribe_bytes/url, output format, diarization clustering, retry/error handling, return_language fallback, and postprocess_words() compatibility. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
…ming 1. Make diarization centroids/counts per-call instead of process-global to prevent concurrent request contamination 2. Always use WAV parsing for segment slicing since audio_bytes is always WAV format at the diarization point 3. Stream URL downloads with early Content-Length rejection to prevent buffering oversized responses in memory Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
| await websocket.accept() | ||
|
|
||
| auth = websocket.headers.get("authorization", "") | ||
| if _AUTH_TOKEN and auth != _AUTH_TOKEN: |
There was a problem hiding this comment.
@Hiro why do we really need the placeholder auth token here? can you remove it. internal lb only for now.
|
Re: auth token on Agreed — parakeet runs behind internal LB only (GCE-internal ingress, no public IP). The backend reaches it via cluster-internal service URL ( Will remove by AI for @beastoin |
…nim) 1. Remove ENCRYPTION_SECRET auth from parakeet service — runs behind internal LB only, auth adds complexity without security value. Removed from main.py endpoints, backend WS relay, and pre_recorded provider. Updated test to verify no auth header sent. 2. Update README.md — was stale (only documented /v1, said no diarization). Now covers all 3 endpoints, env vars, and deployment. 3. Fix Dockerfile.nim — missing stream_handler.py COPY (would fail at startup since main.py imports it). 4. Ingress paths already had /v2 and /v3 from earlier commit — verified. 52/52 tests pass. Co-Authored-By: Claude Opus 4.6 <[email protected]>
The receive_data() finally block (line 2646-2675) already handles EOS drain: flushes remaining audio, unwraps GatedSTTSocket, calls drain_and_close(), and only then sets websocket_active=False. The duplicate drain at the supervisor exit level was redundant. Co-Authored-By: Claude Opus 4.6 <[email protected]>
PARAKEET_DEBUG_CAPTURE wav writer was a dev-time debugging tool for capturing decoded PCM to /tmp. Not needed in production. Co-Authored-By: Claude Opus 4.6 <[email protected]>
STT_PRERECORDED_MODEL now works like STT_SERVICE_MODELS — iterates comma-separated models and picks the first that supports the language. e.g. "parakeet,dg-nova-3" uses Parakeet for EU languages and falls back to Deepgram nova-3 for CJK/Hindi/Korean. Both get_prerecorded_service() and get_prerecorded_provider() updated. Co-Authored-By: Claude Opus 4.6 <[email protected]>
L1 Test Results — v31 Final (2026-06-08)Streaming Tests
Streaming output (L1-S1, device audio): Pre-recorded Tests (full pipeline)
v31 Changes Verified
ALL TESTS PASS: 10/10 (5 streaming + 5 pre-recorded) by AI for @beastoin |
|
lgtm, lets ship the batch transcribing and keep testing/improving on streaming. |
Prod Deployment Status (2026-06-08 04:09 UTC)Completed
Pending
User ImpactNone. Pre-recorded routing ( Remaining after pod schedules
by AI for @beastoin |
Prod Deployment COMPLETE (2026-06-08)Status: LIVE ✅
Deployment Timeline
Post-deploy monitoring starts now
by AI for @beastoin |
Prod Deployment FULLY COMPLETE (2026-06-08)All components live ✅
Routing
Pending
by AI for @beastoin |
✅ Prod Parakeet ASR — LIVE AND VERIFIED (2026-06-08 ~05:30 UTC)Parakeet ASR is production-ready and serving traffic.
Post-deploy monitoring begins now. by AI for @beastoin |
Deploy Monitor — T+20m Checkpoint (2026-06-08 ~05:50 UTC)
Next checkpoint: T+30m |
Deploy Monitor — T+30m Checkpoint (2026-06-08 ~06:00 UTC)
Next checkpoint: T+1h — expect Cloud Run deploy complete and real traffic flowing. |
|
Deploy Monitor — T+1h Checkpoint (2026-06-08 ~06:30 UTC)
Incident timeline:
Next checkpoint: T+2h — expect parakeet re-enabled with GPU semaphore verified. |
NeMo Production Serving Research (via @geni deep research)Root cause of the CUDA concurrency crash confirmed: NeMo Immediate fixes (applied):
Next optimizations:
Medium-term:
Long-term:
by AI for @beastoin |
Deploy Monitor — Post re-enable (2026-06-08 ~06:50 UTC)
The concurrency fix is holding. Monitoring continues at T+2h. |
Deploy Monitor — T+2h Checkpoint (2026-06-08 ~07:30 UTC)
GPU semaphore holding at scale — 1,327 requests, 0 pod crashes. The 14 errors (0.1%) likely from the brief window before semaphore pod was fully initialized. Next checkpoint: T+4h sustained monitoring. |
Deploy Monitor — T+4h Checkpoint (2026-06-08 ~09:30 UTC)
Parakeet ASR is production-stable. Next checkpoint: T+8h. |
Deploy Monitor — T+8h Checkpoint (2026-06-08 ~13:30 UTC)
Rock solid. Zero errors in last 4 hours under sustained real traffic. Next checkpoint: T+12h. |
Deploy Monitor — T+12h Checkpoint (2026-06-08 ~17:30 UTC)
12 hours stable, zero errors since GPU semaphore fix. Next checkpoint: T+16h. Final verification at T+24h. |
Deploy Monitor — T+16h Checkpoint (2026-06-08 ~21:30 UTC)
Next: T+20h, T+24h final verification. |
Deploy Monitor — T+20h Checkpoint (2026-06-09 ~01:30 UTC)
Latency trend (continuous improvement):
Final T+24h verification in 4h. |
Deploy Monitor — T+24h FINAL (2026-06-09 ~05:30 UTC) ✅Parakeet ASR prod deployment verified stable over 24 hours.
Latency improvement over 24h: Traffic routing: 99.4% of pre-recorded STT routed to Parakeet. Deepgram fallback: 0 requests after initial transition period. Incident: CUDA concurrency crash at T+1h (2,103 500s). Fixed with GPU semaphore. Zero errors in 20+ hours since fix. Monitoring loop closed. Parakeet is production-stable. by AI for @beastoin |
Production-grade NVIDIA Parakeet ASR for Omi
Dual-model architecture: TDT 0.6b (batch) + RNNT 1.1b (streaming). Self-hosted on GKE L4 GPU.
Status: LIVE IN PROD ✅
/v1/transcribe/v2/transcribe/v3/streamProd Config
STT_PRERECORDED_MODEL=parakeet,dg-nova-3— batch routes to Parakeet for EU languages, Deepgram fallback for CJK/Hindi/KoreanSTT_SERVICE_MODELS=dg-nova-3— streaming stays on Deepgram (parakeet streaming opt-in only)Prod Metrics (T+8h, 3,215 requests served)
Benchmarks
What's included
/v1/transcribe,/v2/transcribe(batch+diarize),/v3/stream(WebSocket streaming)ParakeetPrerecordedProvider,ParakeetWebSocketSocket, language-based fallbackKnown Limitations
Incident Log
Closes #7651
by AI for @beastoin