It's redundant to conflict with rocm-opencl-runtime because opencl-amd, its dependency, already has this conflict (and imo opencl-amd should provide rocm-opencl-runtime)
Search Criteria
Package Details: opencl-amd-dev 1:6.4.1-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.063334 |
First Submitted: | 2021-12-26 15:01 (UTC) |
Last Updated: | 2025-05-22 15:22 (UTC) |
Dependencies (5)
- blas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, blas-openblas-gitAUR, aocl-blisAUR, openblas-lapackAUR, blas-gitAUR, blas-openblas)
- lapack (aocl-libflame-aoccAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, aocl-libflameAUR, blas-openblas-gitAUR, openblas-lapackAUR, lapack-gitAUR, blas-openblas)
- opencl-amdAUR (amdapp-sdkAUR)
- suitesparse
- wget (wget-gitAUR, wurlAUR) (make)
Required by (158)
- 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 rocthrust) (make)
- ginkgo-hpc-cuda-git (requires hipblas) (make)
- ginkgo-hpc-cuda-git (requires hipsparse) (make)
- ginkgo-hpc-cuda-git (requires hiprand) (make)
- ginkgo-hpc-cuda-git (requires hipfft) (make)
- ginkgo-hpc-docs-git (requires hipsparse) (make)
- ginkgo-hpc-docs-git (requires hipfft) (make)
- ginkgo-hpc-docs-git (requires hipblas) (make)
- ginkgo-hpc-docs-git (requires rocthrust) (make)
- ginkgo-hpc-docs-git (requires hiprand) (make)
- ginkgo-hpc-git (requires hipblas) (make)
- ginkgo-hpc-git (requires rocthrust) (make)
- ginkgo-hpc-git (requires hiprand) (make)
- ginkgo-hpc-git (requires hipsparse) (make)
- ginkgo-hpc-git (requires hipfft) (make)
- ginkgo-hpc-hip-git (requires hiprand)
- ginkgo-hpc-hip-git (requires hipfft)
- 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 hiprand) (make)
- ginkgo-hpc-hip-git (requires rocthrust) (make)
- ginkgo-hpc-hip-git (requires hipfft) (make)
- koboldcpp-hipblas (requires hipblas)
- koboldcpp-hipblas-portable (requires hipblas)
- libggml-hip-git (requires rocblas)
- libggml-hip-git (requires hipblas)
- libggml-hip-git (requires rocm-hip-sdk) (make)
- llama-cpp-rocm-git (requires hipblas)
- llama-cpp-rocm-git (requires rocm-llvm) (make)
- llama.cpp-hip (requires hipblas)
- llama.cpp-hip (requires rocblas)
- llama.cpp-hip (requires rocm-hip-sdk) (make)
- 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 rocm-hip-sdk) (make)
- localai-git (requires rccl) (make)
- localai-git-cuda (requires miopen-hip) (make)
- localai-git-cuda (requires rocm-hip-sdk) (make)
- localai-git-cuda (requires rccl) (make)
- localai-git-cuda-python (requires rocm-hip-sdk) (make)
- localai-git-cuda-python (requires rccl) (make)
- localai-git-cuda-python (requires miopen-hip) (make)
- localai-git-python (requires rocm-hip-sdk) (make)
- localai-git-python (requires rccl) (make)
- localai-git-python (requires miopen-hip) (make)
- localai-git-rocm (requires hipblas)
- localai-git-rocm (requires rocblas)
- localai-git-rocm (requires rocm-hip-sdk) (make)
- localai-git-rocm (requires miopen-hip) (make)
- localai-git-rocm (requires rccl) (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 miopen)
- migraphx (requires half) (make)
- miopen-opencl (requires rocblas)
- miopen-opencl (requires rocm-llvm)
- ollama-amd-igpu (requires hipblas) (make)
- ollama-amd-igpu-cuda (requires hipblas) (make)
- ollama-amd-igpu-docs (requires hipblas) (make)
- ollama-amd-igpu-rocm (requires hipblas)
- ollama-amd-igpu-rocm (requires hipblas) (make)
- ollama-rocm-git (requires hipblas)
- ollama-rocm-git (requires rocsolver)
- ollama-rocm-git (requires rocsparse)
- ollama-rocm-git (requires rocblas)
- ollama-rocm-git (requires rocsolver) (make)
- ollama-rocm-git (requires rocsparse) (make)
- ollama-rocm-git (requires rocblas) (make)
- ollama-rocm-git (requires rocm-opencl-sdk) (make)
- ollama-rocm-git (requires rocm-hip-sdk) (make)
- ollama-rocm-git (requires hipblas) (make)
- opencl-amd (optional)
- openmp-extras (requires rocm-llvm)
- python-bitsandbytes-rocm-git (requires hipsparse)
- python-bitsandbytes-rocm-git (requires hipcub)
- python-bitsandbytes-rocm-git (requires hipblaslt)
- python-bitsandbytes-rocm-git (requires rocthrust)
- python-bitsandbytes-rocm-git (requires hiprand)
- python-cupy-rocm (requires rocm-hip-sdk)
- python-cupy-rocm (requires rocm-hip-sdk) (make)
- python-jax-rocm (requires miopen)
- python-jax-rocm (requires rccl)
- python-jax-rocm (requires miopen) (make)
- python-jax-rocm (requires rccl) (make)
- python-jax-rocm (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi (requires miopen-hip) (make)
- python-pytorch-cxx11abi (requires hipblaslt) (make)
- python-pytorch-cxx11abi-cuda (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-cuda (requires miopen-hip) (make)
- python-pytorch-cxx11abi-cuda (requires hipblaslt) (make)
- python-pytorch-cxx11abi-opt (requires miopen-hip) (make)
- python-pytorch-cxx11abi-opt (requires hipblaslt) (make)
- python-pytorch-cxx11abi-opt (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-opt-cuda (requires miopen-hip) (make)
- python-pytorch-cxx11abi-opt-cuda (requires hipblaslt) (make)
- python-pytorch-cxx11abi-opt-cuda (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-opt-rocm (requires hipblaslt)
- python-pytorch-cxx11abi-opt-rocm (requires rocm-hip-sdk)
- python-pytorch-cxx11abi-opt-rocm (requires miopen-hip)
- python-pytorch-cxx11abi-opt-rocm (requires miopen-hip) (make)
- python-pytorch-cxx11abi-opt-rocm (requires hipblaslt) (make)
- python-pytorch-cxx11abi-opt-rocm (requires rocm-hip-sdk) (make)
- python-pytorch-cxx11abi-rocm (requires hipblaslt)
- python-pytorch-cxx11abi-rocm (requires rocm-hip-sdk)
- python-pytorch-cxx11abi-rocm (requires miopen-hip)
- python-pytorch-cxx11abi-rocm (requires miopen-hip) (make)
- python-pytorch-cxx11abi-rocm (requires hipblaslt) (make)
- python-pytorch-cxx11abi-rocm (requires rocm-hip-sdk) (make)
- python-tensorflow-opt-rocm (requires rocm-hip-sdk)
- python-tensorflow-opt-rocm (requires miopen)
- python-tensorflow-opt-rocm (requires rccl)
- python-tensorflow-opt-rocm (requires rocm-hip-sdk) (make)
- python-tensorflow-opt-rocm (requires miopen) (make)
- python-tensorflow-opt-rocm (requires rccl) (make)
- python-tensorflow-rocm (requires rocm-hip-sdk)
- python-tensorflow-rocm (requires miopen)
- python-tensorflow-rocm (requires rccl)
- python-tensorflow-rocm (requires rocm-hip-sdk) (make)
- python-tensorflow-rocm (requires miopen) (make)
- python-tensorflow-rocm (requires rccl) (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-gfx1103 (requires rocblas)
- shadps4 (requires half) (make)
- shadps4-git (requires half) (make)
- stable-diffusion.cpp-hipblas-git (requires hipblas)
- stable-diffusion.cpp-hipblas-git (requires rocm-hip-sdk) (make)
- tensorflow-opt-rocm (requires rocm-hip-sdk)
- tensorflow-opt-rocm (requires miopen)
- tensorflow-opt-rocm (requires rccl)
- tensorflow-opt-rocm (requires rocm-hip-sdk) (make)
- tensorflow-opt-rocm (requires miopen) (make)
- tensorflow-opt-rocm (requires rccl) (make)
- tensorflow-rocm (requires rocm-hip-sdk)
- tensorflow-rocm (requires miopen)
- tensorflow-rocm (requires rccl)
- tensorflow-rocm (requires rocm-hip-sdk) (make)
- tensorflow-rocm (requires miopen) (make)
- tensorflow-rocm (requires rccl) (make)
- torchvision-rocm (requires rocm-hip-sdk) (make)
- torchvision-rocm (requires miopen-hip) (make)
- xkblas (requires hipblas)
- xkblas (requires hipify-clang) (make)
Sources (56)
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/c/composablekernel-dev/composablekernel-dev_1.1.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/half/half_1.12.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipblas-common-dev/hipblas-common-dev_1.0.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipblas-dev/hipblas-dev_2.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipblas/hipblas_2.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipblaslt-dev/hipblaslt-dev_0.12.1.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipblaslt/hipblaslt_0.12.1.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipcub-dev/hipcub-dev_3.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipfft-dev/hipfft-dev_1.0.18.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipfft/hipfft_1.0.18.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipfort-dev/hipfort-dev_0.6.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipify-clang/hipify-clang_19.0.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hiprand-dev/hiprand-dev_2.12.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hiprand/hiprand_2.12.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipsolver-dev/hipsolver-dev_2.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipsolver/hipsolver_2.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipsparse-dev/hipsparse-dev_3.2.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipsparse/hipsparse_3.2.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipsparselt-dev/hipsparselt-dev_0.2.3.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hipsparselt/hipsparselt_0.2.3.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hiptensor-dev/hiptensor-dev_1.5.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/h/hiptensor/hiptensor_1.5.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/m/migraphx-dev/migraphx-dev_2.12.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/m/migraphx/migraphx_2.12.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/m/miopen-hip-dev/miopen-hip-dev_3.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/m/miopen-hip/miopen-hip_3.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/m/mivisionx-dev/mivisionx-dev_3.2.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/m/mivisionx/mivisionx_3.2.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/o/openmp-extras-dev/openmp-extras-dev_18.63.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rccl-dev/rccl-dev_2.22.3.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rccl/rccl_2.22.3.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocalution-dev/rocalution-dev_3.2.3.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocalution/rocalution_3.2.3.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocblas-dev/rocblas-dev_4.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocblas/rocblas_4.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocfft-dev/rocfft-dev_1.0.32.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocfft/rocfft_1.0.32.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocm-hip-runtime-dev/rocm-hip-runtime-dev_6.4.1.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocm-llvm/rocm-llvm_19.0.0.25184.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocm-opencl-sdk/rocm-opencl-sdk_6.4.1.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocprim-dev/rocprim-dev_3.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocprofiler-compute/rocprofiler-compute_3.1.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocprofiler-sdk-roctx/rocprofiler-sdk-roctx_0.6.0-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocprofiler-sdk/rocprofiler-sdk_0.6.0-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocprofiler-systems/rocprofiler-systems_1.0.1.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocrand-dev/rocrand-dev_3.3.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocrand/rocrand_3.3.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocsolver-dev/rocsolver-dev_3.28.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocsolver/rocsolver_3.28.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocsparse-dev/rocsparse-dev_3.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocsparse/rocsparse_3.4.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocthrust-dev/rocthrust-dev_3.3.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rocwmma-dev/rocwmma-dev_1.7.0.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rpp-dev/rpp-dev_1.9.10.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/r/rpp/rpp_1.9.10.60401-83~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4.1/pool/main/t/transferbench-dev/transferbench-dev_1.57.0.60401-83~24.04_amd64.deb
trougnouf commented on 2022-02-07 23:07 (UTC) (edited on 2022-02-07 23:08 (UTC) by trougnouf)
esistgut commented on 2022-01-24 18:53 (UTC)
@luciddream, just installed it: torch.cuda.is_available()
returns False
but as far as I can tell it doesn't seem to interact with opencl-amd-dev at all, removing it has no effect.
luciddream commented on 2022-01-24 09:52 (UTC)
@esistgut I noticed that there are some builds for Pytorch with Rocm 4.5.2 support now, maybe you want to give it a try?
I'm not on my PC now to test it but I think something like this might work
pip install --pre torch -f https://download.pytorch.org/whl/nightly/rocm4.5.2/torch_nightly.html
luciddream commented on 2022-01-12 16:47 (UTC) (edited on 2025-05-22 15:24 (UTC) by luciddream)
Latest release: 6.4.1. It uses 12.66GB of disk.
Issues with current release:
- libxml2-legacy might be required by ROCm.
- libamdpython.so is missing. Needs manual intervention for
rocgdb
to function. - ROCm needs OpenCV libraries. Possible solution is install opencv then create symbolic links to the Arch Linux libraries.
luciddream commented on 2022-01-12 11:40 (UTC)
@esistgut
The thing is that we have different issues. Pytorch already has support for gfx1030 and you have a gfx1030. So maybe all it's missing for you is to wait for [this pr] to be completed.
In any case I will push a new version of this package within the week to include missing math libraries etc.
esistgut commented on 2022-01-12 10:49 (UTC)
Thank you for your effort. I think rebuilding pytorch is not a long term solution, I'll just wait for the official binary to work. The python-pytorch-rocm package is not a very nice way to follow as it rely on rebuilding the whole platform from sources, this requires more than 32GB of RAM and many many many hours. If your going to publish a package to install the AMD binary ROCm/HIP distribution it will provide a faster way to approach ROCm on Arch.
luciddream commented on 2022-01-12 09:07 (UTC) (edited on 2022-01-12 09:24 (UTC) by luciddream)
So yesterday late at night I managed to create a PKGBUILD with the full ROCM SDK libraries.. the installation size is about 9.4GB - I can attach it here when I get home later today. I don't want to release it yet, maybe it will make sense to split it to many packages. But it still doesn't help with Pytorch.
I think Pytorch needs some extra configuration to work with ROCM, but I'm not familiar with the application or the C++ installation tools to figure it out yet. What I did with the full rocm package was:
- Downloaded Pytorch with
git clone -b fix_warpsize_issue --recursive https://github.com/micmelesse/pytorch --depth=1 --shallow-submodules
- Added /opt/rocm/bin and /opt/rocm/hip/bin to path (I will add it on the main package on the next release)
- Ran
python tools/amd_build/build_amd.py
- Exported
USE_KINETO="OFF"
since I couldn't find where to setKINETO_HIP_LIBRARY="/opt/rocm/hip/lib"
properly. - Ran:
python setup.py build --cmake-only
- Ran
ccmake build
and added gfx1010 to GPU Targets - Gave up
Maybe python-pytorch-rocm works better for you, or we can use it to get ideas on how to build it, but I don't see how it handles the GPU targets (if at all).
luciddream commented on 2022-01-11 22:20 (UTC)
@esistgut
I will take a better look the next days. I think this package is missing a lot of libraries. I noticed that when I tried to compile Pytorch myself. I will then make a new release. Thanks for your feedback!
esistgut commented on 2022-01-11 20:10 (UTC)
(venv) esistgut@nibiru:~/coding/python/fastai$ cat check.py
import torch
print(torch.cuda.is_available())
(venv) esistgut@nibiru:~/coding/python/fastai$ python check.py
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Aborted (core dumped)
(venv) esistgut@nibiru:~/coding/python/fastai$ HSA_OVERRIDE_GFX_VERSION=1030 python check.py
False
luciddream commented on 2022-01-11 19:49 (UTC)
Sadly when I try to train some models I get the following error:
terminate called after throwing an instance of 'c10::HIPError'
what(): HIP error: hipErrorNoDevice
Exception raised from deviceCount at /pytorch/aten/src/ATen/hip/impl/HIPGuardImplMasqueradingAsCUDA.h:102 (most recent call first):
Pinned Comments
luciddream commented on 2022-01-12 16:47 (UTC) (edited on 2025-05-22 15:24 (UTC) by luciddream)
Latest release: 6.4.1. It uses 12.66GB of disk.
Issues with current release:
rocgdb
to function.