Skip to content

Commit

Permalink
Update F5-TTS-ONNX-Inference.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DakeQQ authored Jan 16, 2025
1 parent 63d34b3 commit 370b47d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions F5-TTS-ONNX-Inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
{
'device_id': DEVICE_ID,
'gpu_mem_limit': 8 * 1024 * 1024 * 1024, # 8 GB
'arena_extend_strategy': 'kSameAsRequested',
'arena_extend_strategy': 'kNextPowerOfTwo',
'cudnn_conv_algo_search': 'EXHAUSTIVE',
'cudnn_conv_use_max_workspace': '1',
'do_copy_in_default_stream': '1',
'cudnn_conv1d_pad_to_nc1d': '0',
'cudnn_conv1d_pad_to_nc1d': '1',
'enable_cuda_graph': '0', # Set to '0' to avoid potential errors when enabled.
'use_tf32': '1' # Float16 doesn't work on F5_transformer.onnx with CUDA
}
Expand Down

0 comments on commit 370b47d

Please sign in to comment.