runtime error
Exit code: 1. Reason: 3it/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/diffusers/models/model_loading_utils.py", line 176, in load_state_dict return safetensors.torch.load_file(checkpoint_file, device=map_location) File "/usr/local/lib/python3.10/site-packages/safetensors/torch.py", line 381, in load_file with safe_open(filename, framework="pt", device=device) as f: safetensors_rust.SafetensorError: Error while deserializing header: header too small 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/adapter_model.safetensors 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/adapter_model.safetensors' at './lora/adapter_model.safetensors'.
Container logs:
Fetching error logs...