Closed nvnarayna closed 1 year ago
that fixed that issue but gave arise to a new 1:
Loading pipeline components...: 14% 1/7 [00:03<00:18, 3.05s/it]Loaded tokenizer as CLIPTokenizer from `tokenizer` subfolder of stabilityai/stable-diffusion-xl-base-1.0.
{'attention_type', 'dropout'} was not found in config. Values will be initialized to default values.
Traceback (most recent call last):
File "/usr/local/bin/accelerate", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 47, in main
args.func(args)
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 986, in launch_command
simple_launcher(args)
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 628, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', 'train_dreambooth_lora_sdxl.py', '--pretrained_model_name_or_path=stabilityai/stable-diffusion-xl-base-1.0', '--pretrained_vae_model_name_or_path=madebyollin/sdxl-vae-fp16-fix', '--instance_data_dir=dog', '--output_dir=lora-trained-xl-colab', '--mixed_precision=fp16', '--instance_prompt=a photo of sks dog', '--resolution=1024', '--train_batch_size=2', '--gradient_accumulation_steps=2', '--gradient_checkpointing', '--learning_rate=1e-4', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--mixed_precision=fp16', '--use_8bit_adam', '--max_train_steps=500', '--checkpointing_steps=717', '--seed=0', '--push_to_hub']' died with <Signals.SIGKILL: 9>.
but now i have access to file named "pytorch_lora_weights.safetensors" i try to load this from hugging face models it gives arise to error saying OSError: rando2625/lora-trained-xl-colab does not appear to have a file named pytorch_lora_weights.bin.
The stacktrace doesn't seem to suggest anything wrong in the script, though.
but now i have access to file named "pytorch_lora_weights.safetensors" i try to load this from hugging face models it gives arise to error saying OSError: rando2625/lora-trained-xl-colab does not appear to have a file named pytorch_lora_weights.bin.
How are you running inference?
yeah the problem was it didnt automatically commit to hugging face i did it manually nothing was wrong my bad sry
thanks sayak
Describe the bug
subprocess.CalledProcessError occurs when running an example notebook https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/SDXL_DreamBooth_LoRA_.ipynb in colab free tier with t4 runtime.
Reproduction
run the notebook till training part. https://colab.research.google.com/github/huggingface/notebooks/blob/main/diffusers/SDXL_DreamBooth_LoRA_.ipynb
Logs
System Info
google colaboratory
Who can help?
@sayakpaul @patrickvonplaten