-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Sparse tensor support on CPU requires MKL #8219
Comments
It may be useful to report what
returns as well as what
returns. At first glance, it seems that your torch version was not built with MKL (which may happen if you installed MKL after torch or if torch for some reason didn't recognize your MKL install when you installed it). |
I installed all of the packages in one command from an environment file, so MKL wasn't added after torch. I was able to install PyG 2.4 on a different Linux system, so this is not a high priority issue. |
This issue has been resolved in #8197. You need to install PyG nightly for it. |
Thanks for pointing me to that @EdisonLeeeee. I searched "MKL" but didn't find that pull request. Installing PyG from master did indeed resolve the original error. I'm still having problems with sparse tensors on Windows in the GraphGPS example though:
|
…ws (Part 2) (#8225) Address #8219 --------- Co-authored-by: Matthias Fey <[email protected]>
Thank you! |
I also encountered the above error when running my own GNN-model on a CPU-only environment. (I'm using a laptop, I don't know if the program uses CPU or kernel) OS:Windows 10 python 3.10.2 aiohttp 3.9.1 |
😵 Describe the installation problem
I am installing PyG 2.4 on Windows 10 in a cpuonly setting. When running the
examples/graph_gps.py
example code, I encountered a RuntimeError related to MKL:I'm unsure what this error message means. I have mkl 2022.1.0 from conda-forge in my conda environment.
The above error was encountered with PyTorch 1.12.0, the most recent version that supports pytorch-sparse for Windows. However, when I first tried with PyG 2.4, PyTorch 2.1, and no pytorch-sparse I received a similar error:
Environment
conda
,pip
, source): condatorch-scatter
): pytorch-scatter 2.0.9, pytorch-sparse 0.6.15Complete environment
The text was updated successfully, but these errors were encountered: