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: element 0 of tensors does not require grad and does not have a grad_fn #1

Open
Daisling opened this issue Apr 2, 2024 · 4 comments

Comments

@Daisling
Copy link

Daisling commented Apr 2, 2024

Thanks for your great work! But when I run this code I meet this problem:
image

@Pergo01
Copy link

Pergo01 commented May 16, 2024

Same problem for me. I couldn't find a solution yet. If you did, please tell me.

@pmorerio pmorerio assigned pmorerio and unassigned pmorerio Jun 12, 2024
@pmorerio
Copy link
Member

@gianscarpe @FGiuliari any hint?

@Pergo01
Copy link

Pergo01 commented Jun 19, 2024

@gianscarpe @FGiuliari any hint?

Are there any news?

@Stefa1994
Copy link
Collaborator

Hi,
we discovered the problem, and it's related to the optimizer Adafactor. We are trying to carefully define the environment we were using for running the experiment. You will have an update soon.

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