🌐
PyTorch
pytorch.org › blog › pytorch-for-amd-rocm-platform-now-available-as-python-package
PyTorch for AMD ROCm™ Platform now available as Python package – PyTorch
March 24, 2021 - With the PyTorch 1.8 release, we are delighted to announce a new installation option for users of PyTorch on the ROCm™ open software platform. An installable Python package is now hosted on pytorch.org, along with instructions for local installation in the same simple, selectable format as PyTorch packages for CPU-only configurations and other GPU platforms.
🌐
PyPI
pypi.org › project › cupy-rocm-5-0
cupy-rocm-5-0 · PyPI
Details for the file cupy_rocm_5_0-13.3.0-cp310-cp310-manylinux2014_x86_64.whl. Download URL: cupy_rocm_5_0-13.3.0-cp310-cp310-manylinux2014_x86_64.whl
      » pip install cupy-rocm-5-0
    
Published   Aug 22, 2024
Version   13.3.0
Homepage   https://cupy.dev/
🌐
GitHub
github.com › ROCm › pyrsmi
GitHub - ROCm/pyrsmi: python package of rocm-smi-lib · GitHub
python package of rocm-smi-lib. Contribute to ROCm/pyrsmi development by creating an account on GitHub.
Starred by 25 users
Forked by 10 users
Languages   Python
🌐
PyPI
pypi.org › project › cupy-rocm-4-0
cupy-rocm-4-0 · PyPI
Details for the file cupy_rocm_4_0-10.6.0-cp38-cp38-manylinux1_x86_64.whl. Download URL: cupy_rocm_4_0-10.6.0-cp38-cp38-manylinux1_x86_64.whl
      » pip install cupy-rocm-4-0
    
Published   Jun 30, 2022
Version   10.6.0
Homepage   https://cupy.dev/
🌐
AMD ROCm
rocm.docs.amd.com › projects › install-on-linux › en › latest › install › 3rd-party › pytorch-install.html
PyTorch on ROCm installation — ROCm installation (Linux)
To access this feature, go to pytorch.org/get-started/locally/. For the correct wheels command, you must select Linux, Python, pip, and ROCm in the matrix. ... The available ROCm release varies between the PyTorch Build of Stable or Nightly. More recent releases are generally available through ...
🌐
PyPI
pypi.org › project › tensorflow-rocm
tensorflow-rocm · PyPI
Details for the file tensorflow_rocm-2.14.0.600-cp39-cp39-manylinux2014_x86_64.whl. Download URL: tensorflow_rocm-2.14.0.600-cp39-cp39-manylinux2014_x86_64.whl
      » pip install tensorflow-rocm
    
Published   Jan 10, 2024
Version   2.14.0.600
🌐
vLLM
docs.vllm.ai › en › v0.4.1 › getting_started › amd-installation.html
Installation with ROCm - vLLM Documentation
$ pip install torch==2.2.0.dev20231206+rocm5.7 --index-url https://download.pytorch.org/whl/nightly/rocm5.7 # tested version ... Install ROCm’s flash attention (v2.0.4) following the instructions from ROCmSoftwarePlatform/flash-attention ... If you are using rocm5.7 with pytorch 2.1.0 onwards, ...
Find elsewhere
🌐
AMD ROCm
rocm.docs.amd.com › projects › radeon-ryzen › en › latest › docs › install › installrad › windows › install-pytorch.html
PyTorch via PIP installation — Use ROCm on Radeon and Ryzen
pip install --no-cache-dir ` https://repo.radeon.com/rocm/windows/rocm-rel-7.2.1/torch-2.9.1+rocm7.2.1-cp312-cp312-win_amd64.whl ` https://repo.radeon.com/rocm/windows/rocm-rel-7.2.1/torchaudio-2.9.1+rocm7.2.1-cp312-cp312-win_amd64.whl ` https://repo.radeon.com/rocm/windows/rocm-rel-7.2.1/torchvision-0.24.1+rocm7.2.1-cp312-cp312-win_amd64.whl · Confirm if PyTorch is correctly installed. Verify if Pytorch is installed and detecting the GPU compute device. python -c "import torch" 2>nul && echo Success || echo Failure
🌐
Medium
medium.com › @guinmoon › building-rocm-7-1-and-pytorch-on-windows-for-unsupported-gpus-my-hands-on-guide-0758d2d2b334
Building ROCm 7.1 and PyTorch on Windows for Unsupported GPUs: My Hands-On Guide | by Artem Savkin | Medium
November 21, 2025 - If you find ready rocm_sdk and pytorch builds for your architecture and OS, lucky you—download the .whl packages and jump to "Installing ComfyUI with ROCm Support".
🌐
GitHub
github.com › ROCm › TheRock
GitHub - ROCm/TheRock: The HIP Environment and ROCm Kit - A lightweight open source build system for HIP and ROCm · GitHub
For details see # https://github.com/ROCm/TheRock/blob/main/docs/environment_setup_guide.md#patchelf sudo apt install curl make sudo env INSTALL_PREFIX=/usr/local ./dockerfiles/install_pinned_patchelf.sh # Init python virtual environment and install python dependencies python3 -m venv .venv && source .venv/bin/activate pip install --upgrade pip pip install -r requirements.txt # Download submodules and apply patches python3 ./build_tools/fetch_sources.py ·
Starred by 1.1K users
Forked by 273 users
Languages   Python 85.2% | CMake 10.3% | Shell 2.2% | PowerShell 1.0% | HTML 0.7% | Dockerfile 0.5%
🌐
GitHub
github.com › ROCm › hip-python
GitHub - ROCm/hip-python: HIP Python Low-level Bindings · GitHub
Install ROCM. Install pip, virtual environment and development headers for Python 3:
Starred by 39 users
Forked by 8 users
Languages   Cython
🌐
GitHub
github.com › vladmandic › sdnext › wiki › AMD-ROCm
AMD ROCm · vladmandic/sdnext Wiki
sudo zypper in rocm-runtime \ miopen rccl rocblas amdsmi \ hipblaslt hiprand hipcub \ hipsolver hipfft rocm-cmake \ rocm-compilersupport \ rocm-llvm-filesystem \ rocm-clang-runtime-devel \ hipcub-devel rocm-hip-devel \ libhipfft0-devel libhipsolver0-devel \ libhipsparse1-devel rocthrust-devel \ librocfft0 rocm-core rocrand rocsolver · This procedure should also work for Leap-based distributions and Slowroll (adjust the distro-specific lines), but it is not tested. Note: This also installs build dependencies for flash-attention. ... sudo pacman -S base-devel python-pip python-virtualenv git clone https://aur.archlinux.org/python312.git cd python312 makepkg -si cd ..
Author   vladmandic
🌐
Phazertech
phazertech.com › tutorials › rocm.html
AMD ROCm, PyTorch, Stable Diffusion & YOLO Installation ...
March 13, 2024 - Then you can check if ROCm was ... running rocminfo. If an error is returned then something went wrong with the installation. Another possibility is that secure boot may cause issues on some systems, so if you received an error here then disabling secure boot may help. Next we'll download PyTorch with PIP in a Python virtual ...
🌐
AMD ROCm
rocm.docs.amd.com › projects › radeon-ryzen › en › latest › docs › install › installrad › native_linux › install-pytorch.html
Install PyTorch for ROCm — Use ROCm on Radeon and Ryzen
The ROCm WHLs available at PyTorch.org are not tested extensively by AMD as the WHLs change regularly when the nightly builds are updated. Important! When manually downloading WHLs from repo.radeon, ensure to select the compatible WHLs for specific Python versions.
🌐
GitHub
gist.github.com › jurgonaut › 462a6bd9b87ed085fa0fe6c893536993
Install AMD GPU ROCm and PyTorch on Ubuntu - Gist - GitHub
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/<release> ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list sudo apt update
🌐
Reddit
reddit.com › r/rocm › rocm 7.2 official installation instructions
r/ROCm on Reddit: ROCm 7.2 official installation instructions
January 22, 2026 -

Windows (requires 26.1.1 driver): PyTorch via PIP installation — Use ROCm on Radeon and Ryzen

Linux: Install Radeon software for Linux with ROCm — Use ROCm on Radeon and Ryzen

Release notes: https://rocm.docs.amd.com/en/latest/about/release-notes.html

Top answer
1 of 5
8
Holy shit AMD crew. Either I am doing something wrong or there is a RADICAL performance boost for inferring diffusion models. I just ran a 5 second wan, 3 samplers (6 steps total). It normally takes me 10 minutes. It just ran in 190 seconds. FP16! I am on an r9700. Did we just more than double our speed? lol holy smokes 2nd generation of 5s is down to 172s. fp16 6 steps 3 samplers this nutty. [edit] Testing some other models and workflows for image gen in comfy. 7.2 on linux is a MASSIVE perf boost. Insane. I was coming off 6.4.1
2 of 5
6
Hi everyone, I wanted to share my recent experience with the latest ROCm setup for ComfyUI and why I decided to revert to Zluda. Outdated Default Version: The ComfyUI version bundled with the driver is the older 0.3.x. As expected, it lacks the latest features and doesn't provide optimal performance. Lack of Memory Optimization: I tried setting up a fresh ComfyUI environment using Python 3.12 and the latest PyTorch. However, when running VRAM-intensive models like Qwen, I immediately hit OOM (Out of Memory) errors. Compared to NVIDIA, there seems to be almost no efficient memory management or reduction for these models on ROCm. Severe Performance Drop during OOM: Once it hits the memory limit, the slowdown is unbearable. It becomes 3 to 5 times slower than generating images via Zluda. In my case, it took over 100 seconds just to complete a single iteration (1it). Because of these issues, I’ve decided to give up on using ComfyUI with the latest native PyTorch for now and am switching back to the Zluda-based setup. My Specs: GPU: AMD Radeon RX 7900 XTX (24GB) CPU: AMD Ryzen 9 7950X3D RAM: 64GB DDR5-5600
🌐
GitHub
github.com › ROCm › rocm-docs-core
GitHub - ROCm/rocm-docs-core: ROCm Documentation Python package for ReadTheDocs build standardization · GitHub
ROCm Docs Core is also distributed as a pip package available from PyPi as rocm-docs-core
Starred by 16 users
Forked by 22 users
Languages   Python 43.6% | CSS 42.8% | Jinja 6.3% | HTML 3.5% | JavaScript 1.8% | Just 1.0%
🌐
CuPy
docs.cupy.dev › en › v7.8.0 › install_rocm.html
[Experimental] Installation Guide for ROCm environemt — CuPy 7.8.0 documentation
You can install CuPy package via pip. It builds CuPy from source. $ export HCC_AMDGPU_TARGET=gfx900 # This value should be changed based on your GPU $ export __HIP_PLATFORM_HCC__ $ export CUPY_INSTALL_USE_HIP=1 $ pip install cupy · The tarball of the source tree is available via pip download ...