Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching distribution found for tfdlpack-gpu #15

Open
zhangxin9988 opened this issue Mar 22, 2020 · 4 comments
Open

No matching distribution found for tfdlpack-gpu #15

zhangxin9988 opened this issue Mar 22, 2020 · 4 comments

Comments

@zhangxin9988
Copy link

hi,I want to use dgl with backend of tensorflow. However,I can't install tfdlpack in my computer,below is the error report:
(base) ### C:\Users\zx\PycharmProjects\Deep_learning>pip install tfdlpack-gpu
Collecting tfdlpack-gpu.
ERROR: Could not find a version that satisfies the requirement tfdlpack-gpu (from versions: none)
ERROR: No matching distribution found for tfdlpack-gpu
os: windows10
tensorflow_version: 2.0.0
cuda: 10.0.130
dgl_version: dgl-cu100

@awthomp
Copy link

awthomp commented Mar 22, 2020

I believe tfdlpack-gpu is only supported in Linux.

@zphy
Copy link

zphy commented Apr 12, 2020

Similar issue encountered here trying to install on mac.

@VoVAllen
Copy link
Owner

@zphy it's already supported by the latest nightly tensorflow. (pip install tf-nightly) As the API is tf.experimental.dlpack.to_dlpack/from_dlpack

@Programmergg
Copy link

you need change some settings.1.update your tensorflow at least 2.1.0,mine is 2.3.0 2.from dgl/backend/tensorflow find tensor.py.then change import tfdlpack to import tensorflow.experimental.dlpack as tfdlpack. 3.you can import dgl dgl.backend.set_default_backend('tensorflow') or pytorch and mxnet.now youcan use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants