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

Question about torch version #59

Open
xiaobaiaaaaa opened this issue Jul 5, 2023 · 0 comments
Open

Question about torch version #59

xiaobaiaaaaa opened this issue Jul 5, 2023 · 0 comments

Comments

@xiaobaiaaaaa
Copy link

When I run train.py, the following error occurs:

UserWarning: The epoch parameter in scheduler.step() was not necessary and is being deprecated where possible. Please use scheduler.step() to step the scheduler. During the deprecation, if epoch is different from None, the closed form is used instead of the new chainable form, where available. Please open an issue if you are unable to replicate your use case: https://github.com/pytorch/pytorch/issues/new/choose.
warnings.warn(EPOCH_DEPRECATION_WARNING, UserWarning)

Because I am a 40-series graphics card (cuda=11.3), I heard that it is enough to reduce torch to 1.0.1, but cuda is not enough, how to solve this problem?
Thanks

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

1 participant