# Stable diffusion automatic1111 dreambooth

**URL:** <https://discuss.huggingface.co/t/stable-diffusion-automatic1111-dreambooth/27944>\
**Category:** Beginners\
**Created:** [December 16, 2022, 1:22pm UTC](https://discuss.huggingface.co/t/stable-diffusion-automatic1111-dreambooth/27944 "2022-12-16T13:22:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![geeklan](https://avatars.discourse-cdn.com/v4/letter/g/49beb7/32.png) [@geeklan](https://discuss.huggingface.co/u/geeklan)\
**Post date:** [December 16, 2022, 1:22pm UTC](https://discuss.huggingface.co/t/stable-diffusion-automatic1111-dreambooth/27944/1 "2022-12-16T13:22:24Z")

</div>

Hey, guys! I’m new to stable diffusion and I’m trying to learn. I do not know if I can take this question here, but I installed stable diffusion locally through AUTOMATIC1111. My problem is with Dreambooth. When I start training, it give me a video card memory allocation error even activating the 8bit adam and fp16 option. Could someone help me?

RuntimeError: CUDA out of memory. Tried to allocate 256.00 MiB (GPU 0; 8.00 GiB total capacity; 7.09 GiB already allocated; 0 bytes free; 7.21 GiB reserved in total by PyTorch) If reserved memory is \>\> allocated memory try setting max\_split\_size\_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH\_CUDA\_ALLOC\_CONF

---

<div class="post-metadata">

**Author:** ![de-marauder](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@de-marauder](https://discuss.huggingface.co/u/de-marauder)\
**Post date:** [December 22, 2022, 10:16am UTC](https://discuss.huggingface.co/t/stable-diffusion-automatic1111-dreambooth/27944/2 "2022-12-22T10:16:06Z")

</div>

Hello geeklan  
By any chance have you been able to solve this error? I have run into the exact same error while trying to training a dreambooth model with this repo [GitHub - gammagec/Dreambooth-SD-optimized: Implementation of Dreambooth (https://arxiv.org/abs/2208.12242) with Stable Diffusion](https://github.com/gammagec/Dreambooth-SD-optimized).

Any help will be appreciated. Thank you.
