jianchang512 / ChatTTS-ui

一个简单的本地网页界面,使用ChatTTS将文字合成为语音,同时支持对外提供API接口。A simple native web interface that uses ChatTTS to synthesize text into speech, along with support for external API interfaces.
https://pyvideotrans.com
Other
5.99k stars 689 forks source link

"Dynamo is not supported on Python 3.12+" #17

Closed moffefei closed 4 months ago

moffefei commented 4 months ago

要对python 版本降级么?

`INFO:ChatTTS.core:Load from local: D:/tools/100AIGC/chatTTS-ui/models\pzc163\chatTTS WARNING:ChatTTS.utils.gpu_utils:No GPU found, use CPU instead INFO:ChatTTS.core:use cpu INFO:ChatTTS.core:vocos loaded. INFO:ChatTTS.core:dvae loaded. Traceback (most recent call last): File "D:\tools\100AIGC\chatTTS-ui\app.py", line 45, in chat.load_models(source="local",local_path=CHATTTS_DIR) File "D:\tools\100AIGC\chatTTS-ui\ChatTTS\core.py", line 61, in load_models self._load({k: os.path.join(download_path, v) for k, v in OmegaConf.load(os.path.join(download_path, 'config', 'path.yaml')).items()}, kwargs) File "D:\tools\100AIGC\chatTTS-ui\ChatTTS\core.py", line 102, in _load gpt.gpt.forward = torch.compile(gpt.gpt.forward, backend='inductor', dynamic=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\tools\100AIGC\chatTTS-ui\venv\Lib\site-packages\torch__init__.py", line 1866, in compile raise RuntimeError("Dynamo is not supported on Python 3.12+") RuntimeError: Dynamo is not supported on Python 3.12+

`

jianchang512 commented 4 months ago

3.9-3.11

moffefei commented 4 months ago

用conda,11,启动成功。 image