does somebody knows about fixes for : error: Illegal instruction detected: Invalid dpp_ctrl value: broadcasts are not supported on GFX10+
Search Criteria
Package Details: tensorflow-rocm 2.13.0-4
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) |
Upstream URL: | https://www.tensorflow.org/ |
Licenses: | Apache |
Conflicts: | tensorflow |
Provides: | tensorflow |
Submitter: | acxz |
Maintainer: | acxz |
Last Packager: | acxz |
Votes: | 11 |
Popularity: | 0.26 |
First Submitted: | 2020-07-03 20:44 (UTC) |
Last Updated: | 2023-09-26 01:50 (UTC) |
Dependencies (31)
- c-ares
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR)
- giflib (giflib-gitAUR)
- icu (icu-gitAUR)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libpng (libpng-apngAUR, libpng-gitAUR)
- miopen (miopen-openclAUR, opencl-amd-devAUR, miopen-hip)
- openmp
- openssl (openssl-gitAUR, openssl-hardenedAUR, openssl-staticAUR, quictls-opensslAUR)
- pybind11 (pybind11-gitAUR)
- rccl (opencl-amd-devAUR)
- rocm-hip-sdk (opencl-amd-devAUR)
- bazel (bazel-gitAUR, bazel024-binAUR, bazel024AUR, bazel2AUR, bazel3AUR, bazel3-binAUR, bazel5AUR, bazelisk-gitAUR, bazelisk-binAUR, bazeliskAUR) (make)
- cython (cython-gitAUR, cython0) (make)
- gcc12 (make)
- git (git-vfsAUR, git-run-command-patch-gitAUR, git-gitAUR, git-fcAUR) (make)
- jdk11-openjdk (jdk11-microsoft-openjdkAUR, jdk11-openjdk-dcevmAUR, jdk11-temurinAUR) (make)
- miopen (miopen-openclAUR, opencl-amd-devAUR, miopen-hip) (make)
- patchelf (patchelf-gitAUR) (make)
- python-h5py (python-h5py-gitAUR, python-h5py-openmpi) (make)
- Show 11 more dependencies...
Required by (14)
- libtensorflow-lite (requires tensorflow)
- mpv-full-build-git (requires tensorflow) (optional)
- ncsdk (requires tensorflow)
- python-keras-git (requires tensorflow)
- python-tensorflow-amd-git (requires tensorflow)
- python-tensorflow-git (requires tensorflow)
- python-tensorflow-io-gcs-filesystem (requires tensorflow)
- python-tensorflow-lucid (requires tensorflow)
- python-tensorflow-rocm
- python-tensorflow114 (requires tensorflow)
- r-scalign (requires tensorflow)
- tensorflow-vala (requires tensorflow)
- tftools-bin (requires tensorflow)
- ytmdl (requires tensorflow) (optional)
Sources (6)
Latest Comments
Logrus commented on 2023-09-21 16:26 (UTC) (edited on 2023-09-21 16:27 (UTC) by Logrus)
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
dagu commented on 2020-08-10 08:32 (UTC) (edited on 2020-08-10 08:32 (UTC) by dagu)
[code] INFO: From Compiling tensorflow/core/kernels/sparse_tensor_dense_matmul_op_gpu.cu.cc: clang-11: warning: /usr/bin/gcc-9: 'linker' input unused [-Wunused-command-line-argument] clang-11: warning: argument unused during compilation: '--hip-device-lib-path=/opt/rocm/lib' [-Wunused-command-line-argument] clang-11: warning: /usr/bin/gcc-9: 'linker' input unused [-Wunused-command-line-argument] In file included from tensorflow/core/kernels/sparse_tensor_dense_matmul_op_gpu.cu.cc:23: In file included from ./tensorflow/core/util/gpu_kernel_helper.h:25: ./tensorflow/core/util/gpu_device_functions.h:828:25: error: redefinition of 'GpuAtomicMax' device inline int64 GpuAtomicMax(int64 ptr, int64 value) { ^ ./tensorflow/core/util/gpu_device_functions.h:796:29: note: previous definition is here device inline long long GpuAtomicMax(long long ptr, long long value) { ^ ./tensorflow/core/util/gpu_device_functions.h:898:25: error: redefinition of 'GpuAtomicMin' device inline int64 GpuAtomicMin(int64 ptr, int64 value) { ^ ./tensorflow/core/util/gpu_device_functions.h:866:29: note: previous definition is here device inline long long GpuAtomicMin(long long ptr, long long value) { ^ 2 errors generated when compiling for gfx803. ERROR: ~/tensorflow-rocm/src/tensorflow-2.3.0-opt-rocm/tensorflow/core/kernels/BUILD:5545:18: output 'tensorflow/core/kernels/_objs/sparse_tensor_dense_matmul_op_gpu/sparse_tensor_dense_matmul_op_gpu.cu.pic.o' was not created ERROR: ~/tensorflow-rocm/src/tensorflow-2.3.0-opt-rocm/tensorflow/core/kernels/BUILD:5545:18: not all outputs were created or valid [/code]
tobol commented on 2020-07-25 10:40 (UTC)
soho commented on 2020-07-06 14:21 (UTC)
May you please upload a working binary at some place?
The build fails in a clean chroot: '''ROCm Configuration Error: Cannot find rocm library hip_hcc'''
acxz commented on 2020-07-03 20:57 (UTC)
Development is on Github: https://github.com/rocm-arch/tensorflow-rocm Please open issues and PRs there instead of commenting.
Pinned Comments
acxz commented on 2020-07-03 20:57 (UTC)
Development is on Github: https://github.com/rocm-arch/tensorflow-rocm Please open issues and PRs there instead of commenting.