Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library

!mkdir -p '{FRAME_OUTPUT_DIR}'
%cd /home/jovyan/project/DAIN

!MKL_THREADING_LAYER=AMD

!python -W ignore colab_interpolate.py --netName DAIN_slowmotion --time_step {fps/TARGET_FPS} --start_frame 1 --end_frame {frame_count} --frame_input_dir '{FRAME_INPUT_DIR}' --frame_output_dir '{FRAME_OUTPUT_DIR}'

outputs this...

I have tried setting FORCE to 1 but nothing happens, outputs then its gone...

/home/jovyan/project/DAIN
Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
    Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.```

Hey there, can anyone help me solve this problem with DAIN? I'm using Saturn Cloud with pytorch but it outputs this...
like image 503
PGMMaster Avatar asked Mar 14 '26 12:03

PGMMaster


2 Answers

According to this link you can fix it by running this command (If you have linux):

export MKL_SERVICE_FORCE_INTEL=1

Then restart your script.

like image 92
Mr.D Avatar answered Mar 17 '26 01:03

Mr.D


Try to reinstall numpy. It helps me.

pip install -U numpy
like image 37
S__ Avatar answered Mar 17 '26 02:03

S__



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!