TorchStudio / torchstudio

IDE for PyTorch and its ecosystem
https://torchstudio.ai
MIT License
383 stars 27 forks source link

M1 MacBook Pro -- Intel MKL FATAL ERROR: This system does not meet the minimum requirements for use of the Intel(R) Math Kernel Library. #10

Closed TinkeringEngr closed 2 years ago

TinkeringEngr commented 2 years ago

Excited to try out this new tool!... but unable to get it working out of the box on a 2020 M1 MacBook Pro using the latest version of MacOS (Monterey 12.1) following the recommended install instructions.

The GUI loads fine, but upon clicking the Load (⌘L) button I get the following error (as it mentions its Loading PyTorch..) -- might just be a PyTorch issue as I haven't tried PyTorch standalone.

Intel MKL FATAL ERROR: This system does not meet the minimum requirements for use of the Intel(R) Math Kernel Library. The processor must support the Intel(R) Supplemental Streaming SIMD Extensions 3 (Intel(R) SSSE3) instructions. The processor must support the Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) instructions. The processor must support the Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.

divideconcept commented 2 years ago

@TinkeringEngr I suppose you installed TorchStudio 0.9.1 or 0.9.2 ? This issue has been solved since TorchStudio 0.9.3: https://torchstudio.ai/download/

divideconcept commented 2 years ago

PS: delete the %USERPROFILE%/TorchStudio folder (Windows) or ~/TorchStudio folder (macOS/Ubuntu) before installing TorchStudio 0.9.4.

TinkeringEngr commented 2 years ago

I just used the MacOS installer from the TorchStudio website. I'll try the latest on Github. Thanks!

Looks like the installer from the website is: TorchStudio_0.9.4.

I'm testing the Github version -- I'll update on the results.

divideconcept commented 2 years ago

Ok - don't forget to fully delete the TorchStudio folder before reinstalling

TinkeringEngr commented 2 years ago

Ha never mind me -- I did install the older version 0.9.2, originally. I am now installing the latest 0.9.4.

Since I have already taken some of your time, mind if I ask what packaging tools you are using? I am in the process of releasing my own open source project as a solo developer and it seems like you're a few steps ahead of me :)

divideconcept commented 2 years ago

If your question is about TorchStudio installers, I use: -Inno Setup on Windows: https://jrsoftware.org/isinfo.php -pkgbuild/productbuild on macOS -dpkg-deb on Ubuntu That being said, each require some scripting. I attached my installer generator scripts to this post if you want to have a look: torchstudio generateinstallers.zip

TinkeringEngr commented 2 years ago

Awesome, thank you.

Just finished installing TorchStudio_0.9.4, but came across a new issue. Packaging appears to go smoothly, but then it ends with the following screen. After clicking "OK" it takes me back to the install python environment.

sudo rm -R ~/TorchStudio and Application moved to trash before install.

Screen Shot 2022-03-04 at 1 41 29 AM Screen Shot 2022-03-04 at 1 42 05 AM
divideconcept commented 2 years ago

Yeah just noticed this, but just click "Install" again (no need to delete the TorchStudio folder this time) and it will be fine.

TinkeringEngr commented 2 years ago

I was hesitant to repeat myself with the install again, but it works as you said :)

Excited to play with some tensors! Let me know if I can be of any help.

divideconcept commented 2 years ago

@TinkeringEngr I fixed this last step with TorchStudio 0.9.5: https://www.torchstudio.ai/download/