Closed LemonWade closed 7 months ago
Hi,
Did you install a dgl version, which support GPU? We used the following command for installing dgl library, which works fine on our side.
pip install dgl -f https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl
Thank you for your response. I have re-downloaded DGL, using the --no-cache-dir --force-reinstall
options. Below are the details of the download process and the environment information.
(3d_diffuser_actor2) (base) gml@gml:~/3d_diffuser_actor$ pip install dgl -f https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl --no-cache-dir --force-reinstall
Looking in links: https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting dgl
Downloading dgl-2.1.0-cp38-cp38-manylinux1_x86_64.whl.metadata (581 bytes)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting numpy>=1.14.0 (from dgl)
Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting scipy>=1.1.0 (from dgl)
Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.9/58.9 kB 376.7 kB/s eta 0:00:00
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting networkx>=2.1 (from dgl)
Downloading networkx-3.1-py3-none-any.whl.metadata (5.3 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting requests>=2.19.0 (from dgl)
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting tqdm (from dgl)
Downloading tqdm-4.66.2-py3-none-any.whl.metadata (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 896.1 kB/s eta 0:00:00
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting psutil>=5.8.0 (from dgl)
Downloading psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting torchdata>=0.5.0 (from dgl)
Downloading torchdata-0.7.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (13 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting charset-normalizer<4,>=2 (from requests>=2.19.0->dgl)
Downloading charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting idna<4,>=2.5 (from requests>=2.19.0->dgl)
Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting urllib3<3,>=1.21.1 (from requests>=2.19.0->dgl)
Downloading urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting certifi>=2017.4.17 (from requests>=2.19.0->dgl)
Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
Collecting torch>=2 (from torchdata>=0.5.0->dgl)
Downloading torch-2.2.1-cp38-cp38-manylinux1_x86_64.whl.metadata (25 kB)
WARNING: Skipping page https://data.dgl.ai/wheels/cu116/dgl-1.1.3%2Bcu116-cp38-cp38-manylinux1_x86_64.whl because the HEAD request got Content-Type: binary/octet-stream. The only supported Content-Types are application/vnd.pypi.simple.v1+json, application/vnd.pypi.simple.v1+html, and text/html
.............
Collecting mpmath>=0.19 (from sympy->torch>=2->torchdata>=0.5.0->dgl)
Downloading mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB)
Downloading dgl-2.1.0-cp38-cp38-manylinux1_x86_64.whl (8.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.6/8.6 MB 2.5 MB/s eta 0:00:00
Despite following your advice and re-downloading DGL using the --no-cache-dir --force-reinstall options, I'm still facing the same error. Additionally, I tried the following commands as per the suggestions:
# If you have installed dgl-cuXX package, please uninstall it first.
pip install dgl -f https://data.dgl.ai/wheels/cu117/repo.html
pip install dglgo -f https://data.dgl.ai/wheels-test/repo.html
After running these commands and attempting to execute my program again, I encountered a new error:
FileNotFoundError: Cannot find DGL C++ graphbolt library at /home/gml/anaconda3/envs/3d_diffuser_actor2/lib/python3.8/site-packages/dgl/graphbolt/libgraphbolt_pytorch_2.2.1.so
My CUDA version is 11.7, and I am using a 3090 GPU. Should I consider downgrading my CUDA version?
I would greatly appreciate any further guidance or suggestions you can offer.
Is the issue possibly due to the fact that when I downloaded DGL version 2.1.0, I did not include the cu116 tag?
pip list
dgl 2.1.0
diffusers 0.27.2
Hi,
Your problem is that dgl library is not installed at the correct cuda version. We also didn't test dgl.v2, but I believe it should also work if the API is not changed.
You can find the pip wheel with cuda 1.7 from https://data.dgl.ai/wheels/cu117/repo.html
. For example, try dgl-1.1.3+cu117-cp39-cp39-manylinux1_x86_64.whl if you are using python3.9.
Thank you for your response. Following your advice, I downloaded the .whl
file from the website and installed it via pip. I successfully ran the program. Thank you once again.
Firstly, I'd like to express my gratitude for your work on this project. I've been attempting to run the code, specifically the single task
insert_onto_square_peg
However, I've encountered an error stating that the operatorFarthestPointSampler
does not support the CUDA device.I'm not sure where I might have gone wrong in the process. Any advice or suggestions you could offer would be greatly appreciated. Thank you very much for your help.
Error message: