Skip to content

OSError: Repo id must use alphanumeric chars... #50

@shell1986

Description

@shell1986

Hello, I'm going through the entire installation process except for FA.
I'm running python.exe clis/moss_tts_app.py
and I get an error.


[INFO] Using attn_implementation=sdpa
[Startup] Preloading backend: model=OpenMOSS-Team/MOSS-TTS, device=cuda:0, attn=sdpa
Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
Traceback (most recent call last):
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\transformers\utils\hub.py", line 419, in cached_files
    hf_hub_download(
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\huggingface_hub\utils\_validators.py", line 85, in _inner_fn
    validate_repo_id(arg_value)
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\huggingface_hub\utils\_validators.py", line 135, in validate_repo_id
    raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars, '-', '_' or '.'. The name cannot start or end with '-' or '.' and the maximum length is 96: 'OpenMOSS-Team\MOSS-TTS'.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "K:\MOSS-TTS\clis\moss_tts_app.py", line 621, in <module>
    main()
  File "K:\MOSS-TTS\clis\moss_tts_app.py", line 602, in main
    load_backend(
  File "K:\MOSS-TTS\clis\moss_tts_app.py", line 90, in load_backend
    processor = AutoProcessor.from_pretrained(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\transformers\models\auto\processing_auto.py", line 392, in from_pretrained
    return processor_class.from_pretrained(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\super\.cache\huggingface\modules\transformers_modules\OpenMOSS_hyphen_Team\MOSS_hyphen_TTS\0c8df9988ab61071cdb06fe40b2bdc3132ac3b7e\processing_moss_tts.py", line 205, in from_pretrained
    AutoConfig.from_pretrained(
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\transformers\models\auto\configuration_auto.py", line 1356, in from_pretrained
    config_dict, unused_kwargs = PreTrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\transformers\configuration_utils.py", line 569, in get_config_dict
    config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\transformers\configuration_utils.py", line 624, in _get_config_dict
    resolved_config_file = cached_file(
                           ^^^^^^^^^^^^
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\transformers\utils\hub.py", line 276, in cached_file
    file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "K:\utils\miniconda\envs\moss-tts\Lib\site-packages\transformers\utils\hub.py", line 468, in cached_files
    raise OSError(f"{e}") from e
OSError: Repo id must use alphanumeric chars, '-', '_' or '.'. The name cannot start or end with '-' or '.' and the maximum length is 96: 'OpenMOSS-Team\MOSS-TTS'.

win 11
RTX 5060ti 16g
NVIDIA-SMI 591.74 Driver Version: 591.74 CUDA Version: 13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions