@BishopWolf it should be OK now, but feel free to comment if something is not working as intended (if you are still using this package and not the official repo).
Search Criteria
Package Details: opencl-amd-dev 1:6.4.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/opencl-amd-dev.git (read-only, click to copy) |
---|---|
Package Base: | opencl-amd-dev |
Description: | OpenCL SDK / HIP SDK / ROCM Compiler. This package needs at least 20GB of disk space. |
Upstream URL: | http://www.amd.com |
Licenses: | custom:AMD |
Conflicts: | composablekernel-dev, hipblas, hipblas-common-dev, hipblas-dev, hipblaslt, hipblaslt-dev, hipcub, hipcub-dev, hipfft, hipfft-dev, hipfort, hipfort-dev, hipify-clang, hiprand, hiprand-dev, hipsolver, hipsolver-dev, hipsparse, hipsparse-dev, hipsparselt, hipsparselt-dev, hiptensor, hiptensor-dev, migraphx, migraphx-dev, miopen, miopen-hip, miopen-hip-dev, mivisionx, mivisionx-dev, openmp-extras-dev, rccl, rccl-dev, rocalution, rocalution-dev, rocblas, rocblas-dev, rocfft, rocfft-dev, rocm-developer-tools, rocm-hip-libraries, rocm-hip-runtime-dev, rocm-hip-sdk, rocm-llvm, rocm-ml-libraries, rocm-ml-sdk, rocm-opencl-sdk, rocprim, rocprim-dev, rocprofiler-compute, rocprofiler-sdk, rocprofiler-sdk-roctx, rocprofiler-systems, rocrand, rocrand-dev, rocsolver, rocsolver-dev, rocsparse, rocsparse-dev, rocthrust, rocthrust-dev, rocwmma-dev, rpp, rpp-dev |
Provides: | composablekernel-dev, half, hipblas, hipblas-common-dev, hipblas-dev, hipblaslt, hipblaslt-dev, hipcub, hipcub-dev, hipfft, hipfft-dev, hipfort, hipfort-dev, hipify-clang, hiprand, hiprand-dev, hipsolver, hipsolver-dev, hipsparse, hipsparse-dev, hipsparselt, hipsparselt-dev, hiptensor, hiptensor-dev, migraphx, migraphx-dev, miopen, miopen-hip, miopen-hip-dev, mivisionx, mivisionx-dev, openmp-extras-dev, rccl, rccl-dev, rocalution, rocalution-dev, rocblas, rocblas-dev, rocfft, rocfft-dev, rocm-developer-tools, rocm-hip-libraries, rocm-hip-runtime-dev, rocm-hip-sdk, rocm-llvm, rocm-ml-libraries, rocm-ml-sdk, rocm-opencl-sdk, rocprim, rocprim-dev, rocprofiler-compute, rocprofiler-sdk, rocprofiler-sdk-roctx, rocprofiler-systems, rocrand, rocrand-dev, rocsolver, rocsolver-dev, rocsparse, rocsparse-dev, rocthrust, rocthrust-dev, rocwmma-dev, rpp, rpp-dev |
Submitter: | luciddream |
Maintainer: | luciddream |
Last Packager: | luciddream |
Votes: | 9 |
Popularity: | 0.26 |
First Submitted: | 2021-12-26 15:01 (UTC) |
Last Updated: | 2025-04-11 22:54 (UTC) |
Dependencies (5)
- blas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, blas-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blis-gitAUR, blisAUR, blas-mklAUR, aocl-blisAUR, openblas-lapackAUR, blas-openblas)
- lapack (aocl-libflame-aoccAUR, lapack-gitAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, aocl-libflameAUR, openblas-lapackAUR, blas-openblas)
- opencl-amdAUR (amdapp-sdkAUR)
- suitesparse
- wget (wget-gitAUR, wurlAUR) (make)
Required by (153)
- adaptivecpp (requires rocm-llvm) (make)
- adaptivecpp-git (requires rocm-llvm) (make)
- darknet-hankai-git (requires rocm-hip-sdk) (optional)
- ggml-hipblas-git (requires hipblas)
- ggml-hipblas-git (requires rocm-hip-sdk) (make)
- ginkgo-hpc-cuda-git (requires hipfft) (make)
- ginkgo-hpc-cuda-git (requires hiprand) (make)
- ginkgo-hpc-cuda-git (requires hipblas) (make)
- ginkgo-hpc-cuda-git (requires hipsparse) (make)
- ginkgo-hpc-cuda-git (requires rocthrust) (make)
- ginkgo-hpc-docs-git (requires hipfft) (make)
- ginkgo-hpc-docs-git (requires hiprand) (make)
- ginkgo-hpc-docs-git (requires hipblas) (make)
- ginkgo-hpc-docs-git (requires hipsparse) (make)
- ginkgo-hpc-docs-git (requires rocthrust) (make)
- ginkgo-hpc-git (requires hiprand) (make)
- ginkgo-hpc-git (requires hipblas) (make)
- ginkgo-hpc-git (requires hipsparse) (make)
- ginkgo-hpc-git (requires rocthrust) (make)
- ginkgo-hpc-git (requires hipfft) (make)
- ginkgo-hpc-hip-git (requires hipfft)
- ginkgo-hpc-hip-git (requires hipfft) (make)
- ginkgo-hpc-hip-git (requires hiprand)
- ginkgo-hpc-hip-git (requires hiprand) (make)
- ginkgo-hpc-hip-git (requires hipblas)
- ginkgo-hpc-hip-git (requires hipsparse)
- ginkgo-hpc-hip-git (requires hipblas) (make)
- ginkgo-hpc-hip-git (requires hipsparse) (make)
- ginkgo-hpc-hip-git (requires rocthrust) (make)
- hipsycl-rocm (requires rocm-hip-sdk)
- hipsycl-rocm-git (requires rocm-hip-sdk)
- koboldcpp-hipblas (requires hipblas)
- llama-cpp-rocm-git (requires rocm-llvm) (make)
- llama-cpp-rocm-git (requires hipblas)
- llama.cpp-hip (requires rocm-hip-sdk) (make)
- llama.cpp-hip (requires hipblas)
- llama.cpp-hip (requires rocblas)
- llamafile (requires hipblas) (optional)
- llamafile-bin (requires hipblas) (optional)
- llamafile-git (requires hipblas) (optional)
- local-ai-hipblas (requires rocm-hip-sdk) (make)
- localai-git (requires miopen-hip) (make)
- localai-git (requires rccl) (make)
- localai-git (requires rocm-hip-sdk) (make)
- localai-git-cuda (requires miopen-hip) (make)
- localai-git-cuda (requires rccl) (make)
- localai-git-cuda (requires rocm-hip-sdk) (make)
- localai-git-cuda-python (requires miopen-hip) (make)
- localai-git-cuda-python (requires rccl) (make)
- localai-git-cuda-python (requires rocm-hip-sdk) (make)
- localai-git-python (requires miopen-hip) (make)
- localai-git-python (requires rccl) (make)
- localai-git-python (requires rocm-hip-sdk) (make)
- localai-git-rocm (requires hipblas)
- localai-git-rocm (requires miopen-hip) (make)
- localai-git-rocm (requires rccl) (make)
- localai-git-rocm (requires rocblas)
- localai-git-rocm (requires rocm-hip-sdk) (make)
- localai-git-rocm-python (requires miopen-hip) (make)
- localai-git-rocm-python (requires rccl) (make)
- localai-git-rocm-python (requires rocm-hip-sdk) (make)
- migraphx (requires half) (make)
- migraphx (requires miopen)
- miopen-opencl (requires rocm-llvm)
- miopen-opencl (requires rocblas)
- mivisionx (requires miopen-hip)
- mivisionx (requires migraphx)
- ollama-rocm-git (requires rocm-opencl-sdk) (make)
- ollama-rocm-git (requires rocsolver)
- ollama-rocm-git (requires rocsolver) (make)
- ollama-rocm-git (requires rocsparse)
- ollama-rocm-git (requires rocsparse) (make)
- ollama-rocm-git (requires hipblas)
- ollama-rocm-git (requires hipblas) (make)
- ollama-rocm-git (requires rocblas)
- ollama-rocm-git (requires rocblas) (make)
- ollama-rocm-git (requires rocm-hip-sdk) (make)
- opencl-amd (optional)
- openmp-extras (requires rocm-llvm)
- python-bitsandbytes-rocm-git (requires hiprand)
- python-bitsandbytes-rocm-git (requires hipsparse)
- python-bitsandbytes-rocm-git (requires rocthrust)
- python-bitsandbytes-rocm-git (requires hipblaslt)
- python-bitsandbytes-rocm-git (requires hipcub)
- python-cupy-rocm (requires rocm-hip-sdk)
- python-cupy-rocm (requires rocm-hip-sdk) (make)
- python-jax-rocm (requires miopen)
- python-jax-rocm (requires miopen) (make)
- python-jax-rocm (requires rccl)
- python-jax-rocm (requires rocm-hip-sdk) (make)
- python-jax-rocm (requires rccl) (make)
- python-pytorch-cxx11abi (requires miopen-hip) (make)
- python-pytorch-cxx11abi (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi (requires hipblaslt) (make)
- python-pytorch-cxx11abi-cuda (requires miopen-hip) (make)
- python-pytorch-cxx11abi-cuda (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-cuda (requires hipblaslt) (make)
- python-pytorch-cxx11abi-opt (requires miopen-hip) (make)
- python-pytorch-cxx11abi-opt (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-opt (requires hipblaslt) (make)
- python-pytorch-cxx11abi-opt-cuda (requires miopen-hip) (make)
- python-pytorch-cxx11abi-opt-cuda (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-opt-cuda (requires hipblaslt) (make)
- python-pytorch-cxx11abi-opt-rocm (requires miopen-hip)
- python-pytorch-cxx11abi-opt-rocm (requires miopen-hip) (make)
- python-pytorch-cxx11abi-opt-rocm (requires rocm-hip-sdk)
- python-pytorch-cxx11abi-opt-rocm (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-opt-rocm (requires hipblaslt)
- python-pytorch-cxx11abi-opt-rocm (requires hipblaslt) (make)
- python-pytorch-cxx11abi-rocm (requires miopen-hip)
- python-pytorch-cxx11abi-rocm (requires miopen-hip) (make)
- python-pytorch-cxx11abi-rocm (requires rocm-hip-sdk)
- python-pytorch-cxx11abi-rocm (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-rocm (requires hipblaslt) (make)
- python-pytorch-cxx11abi-rocm (requires hipblaslt)
- python-tensorflow-opt-rocm (requires miopen) (make)
- python-tensorflow-opt-rocm (requires rccl)
- python-tensorflow-opt-rocm (requires rocm-hip-sdk)
- python-tensorflow-opt-rocm (requires rccl) (make)
- python-tensorflow-opt-rocm (requires rocm-hip-sdk) (make)
- python-tensorflow-opt-rocm (requires miopen)
- python-tensorflow-rocm (requires rccl)
- python-tensorflow-rocm (requires rocm-hip-sdk)
- python-tensorflow-rocm (requires rccl) (make)
- python-tensorflow-rocm (requires rocm-hip-sdk) (make)
- python-tensorflow-rocm (requires miopen)
- python-tensorflow-rocm (requires miopen) (make)
- python-torchvision-rocm (requires miopen-hip) (make)
- python-torchvision-rocm (requires rocm-hip-sdk) (make)
- rocblas-gfx1010-backend (requires rocblas)
- rocm-validation-suite (requires rocblas)
- rocsparse-gfx1010 (requires rocprim)
- rocwmma (requires rocblas)
- shadps4 (requires half) (make)
- shadps4-git (requires half) (make)
- stable-diffusion.cpp-hipblas-git (requires rocm-hip-sdk) (make)
- stable-diffusion.cpp-hipblas-git (requires hipblas)
- tensorflow-opt-rocm (requires rccl)
- tensorflow-opt-rocm (requires rocm-hip-sdk)
- tensorflow-opt-rocm (requires rccl) (make)
- tensorflow-opt-rocm (requires rocm-hip-sdk) (make)
- tensorflow-opt-rocm (requires miopen)
- tensorflow-opt-rocm (requires miopen) (make)
- tensorflow-rocm (requires rccl)
- tensorflow-rocm (requires rocm-hip-sdk)
- tensorflow-rocm (requires rccl) (make)
- tensorflow-rocm (requires rocm-hip-sdk) (make)
- tensorflow-rocm (requires miopen)
- tensorflow-rocm (requires miopen) (make)
- torchvision-rocm (requires miopen-hip) (make)
- torchvision-rocm (requires rocm-hip-sdk) (make)
- xkblas (requires hipify-clang) (make)
- xkblas (requires hipblas)
Sources (56)
- https://repo.radeon.com/rocm/apt/6.4/pool/main/c/composablekernel-dev/composablekernel-dev_1.1.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/half/half_1.12.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipblas-common-dev/hipblas-common-dev_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipblas-dev/hipblas-dev_2.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipblas/hipblas_2.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipblaslt-dev/hipblaslt-dev_0.12.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipblaslt/hipblaslt_0.12.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipcub-dev/hipcub-dev_3.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipfft-dev/hipfft-dev_1.0.18.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipfft/hipfft_1.0.18.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipfort-dev/hipfort-dev_0.6.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipify-clang/hipify-clang_19.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hiprand-dev/hiprand-dev_2.12.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hiprand/hiprand_2.12.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipsolver-dev/hipsolver-dev_2.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipsolver/hipsolver_2.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipsparse-dev/hipsparse-dev_3.2.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipsparse/hipsparse_3.2.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipsparselt-dev/hipsparselt-dev_0.2.3.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipsparselt/hipsparselt_0.2.3.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hiptensor-dev/hiptensor-dev_1.5.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hiptensor/hiptensor_1.5.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/m/migraphx-dev/migraphx-dev_2.12.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/m/migraphx/migraphx_2.12.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/m/miopen-hip-dev/miopen-hip-dev_3.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/m/miopen-hip/miopen-hip_3.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/m/mivisionx-dev/mivisionx-dev_3.2.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/m/mivisionx/mivisionx_3.2.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/o/openmp-extras-dev/openmp-extras-dev_18.63.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rccl-dev/rccl-dev_2.22.3.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rccl/rccl_2.22.3.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocalution-dev/rocalution-dev_3.2.2.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocalution/rocalution_3.2.2.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocblas-dev/rocblas-dev_4.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocblas/rocblas_4.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocfft-dev/rocfft-dev_1.0.32.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocfft/rocfft_1.0.32.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-hip-runtime-dev/rocm-hip-runtime-dev_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-llvm/rocm-llvm_19.0.0.25133.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl-sdk/rocm-opencl-sdk_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprim-dev/rocprim-dev_3.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-compute/rocprofiler-compute_3.1.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-sdk-roctx/rocprofiler-sdk-roctx_0.6.0-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-sdk/rocprofiler-sdk_0.6.0-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-systems/rocprofiler-systems_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocrand-dev/rocrand-dev_3.3.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocrand/rocrand_3.3.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocsolver-dev/rocsolver-dev_3.28.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocsolver/rocsolver_3.28.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocsparse-dev/rocsparse-dev_3.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocsparse/rocsparse_3.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocthrust-dev/rocthrust-dev_3.3.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocwmma-dev/rocwmma-dev_1.7.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rpp-dev/rpp-dev_1.9.10.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rpp/rpp_1.9.10.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/t/transferbench-dev/transferbench-dev_1.57.0.60400-47~24.04_amd64.deb
luciddream commented on 2023-02-12 12:35 (UTC)
BishopWolf commented on 2022-12-26 14:07 (UTC)
Missing rocprim, rocthrust and hipcub in provides section, the -dev packages are already provided
$ paru python-cupy-rocm
1 aur/python-cupy-rocm 11.3.0-1 [+0 ~0.00]
NumPy-like API accelerated with ROCm
:: Packages to install (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
Aur (5) rocprim-5.4.1-1 rocthrust-5.4.1-1 hipcub-5.4.1-1 python-fastrlock-0.8.1-1 python-cupy-rocm-11.3.0-1
:: Proceed to review? [Y/n]:
BishopWolf commented on 2022-12-16 09:25 (UTC) (edited on 2022-12-16 09:26 (UTC) by BishopWolf)
Hi @luciddream I think the package is almost ready, however it's missing a conflicts section, basically it shall have conflict with all the packages it provides. Therefore, no independent package version shall be allowed (this case breaks the functionality).
Example: having rocsolver installed independently and then installing opencl-amd you end up with two roctracer versions that create conflict in cmake. Moreover, removing roctracer after installing opencl-amd left you without roctracer. All these is avoided by removing roctracer before installing opencl-amd, and this shall be done by the package itself. This is the reason of the conflicts section.
luciddream commented on 2022-12-14 23:52 (UTC)
I've added the packages to the provides list. At some point I guess we need to take care of the conflicts too. I didn't have time to make any tests, I will do some tomorrow.
luciddream commented on 2022-12-10 16:45 (UTC) (edited on 2022-12-10 17:24 (UTC) by luciddream)
Thanks @BishopWolf, I will also add rocprofiler
, roctracer
and hsa-amd-aqlprofile
to the next build, but not -bin
. I understand where they are coming from but if we add one -bin package then we will have to rename everything to -bin and then there is no point to provide the same names as the source versions of the same packages.
EDIT: oh, -bin
is just what your AUR helper is reporting, the real dependency is actually hsa-amd-aqlprofile
. So we are fine :)
p.s I now have 32GB of RAM (I finally got one on a good price) so also compile ROCm software myself.
BishopWolf commented on 2022-12-10 14:14 (UTC)
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
luciddream commented on 2022-12-09 13:48 (UTC)
Hey @BishopWolf, no, I didn't misunderstood, in fact after more thought I think it will be fine to add both hip
and miopen
to the packages. But it's not something that is urgent at the moment. I will add them on the next official ROCm release.
BishopWolf commented on 2022-12-09 10:30 (UTC)
Hello @luciddream: I think you misunderstood, hip-runtime-amd
already provides hip
and miopen-hip
already provides miopen
. But in the system they are not declared explicitly.
In the example, python-pytorch-opt-rocm
is asking explicitly for a provider of both packages that are already installed in the system, but no provider has been declared. Hence, you need to modify the provides section here as
+ provides(... 'miopen-hip' *'miopen'* 'miopen-hip-dev' ...)
the same for opencl-amd
+ provides(... 'hip-dev' *'hip'* 'hip-doc' ...)
That's all
luciddream commented on 2022-12-03 16:29 (UTC) (edited on 2022-12-03 16:30 (UTC) by luciddream)
@BishopWolf thanks, your comment reminded me there is more to these packages than the Ubuntu Installer wants you to believe. I will have to keep a better eye on every release.
I think that the easiest way for now is for you (and everyone else that wants to install a software) to manually change the dependencies of the package you are trying to install, and build it without an AUR helper.
I will probably add hip and miopen in a future release but I don't see it as necessary or urgent. Currently opencl-amd
and -dev
only provide hip-runtime-amd
and miopen-hip
, so the package is fine as it is.
BishopWolf commented on 2022-12-03 14:51 (UTC) (edited on 2022-12-03 15:01 (UTC) by BishopWolf)
Hi, when installing packages they do something like this
Choose a provider for hip:
1: hip-runtime-amd 5.3.3-1 AUR
2: hip-runtime-nvidia 5.3.0-3 AUR
Enter a number (default=1): ^C
Choose a provider for miopen:
1: miopen-hip 5.3.0-1 AUR
2: miopen-opencl 5.3.0-1 AUR
Enter a number (default=1): ^Z
[1]+ Stopped pamac build python-pytorch-opt-rocm
These two packages are included, but are not declared in the "provides" section. I think this will be the solution.
EDIT: You have to add "hip" to the provides section in "opencl-amd"; and "miopen" here
Pinned Comments
luciddream commented on 2022-01-12 16:47 (UTC) (edited on 2025-04-11 22:57 (UTC) by luciddream)
Latest release: 6.4.0. It uses 12.67GB of disk.