-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does ROCm for Windows ever exist? #269
Comments
Yes. It has been supported by the end of 2020, as long as you have an AMDGPU that satisfy ROCm's official supported list, e.g. Radeon7, Vega64, etc. You need to install latest AMD driver for Windows (version >= 2020.12), after you complete the AMD driver installation, you should see there is a runtime library Antares has already been able to interactive with this runtime library directly. What you need is:
|
OKay, that sounds amazing... Let me have a try and thanks a lot! |
Can I use this with WSL2 or does it need to be WSL1? |
@Column01 I didn't try whether it can work in WSL2. I'll verify it later. |
@Column01 WSL2 should work since this PR (#282), which makes two backends DirectX12 & ROCm work in both WSL1 and WSL2. Because it is for WSL instead of real Linux, so by default, it will work using DirectX12 for acceleration whose backend name is If you explicitly set Note that Windows-side AMD ROCm driver only provide runtime instead of HIP compiler, so we still need to install |
Hmm. Maybe I'm misunderstanding but would this let me run PyTorch using ROCm on windows? I'm pretty new to ML and GPU computing in general. Basically I guess my question is would this only be for compiling ROCm code I've written to work on Windows or could it let me run linux ROCm code on windows and in this case, PyTorch? Assuming I install it under WSL2 and run this, PyTorch should see my AMD gpu correct? |
@Column01 Antares is not a virtual machine but device code generator and optimizer for devices it covers. So your understanding of letting you to run "ROCm device kernel" using "native Windows AMDGPU" is correct, and it is not the component to make the full-stack of ROCm to work in WSL as Linux mode. Briefly, this |
can i run HIP code with this? |
Yes, Just try this in windows WSL. pip3 install --upgrade antares
BACKEND=c-rocm_win64 antares |
i will, it's just that i have gfx1031 and there is no official support for it afaik, but it seems i can compile with flags to enable support on gfx1031, should i try and compile rocm with support for gfx1031? or does wsl2 helps with this? |
i have an gfx1031 and there is no official support for it. It seems i can compile rocm with flags to enable support on gfx1031 since it gfx1030 is currently supported, should i try and compile rocm with support for gfx1031? or does wsl2 helps with this? |
You can try that, we even did similar things for gfx1010, which is also not officially supported by HIP, but it can work by |
does it need to be wsl1? or wls2?, also wonderful |
Current Antares needs to work in WSL, but won't in the future. |
any news on this? |
Just follow instructions above, the only difference for other amdgpu is choosing a different gfx number. |
It actually exists but not publicly available |
Was this ever solved definitively? I'm building programs that use PyTorch and gpu acceleration, but apparently PyTorch only supports AMD GPUs on Linux, not Windows. It'd be great to have clear installation instructions to install WSL on conjunction with RocM on Windows to utilize an AMD GPU acceleration! Here's my repo where you can see in my installation instructions that I've been struggling with this for a long time...https://github.com/BBC-Esq/ChromaDB-Plugin-for-LM-Studio And here's a link to a summary of the possible solutions I've found so far...But using WSL seems the best so far: https://github.com/BBC-Esq/ChromaDB-Plugin-for-LM-Studio/issues/4 |
Does it depend on Pytorch operators? If all operators can be defintely by yourself, you can use this https://github.com/microsoft/antares#quick-test-1-create-custom-operator-of-your-own-in-pytorch-2 to create and accelerate them by GPU on windows (no longer WSL needed.) |
AFAIK Rocm was released for windows, but if you dont have a pro card or a NX1 card you will havve issues and you will have to do other steps to get it working, i dont know which ones doe |
What is the progress? Having SDK already, or supporting Windows applications like Pytorch? |
Basically, I'm using it to create vector databases and interact with a large language model, Honestly, programming is not my trade, so I don't know what operators even means referring to PyTorch. |
Since the document says that Antares supports ROCm for Windows, I wonder whether this kind of thing exists in the world? The ROCm has been officially declared that there's no plans for Windows!
The text was updated successfully, but these errors were encountered: