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

In manual optimization, loss=NaN is displayed in progress_bar #5123

Closed
tchaton opened this issue Dec 14, 2020 · 1 comment · Fixed by #5121
Closed

In manual optimization, loss=NaN is displayed in progress_bar #5123

tchaton opened this issue Dec 14, 2020 · 1 comment · Fixed by #5121
Labels
bug Something isn't working help wanted Open to be worked on

Comments

@tchaton
Copy link
Contributor

tchaton commented Dec 14, 2020

🐛 Bug

Please reproduce using the BoringModel and post here

To Reproduce

Expected behavior

Environment

Note: Bugs with code are solved faster ! Colab Notebook should be made public !

You can get the script and run it with:

wget https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning/master/tests/collect_env_details.py
# For security purposes, please check the contents of collect_env_details.py before running it.
python collect_env_details.py
  • PyTorch Version (e.g., 1.0):
  • OS (e.g., Linux):
  • How you installed PyTorch (conda, pip, source):
  • Build command you used (if compiling from source):
  • Python version:
  • CUDA/cuDNN version:
  • GPU models and configuration:
  • Any other relevant information:

Additional context

@tchaton tchaton added bug Something isn't working help wanted Open to be worked on labels Dec 14, 2020
@ayushm-agrawal
Copy link

@tchaton, I note the Nan issue in this notebook as well. I am not using manual optimizer.

https://colab.research.google.com/drive/1P06xssrVeZJBjHnlGEke2laoSWNxE-2h?usp=sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Open to be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants