It fails on AMD because there are 2 lines with FORCE_CUDA=1 in the PKGBUILD, which makes it only work on NVIDIA.
Search Criteria
Package Details: python-torchvision-rocm 0.28.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-torchvision-rocm.git (read-only, click to copy) |
|---|---|
| Package Base: | python-torchvision-rocm |
| Description: | Datasets, transforms, and models specific to computer vision (with ROCM support) |
| Upstream URL: | https://github.com/pytorch/vision |
| Licenses: | BSD-3-Clause |
| Conflicts: | python-torchvision |
| Provides: | python-torchvision |
| Submitter: | wuxxin |
| Maintainer: | wuxxin |
| Last Packager: | wuxxin |
| Votes: | 12 |
| Popularity: | 0.097240 |
| First Submitted: | 2022-04-18 13:21 (UTC) |
| Last Updated: | 2026-07-14 15:30 (UTC) |
Dependencies (17)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-whisper-gitAUR, ffmpeg-decklinkAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR, ffmpeg-amd-full-gitAUR, librempeg-gitAUR, ffmpeg-full-llvmAUR, ffmpeg-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-amd-fullAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR)
- libjpeg-turbo (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- numactl (numactl-gitAUR)
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-pillow (python-pillow-simd-gitAUR, hosaka-studioAUR)
- python-pytorch-rocm (python-pytorch-opt-rocm)
- python-requests
- python-scipy (python-scipy-gitAUR, python-scipy-mkl-binAUR, python-scipy-mkl-tbbAUR, python-scipy-mklAUR)
- python-sympy (python-sympy-gitAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- miopen-hip (opencl-amd-devAUR, rocm-nightly-gfx120x-all-binAUR, rocm-nightly-gfx1151-binAUR, rocm-nightly-gfx110x-binAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-gitAUR) (make)
- python-setuptools (make)
- qt6-base (qt6-base-gitAUR, qt6-base-hifpsAUR, qt6-base-headlessAUR) (make)
- rocm-hip-sdk (opencl-amd-devAUR, rocm-nightly-gfx120x-all-binAUR, rocm-nightly-gfx1151-binAUR, rocm-nightly-gfx110x-binAUR) (make)
- rocm-toolchain (make)
Required by (102)
- chainner-bin (requires python-torchvision) (optional)
- comfyui-system (requires python-torchvision)
- gaia-amd (requires python-torchvision)
- handtex (requires python-torchvision)
- localai-git (requires python-torchvision)
- localai-git-cuda (requires python-torchvision)
- localai-git-rocm (requires python-torchvision)
- mokuro (requires python-torchvision)
- monailabel (requires python-torchvision)
- openrecall-git (requires python-torchvision)
- panelcleaner (requires python-torchvision)
- python-albumentations (requires python-torchvision) (optional)
- python-albumentationsx (requires python-torchvision) (optional)
- python-argbind-git (requires python-torchvision) (check)
- python-clean-fid-git (requires python-torchvision)
- python-compressai (requires python-torchvision)
- python-d2l (requires python-torchvision) (optional)
- python-deeplabcut (requires python-torchvision)
- python-deepspeed (requires python-torchvision)
- python-diart (requires python-torchvision)
- Show 82 more...
Sources (2)
Latest Comments
« First ‹ Previous 1 2
0000000011111111 commented on 2023-05-19 14:32 (UTC) (edited on 2023-05-19 14:32 (UTC) by 0000000011111111)
banditsan commented on 2023-04-18 22:18 (UTC)
@TheJackiMonster are you trying use package with nvidia GPU? This package is for AMD ROCm. For cuda there is torchvision-cuda in official Arch repo
TheJackiMonster commented on 2023-04-10 22:53 (UTC)
CUDA seems to be required to build the package: https://archlinux.org/packages/community/x86_64/cuda/
Also: "CUDA_HOME environment variable is not set. Please set it to your CUDA install root."
I would recommend adding cuda to the build requirements and set CUDA_HOME appropiately.
wuxxin commented on 2022-04-18 13:29 (UTC) (edited on 2026-02-04 14:51 (UTC) by wuxxin)
Please open issues and PRs at https://github.com/wuxxin/aur-packages
Pinned Comments
wuxxin commented on 2022-04-18 13:29 (UTC) (edited on 2026-02-04 14:51 (UTC) by wuxxin)
Please open issues and PRs at https://github.com/wuxxin/aur-packages