CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

export_jit.py中CosyVoice2导出异常

Open MarginGitHub opened this issue 2 months ago • 1 comments

Traceback (most recent call last): File "/home/margin/work/tts/CosyVoice/cosyvoice/bin/export_jit.py", line 129, in main() File "/home/margin/work/tts/CosyVoice/cosyvoice/bin/export_jit.py", line 69, in main llm_text_encoder = model.model.llm.text_encoder File "/home/margin/miniconda3/envs/cosyvoice/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1709, in getattr raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'") AttributeError: 'Qwen2LM' object has no attribute 'text_encoder'

MarginGitHub avatar Dec 17 '25 08:12 MarginGitHub

已经更新代码

aluminumbox avatar Dec 29 '25 10:12 aluminumbox