Step 0: Install Bazel 3.7.2:
You could build from source. But there was an issue with openjdk
that I just didn't bother to look into.
pamac install bazel3-bin
Step 1: Install CUDA and cuDNN. You can find the exact versions TensorFlow supports here here. As of the time of writing this report, if you've installed proprietary drivers when installing the OS, you'll have to run the following commands in Manjaro: