Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm here for asking GPU selection problems since I'm still new for Keras 3 when I jump into Keras 3 from PyTorch a while.
I have a Windows 11 Machine contains 2 cards with NVIDIA GeForce RTX 4070ti Super and AMD Radeon RX 7800XT respectively.
Now I have a independent Python 3.11.9 env installed
torch-directml
. In PyTorch we can manually use.to(device)
to set GPU device, and can do check like this:From the above codes and the result, we can know that device 1 is the AMD card.
How can I manage/add preprocess "on DirectML device select" in Keras? If we just do nothing, the model will be run on CPU only.
Hardware and Software/Environ:
Beta Was this translation helpful? Give feedback.
All reactions