You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TensorFlow is an end-to-end open source platform
for machine learning. It has a comprehensive, flexible ecosystem of
tools,
libraries, and
community resources that lets
researchers push the state-of-the-art in ML and developers easily build and
deploy ML-powered applications.
TensorFlow was originally developed by researchers and engineers working within
the Machine Intelligence team at Google Brain to conduct research in machine
learning and neural networks. However, the framework is versatile enough to be
used in other areas as well.
TensorFlow provides stable Python
and C++ APIs, as well as a
non-guaranteed backward compatible API for
other languages.
Please follow the instructions here to set up your ROCm stack.
A docker container: rocm/tensorflow:latest(https://hub.docker.com/r/rocm/tensorflow/) is readily available to be used:
alias drun='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'
drun rocm/tensorflow:latest
We maintain tensorflow-rocm whl packages on PyPI here, to install tensorflow-rocm package using pip:
# Install some ROCm dependencies
sudo apt install rocm-libs rccl
# Pip3 install the whl package from PyPI
pip3 install --user tensorflow-rocm --upgrade
If you want to contribute to TensorFlow, be sure to review the
Contribution Guidelines. This project adheres to TensorFlow's
Code of Conduct. By participating, you are expected to
uphold this code.
We use GitHub Issues for
tracking requests and bugs, please see
TensorFlow Forum for general questions and
discussion, and please direct specific questions to
Stack Overflow.
The TensorFlow project strives to abide by generally accepted best practices in
open-source software development.
Patching guidelines
Follow these steps to patch a specific version of TensorFlow, for example, to
apply fixes to bugs or security vulnerabilities:
Clone the TensorFlow repository and switch to the appropriate branch for
your desired version—for example, r2.8 for version 2.8.
Apply the desired changes (i.e., cherry-pick them) and resolve any code
conflicts.