Skip to content

Commit a121e05

Browse files
author
Mishig
authored
Update custom_diffusion.mdx (huggingface#3165)
Add missing newlines for rendering the links correctly
1 parent 3979aac commit a121e05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/en/training/custom_diffusion.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,11 @@ You can also perform inference from one of the complete checkpoint saved during
279279
TODO.
280280

281281
## Set grads to none
282+
282283
To save even more memory, pass the `--set_grads_to_none` argument to the script. This will set grads to None instead of zero. However, be aware that it changes certain behaviors, so if you start experiencing any problems, remove this argument.
283284

284285
More info: https://pytorch.org/docs/stable/generated/torch.optim.Optimizer.zero_grad.html
285286

286287
## Experimental results
288+
287289
You can refer to [our webpage](https://www.cs.cmu.edu/~custom-diffusion/) that discusses our experiments in detail.

0 commit comments

Comments
 (0)