-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the minimal requirements of Intel MKL version? #443
Comments
I'm using |
Thx, I solved the problem. For someone who might have trouble like me: ARG VARIANT="bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/rust:1-${VARIANT}
RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && \
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | \
sudo tee /etc/apt/sources.list.d/oneAPI.list
RUN apt update
# for builder
RUN apt install -y intel-oneapi-mkl-devel
# for runtime environment
RUN apt install -y libomp-dev Just installing |
Thanks @iwanhae, I was also struggling to run my binary, enabling mkl feature. It didn't worked even when I pointed to latest ones. Finally I had to download the latest from Intel website as pointed by you. apt install -y intel-oneapi-mkl-devel
apt install -y libomp-dev # (This is not from intel) |
For others who stumble upon this issue: I'm quite new to Rust and I cannot explain why this is the case. If anyone do know I would apprecaite an explaination. |
using |
As I progressed into using a docker container the problem rised again. This time I solved thanks to @iwanhae with some slight modifications.
|
Hello, Thanks for the great work!
I've got an error while compiling with the
-features mkl
option.For example
cargo install --git https://github.com/huggingface/candle.git candle-examples --examples bert -F mkl
The error said
I initially thought that I did not install intel mkl libs properly, but I found that
intel mkl 2020.01
, which automatically downloaded from here, simply does not implementhgemm
while they do implementsgemm
anddgemm
hgemm
So I tried the latest version of intel mkl, but it seems
intel-mkl-src
does not support it.I'm wondering which
intel-mkl
version do you use for your development environment?The text was updated successfully, but these errors were encountered: