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_gpu can't work well

See original GitHub issue

🐛 Bug

[21:43:56] /opt/dgl/src/runtime/tensordispatch.cc:43: TensorDispatcher: dlopen failed: /home/aigist/anaconda3/envs/traffic/lib/python3.7/site-packages/dgl/tensoradapter/pytorch/libtensoradapter_pytorch_1.10.1.so: cannot open shared object file: No such file or directory

To Reproduce

  1. I run ‘conda install -c dglteam dgl-cuda11.3’ to install
  2. It can work well with above problem

Expected behavior

import dgl

run without warning

Environment

  • DGL Version (e.g., 1.0):
  • Backend Library & Version (e.g., PyTorch 0.4.1, MXNet/Gluon 1.3): PyTorch 1.10.1
  • Ubuntu 21.04:
  • How you installed DGL (conda, pip, source):conda
  • Build command you used (if compiling from source):
  • Python version:3.7
  • CUDA/cuDNN version (if applicable):11.3
  • GPU models and configuration (e.g. V100):Ti2080
  • Any other relevant information:

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
yzh119commented, Feb 13, 2022

@BarclayII How about we make tensoradapter an independent library that releases new version whenever pytorch upgrades?

1reaction
BarclayIIcommented, Feb 7, 2022

The warning is only related to how DGL allocates arrays and should not impact the performance or correctness much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.6 Using DGLGraph on a GPU - DGL Docs
One can create a DGLGraph on a GPU by passing two GPU tensors during construction. Another approach is to use the to() API...
Read more >
CUDA-X Accelerated DGL Containers for Large Graph Neural ...
These containers will enable developers to work more efficiently in an integrated, GPU-accelerated environment that combines DGL and PyTorch ...
Read more >
Distributed Hybrid CPU and GPU training for Graph Neural ...
This indicates that GPUs can be effective for GNN mini-batch training on massive graphs than CPUs.
Read more >
Benchmarks on Built-in Knowledge Graphs - dglke
DGL -KE provides benchmark results on FB15k , wn18 , as well as Freebase . Users can go to the corresponded folder to...
Read more >
Image Layer Details - dgllib/dgl-ci-gpu:torch-1.2.0 | Docker Hub
dgllib /dgl-ci-gpu:torch-1.2.0 ... /bin/sh -c mkdir -p /run/systemd ... LABEL maintainer=NVIDIA CORPORATION <cudatools@nvidia.com>.
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