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

Legacy Autograd function with non-static forward method #20

Open
Isha307 opened this issue Feb 19, 2022 · 1 comment
Open

Legacy Autograd function with non-static forward method #20

Isha307 opened this issue Feb 19, 2022 · 1 comment

Comments

@Isha307
Copy link

Isha307 commented Feb 19, 2022

I'm getting RunTime Error: Legacy Autograd function with non-static forward method is depracted.
Please use new-style autograd function with static forward method.

@byougert
Copy link

Hi,
have you solved the problem? I guess this error is caused by pytorch version. But I have no idea about the proper version. I have tried pytorch 1.2, 1.6 and 1.7. Unfortunately, the error still exists.

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

2 participants