I am developing a deep learning model using pytorch
, pytorch-lightning
, and segmentation-models-pytorch
. When I run pytorch_lightning.Trainer.fit()
, I get hundreds of the following warning:
OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option.
I have the following questions:
- How can I identify what part of my code or the source code is raising this warning?
- How can I assess whether this warning is relevant or can be ignored?
- If I decide I can ignore the warning, how can I suppress the warning?
I am familiar with handling warnings through python's warnings
module. However, this doesn't help here because the warning is coming from OpenBLAS
, which is not a python library.
There are several other questions about how to fix the problem that causes this warning, e.g. here and here. My question is about understanding the source of the warning, deciding whether I care about it, and suppressing it if I don't care.
Thanks in advance for any tips or answers to the above questions. Apologies if these are silly or poorly formulated questions, as I am completely unfamiliar with OpenBLAS
and OpenMP
.
from Identifying source of and understanding OpenBLAS and OpenMP warnings
No comments:
Post a Comment