Skip to content

Is 10GB enough? #84

Answered by LePrau
hacksider asked this question in Q&A
Nov 10, 2022 · 5 comments · 4 replies
Discussion options

You must be logged in to vote

I was able to train a model in dreambooth, but had to tinker with some settings and live with some restrictions:

  • as command line arguments I use set COMMANDLINE_ARGS=--xformers --precision autocast - without the precision argument, it fails horribly when using the FP16 setting.
  • I made sure that I had as little VRAM usage as possible - around ~0.5GB when idle on desktop with one browser open (check in task manager)
  • "train text encoder" always crashes with OOM
  • checkpoints / preview images every N steps crash with OOM afterwards. Instead, train N steps with each training and simply resume training with another N steps of training. Means you have to babysit dreambooth, but at least it works …

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dikasterion
Comment options

@tommcg
Comment options

Answer selected by hacksider
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@LePrau
Comment options

@tommcg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants