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.

Vega 8 :DirectML device enumeration: found 0 compatible adapters.

See original GitHub issue

I do the same as https://docs.microsoft.com/zh-cn/windows/win32/direct3d12/gpu-tensorflow-wsl, and I have a GPU : Vega 8. But it reported:

Python 3.6.12 |Anaconda, Inc.| (default, Sep  8 2020, 23:10:56)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow.compat.v1 as tf
>>> tf.enable_eager_execution(tf.ConfigProto(log_device_placement=True))
>>> print(tf.add([1.0, 2.0], [3.0, 4.0]))
2020-11-02 21:19:05.139698: I tensorflow/core/common_runtime/dml/dml_device_factory.cc:132] DirectML device enumeration: found 0 compatible adapters.
2020-11-02 21:19:05.141140: I tensorflow/core/common_runtime/eager/execute.cc:571] Executing op Add in device /job:localhost/replica:0/task:0/device:CPU:0
tf.Tensor([4. 6.], shape=(2,), dtype=float32)

Thank you in advance ! If other information I should submit, please let me know !

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
PatriceVignolacommented, Nov 4, 2020

This is because there’s a bug with numpy 1.19.4 on Windows. If you manually install numpy 1.19.3 (pip install numpy==1.19.3), you should be able to try and repro the adapter issue on Windows.

0reactions
PatriceVignolacommented, Nov 7, 2020

Thank you. We’ll investigate this issue and come back to you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

GPU acceleration in WSL - FAQ
DirectML device enumeration : found 2 compatible adapters. DirectML: creating device on adapter 0 (NVIDIA TITAN V) DirectML: creating device on adapter 1 ......
Read more >
How to fix laptop issues with Oculus Link on AMD b... - 755844
AMD based GPU's and integrated graphics are not supported or have issues. ... Here you can see that my AMD Radeon Vega 8...
Read more >
List of AMD graphics processing units
The following is a list that contains general information about GPUs and video cards by AMD, including those by ATI Technologies before 2006, ......
Read more >
How do I make my AMD GPU available within a docker ...
docker run -it --rm --device /dev/dxg --mount type=bind,src=/usr/lib/wsl,dst=/usr/lib/wsl -e LD_LIBRARY_PATH=/usr/lib/wsl/lib python:3.9.10.
Read more >
AMD GPUs Support GPU-Accelerated Machine Learning ...
Awkward to see tensorflow on AMD gpus now beeing better supported under windows ... It's the DirectML of the Microsoft DirectX API suite, ......
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