Open wassimj opened 6 months ago
Seems you install dgl CUDA version in a machine without CUDA, please install the CPU version.
The issue is that the installation instructions are faulty and even when one selects NONE for CUDA, the command it gives installs a CUDA version. What is the pip install command to install a non-cuda version? Thank you.
The issue seems to be related to the following:
Wheel with no CUDA: dgl-2.0.0-cp310-cp310-win_amd64.whl
Wheel with CUDA: dgl-2.0.0+cu121-cp310-cp310-win_amd64.whl
One can see that the CUDA wheel name is lexicographically smaller than the no CUDA one due to + < -
.
However, I am not sure if that is exactly how it works. I am currently looking into it.
The main problem seems to be the fact that the cuda wheels were uploaded to https://data.dgl.ai/wheels/repo.html, they probably should have been uploaded only to https://data.dgl.ai/wheels/cu121/repo.html instead.
This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you
Any update on this being fixed?
@Rhett-Ying @peizhou001 any insights here?
This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you
Will this issue be fixed please?
Next DGL release will be ready in May, let's see if this issue is fixed.
Is there a workaround for this?
Any update on this? Or at least can this be acknowldged as a bug? Thanks
Hi,
Since 2024.06.27, we have stopped providing packages for Windows and MacOS. The latest version of available package is 2.2.1. For newer versions, please install from source.
🐛 Bug
I am following the official installation instructions for DGL with CUDA set to NONE as my laptop does not have CUDA. The resulting command is: pip install dgl -f https://data.dgl.ai/wheels/repo.html pip install dglgo -f https://data.dgl.ai/wheels-test/repo.html However, this command installs dgl with cuda (
Successfully installed dgl-2.0.0+cu121
) When I try to import DGL in python, I get the following error:FileNotFoundError: Could not find module 'C:\Users\sarwj\AppData\Local\Programs\Python\Python310\lib\site-packages\dgl\dgl.dll' (or one of its dependencies). Try using the full path with constructor syntax.
To Reproduce
OS: Windows 11 Python: 3.10 Hardware: Intel CPU without nVidia Card and thus no CUDA availability
Steps to reproduce the behavior:
Expected behavior
Environment
conda
,pip
, source): pipAdditional context