TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

3 pointsby brauhausalmost 2 years ago
I feel I&#x27;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)<p>What is the preferred way to get started? I&#x27;ve tried using WSL, ROCm, and PyTorch-DirectML, but I&#x27;m always running into problems when I run `to(device)`.

1 comment

vkakualmost 2 years ago
Look at Microsoft&#x27;s Antares. They use a wierd combination of LoadLibrary and WSL to run ROCM workloads.<p>TL;DR not a good use of your time if AMD doesn&#x27;t want to ship ROCM on Windows for all customers.<p>Read this if you want to do something like it: <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;antares&#x2F;blob&#x2F;v0.3.x&#x2F;backends&#x2F;c-rocm_win64&#x2F;include&#x2F;backend.hpp">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;antares&#x2F;blob&#x2F;v0.3.x&#x2F;backends&#x2F;c-...</a><p>Source: been on this path before and moved on.