Skip to content

Instantly share code, notes, and snippets.

@Micky774
Last active November 20, 2023 20:14
Show Gist options
  • Save Micky774/7d5b38478d9a9556142ecf01856d1a88 to your computer and use it in GitHub Desktop.
Save Micky774/7d5b38478d9a9556142ecf01856d1a88 to your computer and use it in GitHub Desktop.
TPU starting script
sudo apt update
sudo apt-get install git -y
"${SHELL}" <(curl -L micro.mamba.pm/install.sh) << START_ARGS
y
y
START_ARGS
source ~/.bashrc
micromamba create -n flax python~=3.10.0 <<< "y"
micromamba activate flax
pip install jax[tpu] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
pip install flax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment