install_tensorflow.sh 364 B

123456789101112131415
  1. #!/bin/sh
  2. DEPS_ROOT=$(cd "$(dirname "$0")/" && pwd)
  3. cd ${DEPS_ROOT}
  4. echo "Downloading tensorflow in ${PWD}..."
  5. git clone https://github.com/tensorflow/tensorflow.git tensorflow-src \
  6. --branch v2.12.0
  7. # NOTE: fixes this https://github.com/tensorflow/tensorflow/issues/59631
  8. cd tensorflow-src
  9. git cherry-pick 5115fa96d7c5b41451674892317be43e30b7c389
  10. exit 0