modelscope / DiffSynth-Studio

Enjoy the magic of Diffusion models!
Apache License 2.0
6.4k stars 575 forks source link

Issue with Koras lora training #118

Closed lschaupp closed 2 months ago

lschaupp commented 2 months ago

huggingface_hub.errors.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/workspace/venv/lib/python3.10/site-packages/diffsynth-1.0.0-py3.10.egg/diffsynth/tokenizer_configs/kolors/tokenizer'. Use repo_type argument if needed.

Traceback (most recent call last): File "/workspace/DiffSynth-Studio/examples/train/kolors/train_kolors_lora.py", line 300, in model = LightningModel( File "/workspace/DiffSynth-Studio/examples/train/kolors/train_kolors_lora.py", line 66, in init self.pipe = KolorsImagePipeline(device=self.device, torch_dtype=torch_dtype) File "/workspace/venv/lib/python3.10/site-packages/diffsynth-1.0.0-py3.10.egg/diffsynth/pipelines/kwai_kolors.py", line 17, in init self.prompter = KolorsPrompter() File "/workspace/venv/lib/python3.10/site-packages/diffsynth-1.0.0-py3.10.egg/diffsynth/prompts/kolors_prompter.py", line 314, in init self.tokenizer = ChatGLMTokenizer.from_pretrained(tokenizer_path) File "/workspace/venv/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1784, in from_pretrained resolved_vocab_files[file_id] = cached_file( File "/workspace/venv/lib/python3.10/site-packages/transformers/utils/hub.py", line 417, in cached_file resolved_file = hf_hub_download( File "/workspace/venv/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 101, in inner_f return f(*args, **kwargs) File "/workspace/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 106, in _inner_fn validate_repo_id(arg_value) File "/workspace/venv/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 154, in validate_repo_id raise HFValidationError(