Skip to content

Extremely long first CUDA graph warm-up (~99s) before first TTS request on RTX 5070 Ti (Windows 11) #101

Description

@cinetube

Hi,

I'm seeing an unexpectedly long delay during the first TTS request when using CUDA.

System:

  • OS: Windows 11
  • GPU: NVIDIA RTX 5070 Ti
  • Backend: CUDA

The model loads normally:

[2026-07-25 10:25:53] [webui] model MOSS-TTS-Local v1.5 (tts) loaded, elapsed 14.7s

Then I run a very small TTS request (54 characters):

[2026-07-25 10:25:53] [webui] TTS started: model=moss-tts-local, 1 chunks / 54 chars total

Nothing happens for about 99 seconds, then:

[10:27:32] ggml_backend_cuda_graph_compute: CUDA graph warmup complete

The request finishes shortly afterwards:

[2026-07-25 10:27:45] [webui] TTS chunk 1/1 done (54 chars, 112.5s)

Subsequent requests are much faster. For example:

  • 1,027 characters
  • 2 chunks
  • Total time: 29.1s

So this appears to be a one-time CUDA warm-up cost.

My questions are:

  1. Is a ~99 second CUDA graph warm-up expected?
  2. Is this specific to Windows or the RTX 50-series GPUs?
  3. Could this indicate an issue with my CUDA environment or build?
  4. Is there a way to perform this warm-up during model loading so the first user request doesn't incur the delay?

I'd be happy to provide additional information such as:

  • audio.cpp commit/version
  • NVIDIA driver version
  • CUDA Toolkit version
  • Build configuration
  • Full logs

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions