You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grad, =autograd.grad(
outputs=(fake_img*noise).sum(), inputs=latents, create_graph=True
)
The calculation of gradients is memory inefficient and lacks support for flast-attention. Consequently, when training with the reg_loss, it becomes necessary to reduce the batch_size.
The text was updated successfully, but these errors were encountered:
Smooth-Diffusion/train_smooth_diffusion.py
Line 312 in 5522761
The calculation of gradients is memory inefficient and lacks support for flast-attention. Consequently, when training with the reg_loss, it becomes necessary to reduce the batch_size.
The text was updated successfully, but these errors were encountered: