DGL 0.7.2 installed via conda seems to link an non-existent version of pytorch 1.10.2 libary
See original GitHub issue🐛 Bug
It seems that dgl 0.7.2 supports up to pytorch 1.10.0. package dependency logic links it to /lib/python3.9/site-packages/dgl/tensoradapter/pytorch/libtensoradapter_pytorch_1.10.2.so, but under this path I can only find libtensoradapter_pytorch_1.10.0.so
To Reproduce
Steps to reproduce the behavior: I use conda 4.11.0, python 3.9, all other packages installed using conda-forge. Using brand-new conda environment. Pytorch installed here is 1.10.2, dgl is 0.7.2
- conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
- conda install -c dglteam dgl-cuda11.3
- go to python and import torch, import dgl
Error Message: TensorDispatcher: dlopen failed: {my environment path}/lib/python3.9/site-packages/dgl/tensoradapter/pytorch/libtensoradapter_pytorch_1.10.2.so: cannot open shared object file: No such file or directory
Environment
- DGL Version: 0.7.2
- Backend Library & Version: PyTorch 1.10.2
- OS : Ubuntu 20.04LTS
- How you installed DGL (
conda
,pip
, source): conda - Build command you used (if compiling from source): N/A
- Python version: 3.9.10
- CUDA/cuDNN version (if applicable): 11.3/8.2.0
- GPU models and configuration (e.g. V100): RTX A5000
- Any other relevant information:
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
Cant install pytorch gpu version via conda
I'm working in a conda environment on windows 10, which I recently had to rebuild. I was specifically using pytorch 1.10.2 with gpu....
Read more >Install and Setup — DGL 0.9.1post1 documentation - DGL Docs
Starting at version 0.3, DGL is separated into CPU and CUDA builds. The builds share the same Python package name. If you install...
Read more >Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. It is automatically generated ... Package versions are managed by the package...
Read more >conda-forge - :: Anaconda.org
conda -forge-ci-setup, 3.24.7, BSD-3-Clause, X, X, X, A package installed by conda-forge each time a build is run on CI. This.
Read more >dgl PyTorch Model - Model Zoo
Python package built to ease deep learning on graph, on top of existing DL frameworks. http://dgl.ai. PyTorch · PyPi Latest Release Conda Latest...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
we’re working on a patch to suppress it. will ping you once ready.
If you really want you can downgrade your PyTorch to 1.10.0, what I am doing right now.
On Thu, Feb 17, 2022 at 15:32 Hadrien Mary @.***> wrote: