Advertisement
kopyl

Untitled

Jan 9th, 2024
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. Steps: 0%| | 0/10000000 [00:00<?, ?it/s]Traceback (most recent call last):
  2. File "/workspace/diffusers/examples/text_to_image/train_text_to_image_lora.py", line 998, in <module>
  3. main()
  4. File "/workspace/diffusers/examples/text_to_image/train_text_to_image_lora.py", line 867, in main
  5. accelerator.clip_grad_norm_(params_to_clip, args.max_grad_norm)
  6. File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 2040, in clip_grad_norm_
  7. self.unscale_gradients()
  8. File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 2003, in unscale_gradients
  9. self.scaler.unscale_(opt)
  10. File "/usr/local/lib/python3.10/dist-packages/torch/cuda/amp/grad_scaler.py", line 307, in unscale_
  11. optimizer_state["found_inf_per_device"] = self._unscale_grads_(
  12. File "/usr/local/lib/python3.10/dist-packages/torch/cuda/amp/grad_scaler.py", line 229, in _unscale_grads_
  13. raise ValueError("Attempting to unscale FP16 gradients.")
  14. ValueError: Attempting to unscale FP16 gradients.
  15. wandb: 🚀 View run fallen-yogurt-251 at: https://wandb.ai/spammmmm1997/text2image-fine-tune/runs/itls9wf1
  16. wandb: ️⚡ View job at https://wandb.ai/spammmmm1997/text2image-fine-tune/jobs/QXJ0aWZhY3RDb2xsZWN0aW9uOjEyODYyNjkxNg==/version_details/v8
  17. wandb: Synced 5 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
  18. wandb: Find logs at: ./wandb/run-20240109_171847-itls9wf1/logs
  19. Traceback (most recent call last):
  20. File "/usr/local/bin/accelerate", line 8, in <module>
  21. sys.exit(main())
  22. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 47, in main
  23. args.func(args)
  24. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 1017, in launch_command
  25. simple_launcher(args)
  26. File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 637, in simple_launcher
  27. raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
  28. subprocess.CalledProcessError: Command '['/usr/bin/python', 'train_text_to_image_lora.py', '--pretrained_model_name_or_path=lambdalabs/miniSD-diffusers', '--dataset_name=kopyl/3M_icons_monochrome_only_no_captioning', '--resolution=256', '--train_batch_size=2', '--max_train_steps=10000000', '--checkpointing_steps=100', '--learning_rate=1e-4', '--lr_scheduler=constant', '--lr_warmup_steps=0', '--output_dir=/workspace/train-checkpoints/lora', '--noise_offset=0.05', '--cache_dir=/workspace/dataset-cache', '--report_to=wandb', '--validation_prompt', 'cat icon', '--seed=1', '--generate_images_when_checkpointing', '--save_lora_weights_only', '--running_as_docker', '--mixed_precision=fp16']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement