Settings

Theme

Ask HN: How do I run PyTorch with GPU on a windows machine with AMD Radeon?

3 points by brauhaus 2 years ago · 1 comment · 1 min read


I feel I'm ready to leave the Colab environment, and I wanted to start developing PyTorch projects on my local machine. The problem: I have a Windows machine with AMD Radeon GPU (cries in wsl)

What is the preferred way to get started? I've tried using WSL, ROCm, and PyTorch-DirectML, but I'm always running into problems when I run `to(device)`.

vkaku 2 years ago

Look at Microsoft's Antares. They use a wierd combination of LoadLibrary and WSL to run ROCM workloads.

TL;DR not a good use of your time if AMD doesn't want to ship ROCM on Windows for all customers.

Read this if you want to do something like it: https://github.com/microsoft/antares/blob/v0.3.x/backends/c-...

Source: been on this path before and moved on.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection