# Running stable diffusion models

**URL:** <https://discuss.huggingface.co/t/running-stable-diffusion-models/33370>\
**Category:** Beginners\
**Created:** [March 8, 2023, 9:36pm UTC](https://discuss.huggingface.co/t/running-stable-diffusion-models/33370 "2023-03-08T21:36:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saikrishna1930](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@saikrishna1930](https://discuss.huggingface.co/u/saikrishna1930)\
**Post date:** [March 8, 2023, 9:36pm UTC](https://discuss.huggingface.co/t/running-stable-diffusion-models/33370/1 "2023-03-08T21:36:55Z")

</div>

I am runnning the Custom dataset, i.e., toy example using 15 photos of my cat Miles (took ~40 minutes on Tesla V100): example from [GitHub - harrywang/finetune-sd: what I learned about fine-tuning stable diffusion](https://github.com/harrywang/finetune-sd)  
but getting errors can someone help me

Traceback (most recent call last):  
File “/home/padamatinti.s/.conda/envs/StableDif/bin/accelerate”, line 8, in   
sys.exit(main())  
File “/home/padamatinti.s/.conda/envs/StableDif/lib/python3.9/site-packages/accelerate/commands/accelerate\_cli.py”, line 45, in main  
args.func(args)  
File “/home/padamatinti.s/.conda/envs/StableDif/lib/python3.9/site-packages/accelerate/commands/launch.py”, line 1097, in launch\_command  
simple\_launcher(args)  
File “/home/padamatinti.s/.conda/envs/StableDif/lib/python3.9/site-packages/accelerate/commands/launch.py”, line 552, in simple\_launcher  
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)  
subprocess.CalledProcessError: Command ‘[’/home/padamatinti.s/.conda/envs/StableDif/bin/python3.9’, ‘train\_text\_to\_image\_lora.py’, ‘–pretrained\_model\_name\_or\_path=runwayml/stable-diffusion-v1-5’, ‘–train\_data\_dir=./data/full-finetune/cat’, ‘–dataloader\_num\_workers=1’, ‘–resolution=512’, ‘–center\_crop’, ‘–random\_flip’, ‘–train\_batch\_size=1’, ‘–gradient\_accumulation\_steps=4’, ‘–max\_train\_steps=1500’, ‘–learning\_rate=1e-04’, ‘–max\_grad\_norm=1’, ‘–lr\_scheduler=cosine’, ‘–lr\_warmup\_steps=0’, ‘–output\_dir=./models/lora/miles’, ‘–checkpointing\_steps=500’, ‘–validation\_prompt=A photo of a cat in a bucket’, ‘–validation\_epochs=10’, ‘–seed=42’, ‘–report\_to=wandb’]’ died with \<Signals.SIGKILL: 9\>.

---

<div class="post-metadata">

**Author:** ![sr5434](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@sr5434](https://discuss.huggingface.co/u/sr5434)\
**Post date:** [December 23, 2023, 12:18am UTC](https://discuss.huggingface.co/t/running-stable-diffusion-models/33370/2 "2023-12-23T00:18:45Z")

</div>

I get the same error when checkpointing
