If you are interested in submitting patches, please use my github repo: https://github.com/lubosz/tensorflow-rocm
Search Criteria
Package Details: tensorflow-opt-rocm 2.20.0-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/tensorflow-rocm.git (read-only, click to copy) |
|---|---|
| Package Base: | tensorflow-rocm |
| Description: | Library for computation using data flow graphs for scalable machine learning (with ROCM and AVX CPU optimizations) |
| Upstream URL: | https://www.tensorflow.org/ |
| Licenses: | Apache-2.0 |
| Conflicts: | tensorflow |
| Provides: | tensorflow, tensorflow-rocm |
| Submitter: | acxz |
| Maintainer: | lubosz |
| Last Packager: | lubosz |
| Votes: | 11 |
| Popularity: | 0.000000 |
| First Submitted: | 2020-07-03 20:44 (UTC) |
| Last Updated: | 2026-01-17 16:19 (UTC) |
Dependencies (26)
- c-ares (c-ares-gitAUR)
- curl (curl-gitAUR, curl-c-aresAUR)
- giflib (giflib-gitAUR)
- icu (icu-gitAUR)
- intel-oneapi-compiler-shared-runtime-libs (intel-oneapi-hpckitAUR, intel-oneapi-base-toolkit, intel-oneapi-basekit)
- intel-oneapi-openmp (intel-oneapi-hpckitAUR, intel-oneapi-base-toolkit, intel-oneapi-basekit)
- libjpeg-turbo (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- miopen (miopen-openclAUR, rocm-gfx120x-binAUR, rocm-gfx110x-binAUR, rocm-gfx1150-binAUR, rocm-gfx1151-binAUR, opencl-amd-devAUR, miopen-hip)
- openssl (openssl-gitAUR, openssl-aegisAUR, openssl-staticAUR)
- pybind11 (pybind11-gitAUR)
- rccl (rocm-gfx120x-binAUR, rocm-gfx110x-binAUR, rocm-gfx1150-binAUR, rocm-gfx1151-binAUR, opencl-amd-devAUR)
- rocm-hip-sdk (rocm-gfx120x-binAUR, rocm-gfx110x-binAUR, rocm-gfx1150-binAUR, rocm-gfx1151-binAUR, opencl-amd-devAUR)
- bazel (bazel3-binAUR, bazelisk-gitAUR, bazelisk-binAUR, bazelisk) (make)
- clang20 (make)
- git (git-gitAUR, git-glAUR) (make)
- libxcrypt-compat (make)
- lld (llvm-gitAUR) (make)
- openmp (make)
- patchelf (patchelf-gitAUR) (make)
- Show 6 more dependencies...
Required by (13)
- cppflow (requires tensorflow)
- libtensorflow-lite (requires tensorflow)
- linux-wave (requires tensorflow) (optional)
- photoprism (requires tensorflow)
- photoprism-bin (requires tensorflow)
- python-keras-git (requires tensorflow)
- python-tensorflow-git (requires tensorflow)
- python-tensorflow-io-gcs-filesystem (requires tensorflow)
- python-tensorflow-lucid (requires tensorflow)
- python-tensorflow-opt-rocm
- python-tensorflow-rocm (requires tensorflow-rocm)
- r-scalign (requires tensorflow)
- tftools-bin (requires tensorflow)
Sources (8)
- https://github.com/bazelbuild/bazel/releases/download/7.4.1/bazel_nojdk-7.4.1-linux-x86_64
- protobuf-deps.patch
- tensorflow-2.19.0-matmul-it-unused-result.patch
- tensorflow-2.19.0-tf-runtime-workspace.patch
- tensorflow-2.20.0-python-3.14.patch
- tensorflow-2.20.0-StructuredTensor.patch
- tensorflow-rocm
- tf-runtime-forward-decls.patch
lubosz commented on 2026-01-16 23:16 (UTC)
SelfRef commented on 2026-01-14 18:54 (UTC)
There's a missing package python-tensorflow-estimator set as dependency.
dimitrisk commented on 2024-02-18 16:08 (UTC)
If you are having a linking error with unresolved "GraphExecKernelNodeSetParams" you can get the fix from here: https://github.com/dkarkoulis/tensorflow-rocm.git
You can merge my pull req https://github.com/rocm-arch/tensorflow-rocm/pull/67
dreieck commented on 2024-02-08 18:11 (UTC)
Can you place make the (bazel) download not cluttering the user's home directory (${HOME}/.cache/bazel) but to be placed unter ${srcdir}/, e.g. "${srcdir}/.bazel/"?
Regards and thanks for the package!
dreieck commented on 2024-02-08 16:38 (UTC) (edited on 2024-02-08 16:40 (UTC) by dreieck)
Can you please move all the download stuff out from build()?
If you cannot put it into the source array, please put it into prepare().
Loading:
Fetching repository @pypi; Restarting. 34s
Fetching repository @python_x86_64-unknown-linux-gnu; starting 34s
Fetching https://github.com/indygreg/python-build-standalone/releases/download/20231002/cpython-3.11.6+20231002-x86_64-unknown-linux-gnu-install_only.tar.gz; 15.9 MiB (16,681,357B) 33s
Fetching repository @llvm-raw; starting 65s
Fetching https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/49cb1595c1b3ae1de3684fea6148363c15bae12a.tar.gz; 21.8 MiB (22,876,377B) 64s
[...]
Regards and thanks for maintaining!
dreieck commented on 2024-02-08 16:37 (UTC)
prepare() prints out error messages (but continues):
==> Starting prepare()...
bazel 6.1.0
/tmp/makepkg/yay/tensorflow-rocm/PKGBUILD: line 124: /opt/cuda/bin/nvcc: No such file or directory
sed: can't read /usr/include/cudnn_version.h: No such file or directory
Logrus commented on 2023-09-21 16:26 (UTC) (edited on 2023-09-21 16:27 (UTC) by Logrus)
does somebody knows about fixes for : error: Illegal instruction detected: Invalid dpp_ctrl value: broadcasts are not supported on GFX10+
Jotaf commented on 2023-08-29 12:36 (UTC)
@lubosz your compilations is taking ages, and mostly killing the machines I have tried it
lubosz commented on 2023-08-08 21:54 (UTC) (edited on 2023-08-08 21:55 (UTC) by lubosz)
Please merge my fixes for ROCm 5.6, llvm 16 and update to tensorflow 2.13: https://github.com/rocm-arch/tensorflow-rocm/pulls
Full working branch: https://github.com/lubosz/tensorflow-rocm/commits/master
mpeschel10 commented on 2023-05-31 23:45 (UTC)
Hi. I spent a long time trying to compile tensorflow-rocm but failed. However, you can also run the official rocm/tensorflow docker image, which works for me on Arch with no dependencies other than docker.
Link to the rocm tensorflow docker hub page
In summary:
sudo systemctl start systemd-timesyncd
sudo docker run -it --network=host --device=/dev/kfd --device=/dev/dri --ipc=host --shm-size 16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $HOME/dockerx:/dockerx rocm/tensorflow:latest
My more in depth tutorial here: https://github.com/mpeschel10/test-tensorflow-rocm
Pinned Comments
lubosz commented on 2026-01-16 23:16 (UTC)
If you are interested in submitting patches, please use my github repo: https://github.com/lubosz/tensorflow-rocm