2noise / ChatTTS

A generative speech model for daily dialogue.
https://2noise.com
GNU Affero General Public License v3.0
29.68k stars 3.24k forks source link

生成语音的时候出错:RuntimeError: Failed to import C:\Users\caoc\AppData\Local\Temp\torchinductor_caoc\hf\chfheta34zg3uml5kkkplxpjtnyriyugrvgccj22bwtkmcqxozdj.py #118

Closed hicaoc closed 1 month ago

hicaoc commented 2 months ago
              ^^^^^^^^^^^^^^^^^^^^^

File "C:\Users\caoc\miniconda3\envs\chattts\Lib\site-packages\torch_inductor\graph.py", line 1307, in compile_to_fn return self.compile_to_module().call ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\caoc\miniconda3\envs\chattts\Lib\site-packages\torch_dynamo\utils.py", line 262, in time_wrapper r = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\caoc\miniconda3\envs\chattts\Lib\site-packages\torch_inductor\graph.py", line 1254, in compile_to_module mod = PyCodeCache.load_by_key_path( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\caoc\miniconda3\envs\chattts\Lib\site-packages\torch_inductor\codecache.py", line 2154, in load_by_key_path raise RuntimeError( torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised: RuntimeError: Failed to import C:\Users\caoc\AppData\Local\Temp\torchinductor_caoc\hf\chfheta34zg3uml5kkkplxpjtnyriyugrvgccj22bwtkmcqxozdj.py SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 13-14: truncated \UXXXXXXXX escape (chfheta34zg3uml5kkkplxpjtnyriyugrvgccj22bwtkmcqxozdj.py, line 63)

Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 15 days since being marked as stale.