Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use tensorflow v2 with directml backend

I have a computer with the windows operating system with an amd gpu (rx 5600 xt), and I want to run tensorflow on the gpu. I found "tensorflow-directml" which allows me to run tensorflow on my gpu, but it uses tensorflow 1.14.0. Is there another version of "tensorflow-directml" that uses tensorflow v2, or is there another way to run tensorflow in my gpu?

Thanks, and sorry if I wrote something wrong or inaccurate

like image 523
shahar Avatar asked Jan 25 '26 17:01

shahar


1 Answers

Microsoft has announced DirectML-plugin for tensorflow 2 in June this year. Check it out at this link: https://learn.microsoft.com/en-us/windows/ai/directml/gpu-tensorflow-plugin. However I believe for your particular GPU model DirectML-plugin may not be compatible as of yet.

like image 107
moth Avatar answered Jan 27 '26 07:01

moth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!