mirror of
https://www.modelscope.cn/iic/CosyVoice2-0.5B.git
synced 2026-04-02 11:02:59 +08:00
failed to import ttsfrd, use WeTextProcessing instead
Sliding Window Attention is enabled but not implemented for `sdpa`; unexpected results may be encountered.
D:\Program Files\Miniconda3\envs\cosyvoice\Lib\site-packages\diffusers\models\lora.py:393: FutureWarning: `LoRACompatibleLinear` is deprecated and will be removed in version 1.0.0. Use of `LoRACompatibleLinear` is deprecated. Please switch to PEFT backend by installing PEFT: `pip install peft`.
deprecate("LoRACompatibleLinear", "1.0.0", deprecation_message)
Traceback (most recent call last):
File "D:\Program Files\Miniconda3\envs\cosyvoice\Lib\site-packages\transformers\utils\hub.py", line 424, in cached_files
hf_hub_download(
File "D:\Program Files\Miniconda3\envs\cosyvoice\Lib\site-packages\huggingface_hub\utils\_validators.py", line 106, in _inner_fn
validate_repo_id(arg_value)
File "D:\Program Files\Miniconda3\envs\cosyvoice\Lib\site-packages\huggingface_hub\utils\_validators.py", line 160, in validate_repo_id
raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: ''.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "G:\CosyVoice\webui.py", line 188, in <module>
cosyvoice = CosyVoice(args.model_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\CosyVoice\cosyvoice\cli\cosyvoice.py", line 39, in __init__
configs = load_hyperpyyaml(f)
File "G:\CosyVoice\cosyvoice\flow\decoder.py", line 230, in __init__
super(CausalAttention, self).__init__(query_dim, cross_attention_dim, heads, dim_head, dropout, bias, upcast_attention, upcast_softmax,
File "D:\Program Files\Miniconda3\envs\cosyvoice\Lib\site-packages\diffusers\models\attention_processor.py", line 166, in __init__
self.scale = dim_head**-0.5 if self.scale_qk else 1.0
~~~~~~~~^^~~~~
ZeroDivisionError: 0.0 cannot be raised to a negative power
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "G:\CosyVoice\webui.py", line 193, in <module>
raise TypeError('no valid model_type!')
TypeError: no valid model_type!
99 KiB
1920x1080px
99 KiB
1920x1080px