question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

  1. conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
  2. conda install -c dglteam dgl-cuda11.3
  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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
Rhett-Yingcommented, Feb 18, 2022

It’s ok to ignore this error message as this lib is for better performance(memory efficiency) only.

I am also seeing this message using DGL from conda. Would that be possible to silent it? It tends to pollute my logs which make it hard for debugging purposes.

we’re working on a patch to suppress it. will ping you once ready.

1reaction
luobroadcommented, Feb 17, 2022

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:

It’s ok to ignore this error message as this lib is for better performance(memory efficiency) only.

I am also seeing this message using DGL from conda. Would that be possible to silent it? It tends to pollute my logs which make it hard for debugging purposes.

— Reply to this email directly, view it on GitHub https://github.com/dmlc/dgl/issues/3716#issuecomment-1043400466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW3G3LNDZ4IJAYBVMRFWWITU3VLNFANCNFSM5NWIBKKA . You are receiving this because you authored the thread.Message ID: @.***>

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found