Closed cdk8s-zelda closed 4 months ago
在app.py的 import os 的下一行,添加代码
os.environ['KMP_DUPLICATE_LIB_OK'] = 'True'
试试
在app.py的 import os 的下一行,添加代码
os.environ['KMP_DUPLICATE_LIB_OK'] = 'True'
试试
这个报错是因为在你的项目中同时初始化了两个不同版本的 OpenMP 运行时库
2024-05-31 22:01:36,693 - modelscope - INFO - PyTorch version 2.2.2 Found.
2024-05-31 22:01:36,693 - modelscope - INFO - Loading ast index from /Users/meek/.cache/modelscope/ast_indexer
2024-05-31 22:01:36,728 - modelscope - INFO - Loading done! Current index file version is 1.14.0, with md5 54c70b20f857389f69e0735c6ef5281c and a total number of 976 components indexed
INFO:ChatTTS.core:Load from local: /Users/meek/my-software/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.
INFO:ChatTTS.core:gpt loaded.
INFO:ChatTTS.core:decoder loaded.
INFO:ChatTTS.core:tokenizer loaded.
INFO:ChatTTS.core:All initialized.
启动:['127.0.0.1', '9966']
0%|
app.py中
chat.load_models(source="local",local_path=CHATTTS_DIR)
改为
chat.load_models(source="local",local_path=CHATTTS_DIR,compile=False)
试试
app.py中
chat.load_models(source="local",local_path=CHATTTS_DIR)
改为
chat.load_models(source="local",local_path=CHATTTS_DIR,compile=False)
试试
这个报错是因为在你的项目中同时初始化了两个不同版本的 OpenMP 运行时库
这句话用时 14 秒。
先感谢作者提供支持
系统环境
报错截图
尝试过一些措施,但是都没有效果