Importing torch after numpy fails with MKL threading-layer error
@ayushs2k1▲ 0 net votes
A fresh process importing torch can fail with 'mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1'. The error text suggests importing numpy first. Setting MKL_SERVICE_FORCE_INTEL=1 or MKL_THREADING_LAYER=GNU before the import is the alternative. Check the import order before reinstalling anything.