stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Memory Allocation issues Hypernetwork Training
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
I was trying to do Hypernetwork training but ran into Memory allocation issues, looking at the error logs it seems like a bug because I highly doubt by 8 gb card failed to allocate 20 mb, some sort of allocation seems to hog up all the memory.
Steps to reproduce the problem
Launch and Hypernetwork train, I tried with some different cmd line options, --medvram, --precision full --no-half, without xformers, all ran into the same issue
What should have happened?
It should have ran the hypernetwork training without running into memory issues (assuming my video card has enough memory)
Commit where the problem happens
6bd6154a92eb05c80d66df661a38f8b70cc13729
What platforms do you use to access UI ?
Linux
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
I was using --deepdanbooru and --medvram but the issue still persists without the arguments (or any argument)
Additional information, context and logs
errors:
Does it always happen? or only if you interrupt and then resume training? there is a bug in the interrupt button I think. try to train with save image each 0 steps to disable preview. it helps.
It always happens when I start hyper network training, I'll try the option you gave today when I can try.
Edit: tried, issue still seems persist
Closing as stale.