W0921 19:22:36.052000 20400 Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs.
Traceback (most recent call last):
File "E:\AI\index-tts-win-20250718\webui.py", line 46, in
tts = IndexTTS(model_dir=cmd_args.model_dir, cfg_path=os.path.join(cmd_args.model_dir, "config.yaml"),)File "E:\AI\index-tts-win-20250718\runtime..\indextts\infer.py", line 79, in init
self.gpt.eval().half()File "E:\AI\index-tts-win-20250718\runtime./Lib/site-packages\torch\nn\modules\module.py", line 1180, in half
return self._apply(lambda t: t.half() if t.is_floating_point() else t)File "E:\AI\index-tts-win-20250718\runtime./Lib/site-packages\torch\nn\modules\module.py", line 915, in _apply
module._apply(fn)File "E:\AI\index-tts-win-20250718\runtime./Lib/site-packages\torch\nn\modules\module.py", line 915, in _apply
module._apply(fn)File "E:\AI\index-tts-win-20250718\runtime./Lib/site-packages\torch\nn\modules\module.py", line 915, in _apply
module._apply(fn)[Previous line repeated 1 more time]
File "E:\AI\index-tts-win-20250718\runtime./Lib/site-packages\torch\nn\modules\module.py", line 942, in _apply
param_applied = fn(param)File "E:\AI\index-tts-win-20250718\runtime./Lib/site-packages\torch\nn\modules\module.py", line 1180, in
return self._apply(lambda t: t.half() if t.is_floating_point() else t)RuntimeError: CUDA error: no kernel image is available for execution on the device
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
Press any key to continue . . .
显卡为RTX5090 