-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
In engine.py we have:
# this needs to go in before importing torch
os.environ["KMP_DUPLICATE_LIB_OK"] = "True"It looks like this arises from Intel MKL. The warning message states:
As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
Not ideal. I presume this arises in Conda environments. It may be better to give advice on how to correctly set up an environment that avoids MKL and PyTorch with libiomp.
S/O suggests that it may look something like this:
conda install nomkl --channel conda-forge
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels