Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
qihqi committed May 17, 2024
1 parent 0e5607c commit 71f256b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions install_everything.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
pip show jax && pip uninstall -y jax
pip show jaxlib && pip uninstall -y jaxlib
pip show libtpu-nightly && pip uninstall -y libtpu-nightly
pip show tensorflow && pip uninstall -y tensorflow

pip install pip install jax[tpu] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
pip install jax[tpu]==0.4.28 -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
# torch cpu
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install torch==2.2.1+cpu --index-url https://download.pytorch.org/whl/cpu
pip install tensorflow flatbuffers absl-py flax sentencepiece seqio google-cloud-storage
pip install safetensors colorama coverage ray[default] humanize

git submodule update --init --recursive
pip show google-jetstream && pip uninstall -y google-jetstream
pip show torch_xla2 && pip uninstall -y torch_xla2
pip install -e .

0 comments on commit 71f256b

Please sign in to comment.