OhadRubin / kaist_tpu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kaist_tpu

Instructions for create_tpu_v3:

1. `pip install fire`
1. install gcloud via https://cloud.google.com/sdk/docs/install
3. run `gcloud init` with zone `europe-west4-a`

Flops:

1x v3-8 node (4 chips x 123 teraflops) ~ 492 teraflops
1x V100 ~ 130 teraflops
1x A100 ~ 312 teraflops
8x V100 ~ 1040 teraflops
5x v3-8 ~ 2460 teraflops
8x A100 ~ 2496 teraflops
1x v4-8 node ~ (4 chips x 275 teraflops) ~ 1100 teraflops
1x v3-32 pod ~ 1968 flops

Useful links:

installing python

run this

sudo apt-get install -y -qq software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get install -y -qq python3.11-full python3.11-dev

python3.11 -m venv ~/venv


. ~/venv/bin/activate
printf ". ~/venv/bin/activate" >> ~/.bashrc
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
source ~/.bashrc
pip install -U wheel
pip install -U "jax[tpu]" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html

About


Languages

Language:Python 70.8%Language:Shell 29.2%