Commit Graph

21 Commits

Author SHA1 Message Date
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
60b054e54a set use_flow_cache=True when export 2025-04-07 22:28:52 +08:00
f3bcc1af05 add flow cache model 2025-04-07 21:48:19 +08:00
9bd5b08fc0 update 2025-01-10 14:31:27 +08:00
fa7edb69b3 update 2025-01-10 14:29:39 +08:00
f69d8993ee Update README.md 2025-01-09 08:04:50 +00:00
8cb32bda1d update 2025-01-02 22:11:29 +08:00
ec62e9159a Merge branch 'master' of https://www.modelscope.cn/iic/CosyVoice2-0.5B 2025-01-01 00:54:53 +08:00
4875ebcb4b update 2025-01-01 00:52:25 +08:00
2244ead84f Update README.md 2024-12-17 11:21:14 +00:00
a37aafb98b update 2024-12-17 16:08:09 +08:00
3fe5dc65c1 update 2024-12-16 17:32:11 +08:00
292895fb57 update 2024-12-16 17:27:22 +08:00
b904de7725 update 2024-12-16 15:18:21 +08:00
9eb82e7502 update 2024-12-13 16:06:53 +08:00
9d5c22a8e6 update 2024-12-13 11:58:05 +08:00
f18733ebd0 update 2024-12-13 11:28:44 +08:00
7989775dd0 update 2024-12-12 19:06:17 +08:00
f0fdade79d System init configuration.json 2024-12-10 02:33:01 +00:00
55557eef4d System update meta information 2024-12-10 02:33:01 +00:00
52621a8e53 System init .gitattributes 2024-12-10 02:33:00 +00:00