Replies: 2 comments
-
The error seems to be coming from a piece code that lies outside of the library. So, I suggest you open a discussion for this instead of an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @haoweiz23, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Hi, I modified the U-Net forward function to use the "wrapped_forward" function. However, I encountered an issue when attempting to backpropagate the loss. I adapted the training code from "examples/train_dreambooth.py". The error log is provided below. It appears to be related to gradient checkpointing, but I couldn't find any useful information to resolve it.

Reproduction
Logs
No response
System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
diffusers
version: 0.28.0.dev0Who can help?
No response
Beta Was this translation helpful? Give feedback.
All reactions