runtime error
Exit code: 1. Reason: File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1546, in load return _legacy_load( File "/usr/local/lib/python3.10/site-packages/torch/serialization.py", line 1802, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) File "/usr/local/lib/python3.10/site-packages/torch/_weights_only_unpickler.py", line 573, in load return Unpickler(file, encoding=encoding).load() File "/usr/local/lib/python3.10/site-packages/torch/_weights_only_unpickler.py", line 325, in load raise EOFError EOFError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/diffusers/models/model_loading_utils.py", line 202, in load_state_dict raise ValueError( ValueError: Unable to locate the file ./lora which is necessary to load this pretrained model. Make sure you have saved the model properly. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 16, in <module> pipe.load_lora_weights("./lora") File "/usr/local/lib/python3.10/site-packages/diffusers/loaders/lora_pipeline.py", line 207, in load_lora_weights state_dict, network_alphas, metadata = self.lora_state_dict(pretrained_model_name_or_path_or_dict, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/loaders/lora_pipeline.py", line 313, in lora_state_dict state_dict, metadata = _fetch_state_dict( File "/usr/local/lib/python3.10/site-packages/diffusers/loaders/lora_base.py", line 268, in _fetch_state_dict state_dict = load_state_dict(model_file) File "/usr/local/lib/python3.10/site-packages/diffusers/models/model_loading_utils.py", line 207, in load_state_dict raise OSError( OSError: Unable to load weights from checkpoint file for './lora' at './lora'.
Container logs:
Fetching error logs...