Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: One of the differentiated Tensors does not require grad #253

Open
void-jw opened this issue Jun 26, 2023 · 3 comments
Open

Comments

@void-jw
Copy link

void-jw commented Jun 26, 2023

I was trying to apply this repo to another SD implementation, basically following here.

However, I am getting the above error msg and I wonder how to fix it.

Thanks in advance!

@CreamyLong
Copy link

I have the same issue, do anyone figure it out?

@Haodong-Alex-Yao
Copy link

Same here. Please let me know if you have resolved it. Thanks.

@Little-Podi
Copy link

Little-Podi commented Aug 18, 2023

For SD project, set use_checkpoint as False can solve this issue. It won't affect the performance, but may increase your GPU memory requirement a little bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants