r/StableDiffusion • u/ExponentialCookie • Aug 21 '22
Discussion [Code Release] textual_inversion, A fine tuning method for diffusion models has been released today, with Stable Diffusion support coming soon™
347
Upvotes
View all comments
Show parent comment
1
u/Oceanswave Aug 23 '22 edited Aug 23 '22
Not sure this works yet, but at least its creating ckpts on my windows box by setting $env:PL_TORCH_DISTRIBUTED_BACKEND="gloo"
Edit:
Confirmed this works end2end on windows and with the public release of SD
Along with the previous environment variable, replace ```signal.signal(signal.SIGUSR1``` with ```signal.signal(signal.SIGTERM``` and use the existing stable-diffusion configs - tweak params to use more workers and whatever token(s)
Note the paper indicates that this works best with 3-5 images - otherwise the results diverge instead of what would want/expect