tch-rs icon indicating copy to clipboard operation
tch-rs copied to clipboard

Error when building burn on Windows when upgrading to tch 0.16

Open syl20bnr opened this issue 1 year ago • 4 comments

We tried to update tch to 0.16 which adds support for pytorch 2.3 in burn and we get a compilation error on Windows:

INTEL MKL ERROR: The specified module could not be found. mkl_def.1.dll.
Intel MKL FATAL ERROR: Cannot load mkl_def.1.dll.

Reverting to 0.15 fix this error.

This compilation error has been reproduced on our CI and on our Windows desktop.

syl20bnr avatar May 13 '24 12:05 syl20bnr

Looks like this is related to https://github.com/pytorch/pytorch/issues/124009 , there seems to be a fix in place so you may want to give a try to the nightly build until 2.3.1 is out (I think it's scheduled for the beginning of June).

LaurentMazare avatar May 13 '24 13:05 LaurentMazare

Thank you for looking into it, we will wait for the fix upstream then.

syl20bnr avatar May 13 '24 13:05 syl20bnr

Looks like the upstream issue is fixed. Do we need to do anything @LaurentMazare , @syl20bnr ?

antimora avatar Jun 30 '24 17:06 antimora

This is still a problem:

INTEL MKL ERROR: The specified module could not be found. mkl_vml_def.1.dll. Intel MKL FATAL ERROR: cannot load mkl_vml_def.1.dll.

syl20bnr avatar Jul 29 '24 13:07 syl20bnr

Fixed in 0.18

syl20bnr avatar Nov 26 '24 17:11 syl20bnr