Package Details: tensorflow-opt-rocm 2.20.0-2

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)

Required by (13)

Sources (8)

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

Latest Comments

1 2 Next › Last »

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

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