I'm trying my solution manually and it is working to remove hip and miopen from pytorch requirements, but now it is asking for other packages
pamac install python-pytorch-opt-rocm
Warning: python-pytorch-opt-rocm is only available from AUR
Preparing...
Checking python-pytorch-opt-rocm dependencies...
Checking roctracer dependencies...
Checking rocprofiler dependencies...
Checking hsa-amd-aqlprofile-bin dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (4):
hsa-amd-aqlprofile-bin 5.3.3-1 AUR
rocprofiler 5.3.0-1 AUR
roctracer 5.3.0-1 AUR
python-pytorch-opt-rocm 1.12.1-4 AUR
To remove (1):
python-pytorch 1.13.0-3 (Conflicts With: python-pytorch-opt-rocm) community
Total removed size: 505.8 MB
Edit build files : [e]
Apply transaction ? [e/y/N]
Transaction cancelled.
To remove those dependencies (that are already installed) I simply added this to opencl-amd PKGBUILD
provides=('opencl-driver' 'rocm-core' 'hip' 'hip-dev' 'hip-doc' 'hip-samples' 'hsakmt-roct-dev' 'hsa-rocr' 'hsa-rocr-dev' 'hsa-amd-aqlprofile-bin' 'rocminfo' 'hip-runtime-amd' 'rocm-device-libs' 'rocm-language-runtime' 'rocm-hip-runtime' 'rocm-ocl-icd' 'rocm-opencl' 'rocm-opencl-dev' 'rocm-opencl-runtime' 'rocm-clang-ocl' 'openmp-extras-runtime' 'rocm-cmake' 'rocm-utils' 'rocm-smi-lib' 'rocprofiler' 'roctracer')
voilà, no more required dependencies
pamac install python-pytorch-opt-rocm
Warning: python-pytorch-opt-rocm is only available from AUR
Preparing...
Checking python-pytorch-opt-rocm dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
python-pytorch-opt-rocm 1.12.1-4 AUR
To remove (1):
python-pytorch 1.13.0-3 (Conflicts With: python-pytorch-opt-rocm) community
Total removed size: 505.8 MB
Edit build files : [e]
Apply transaction ? [e/y/N] y
Cloning python-pytorch-rocm build files...
Generating python-pytorch-rocm information...
Building python-pytorch-rocm...
pytorch is building now
Pinned Comments
luciddream commented on 2025-12-13 09:14 (UTC) (edited on 2026-05-16 12:50 (UTC) by luciddream)
I have created new packages for the ROCm technology preview release stream - currently ROCm 7.13.0. I assume with time they will be able (and forced) to replace the current opencl-amd-dev PKGBUILD.
luciddream commented on 2022-01-12 16:47 (UTC) (edited on 2026-03-26 20:33 (UTC) by luciddream)
Latest release: 7.2.1. It uses 16.38GB of disk.
Issues with current release:
rocgdbto function.