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
-
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.
![image](https://private-user-images.githubusercontent.com/43101596/317217339-198290f1-59dd-42f9-a1b0-b0f6e156f691.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1ODYzMTUsIm5iZiI6MTczOTU4NjAxNSwicGF0aCI6Ii80MzEwMTU5Ni8zMTcyMTczMzktMTk4MjkwZjEtNTlkZC00MmY5LWExYjAtYjBmNmUxNTZmNjkxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAyMjAxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyZjU1MTI1NTI1ZDQ5MzVlZjNmMGNmNGU4NTk2NmIwNjZkZmNkZWNkZjAxYTEwZGNlYTY1ZmE0NmVhZjUwZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jQUkPT4B5kPaffnhYdBiWNeVni8_0K_6oVsZuTrtHe0)
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