Files
CosyVoice2-0.5B/2.png
huang1100 653dee3741 (cosyvoice) G:\CosyVoice>python webui.py --port 50000 --model_dir pretrained_models/CosyVoice2-0.5B
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!
2025-04-29 09:20:13 +00:00

93 KiB
1920x1080px

/ai-models/CosyVoice2-0.5B/raw/commit/653dee37410df9b80ee0bd293949e2faf1a1343d/2.png