Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upChange "unable to check gpu_memory_mb()" error to a warning, remove uninformative stack trace #2167
Comments
|
This isn't critical functionality and we actually expect it to fail occasionally, which is why we just continue when it happens. We probably won't be able to fix this, sorry! |
|
Same error. |
|
Maybe better to just put a warning instead of an error at L461. allennlp/allennlp/common/util.py Lines 436 to 462 in 5514776 |
|
@guoquan (and @WindChimeRan), I agree with this. I'm re-opening this issue, and renaming it. Should be an easy fix; PR welcome! |
guoquan
added a commit
to guoquan/allennlp
that referenced
this issue
Feb 5, 2020
According to the discussion in allenai#2167 , there are known occasional failures in this non-critical function. Log as a warning with the stack trace and error information.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Describe the bug
To Reproduce
No idea how to reproduce.
Expected behavior
A clear and concise description of what you expected to happen.
System (please complete the following information):
Additional context
Under linux
screen