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! |
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.


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