Skip to content

Parakeet server: NeMo warnings flood logs on every transcribe() call + CUDA OOM under load #5

Closed

Description

@beastoin

Issue 1: NeMo warnings repeat on every inference batch (~3000 log lines/sec)

Each model.transcribe() call triggers these warnings:

[NeMo W dataloader:533] You are using a non-tarred dataset and requested tokenization
during data sampling (pretokenize=True). This will cause the tokenization to happen in
the main (GPU) process, possibly impacting the training speed...

[NeMo W dataloader:881] The following configuration keys are ignored by Lhotse dataloader:
use_start_end_token

These fire on every batch, not just at model init. With high request volume, this produces ~3000 log lines/sec, flooding log infrastructure (signal daemon lag reached 52h+, covering only 0.3s of log time per 5K-entry fetch).

Issue 2: CUDA OOM under load (two models on one 22GB L4 GPU)

The server loads two models onto the same GPU:

  • Batch model: nvidia/parakeet-tdt-0.6b-v3 (~1.2GB)
  • Stream model: nvidia/parakeet-rnnt-1.1b (~2.2GB)

With MAX_BATCH_SIZE=32, torch.compile=true, and CUDA_GRAPHS=true, the GPU VRAM (22GB) gets exhausted during peak load:

torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 5.16 GiB.
GPU 0 has a total capacity of 22.03 GiB of which 31.12 MiB is free.

CUDA OOM frequency (from parakeet_gpu_oom_total Prometheus counter)

  • 85 CUDA OOM events in ~8 hours since last pod restart (~10/hour average)
  • ~23 OOM events in the most recent active hour
  • Each OOM is a failed transcription request — caught in application code, user gets error response, pod survives
  • Only 2 actual pod-level OOM kills (container restarts) in 29 hours — most CUDA OOMs are caught gracefully

Related: issue #3 (duration-aware batch scheduling).

Environment

  • GKE prod cluster, namespace prod-omi-backend
  • GPU: NVIDIA L4 (22GB VRAM)
  • Pod: prod-omi-parakeet (single replica, 2 OOM restarts in 29h)
  • Current config: MAX_BATCH_SIZE=32, MAX_QUEUE_DEPTH=4096, torch.compile=true, CUDA_GRAPHS=true

Activity

  1. beastoin commented on Jun 28, 2026

    @beastoin
    OwnerAuthor

    OOM portion addressed by:

    Prod root cause: mode=auto disabled compile at startup → 3x slower inference → queue buildup → B=23 batch → OOM. Zero attention switches occurred (zero files >300s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions