#1319·F5-TTS

ASR evaluation hard-codes CUDA and crashes on CPU/Ascend/NPU machines

Author: li-lizheCreated Sep 20, 2026Updated Sep 20, 2026

Description

The helper in instantiates with and . On machines without a CUDA GPU this call raises an error and WER evaluation cannot run.

Reproduction

Run the English ASR evaluation path on a CPU-only or Ascend NPU environment:

Expected

The helper should detect CUDA availability and fall back to CPU + int8 when CUDA is not present, similar to the way the rest of the code already falls back in .

Proposed fix

Use to choose device and compute type in .

I have submitted PR #1318 with the fix.