-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install t5x on cloud TPU #1413
Comments
I have the same issue |
me too |
Me too |
Workaround for this: Create a v3 or v4 TPU VM (I have tested this on a v3-32 and v4-32 TPU Pod) using the $ gcloud alpha compute tpus queued-resources create byt5-experiments \
--node-id byt5 --project <project-name> \
--zone us-central2-b \
--accelerator-type v4-32 \
--runtime-version tpu-ubuntu2204-base On each worker, perform the following steps: Install $ pip install jax[tpu] -f https://storage.googleapis.com/jax-releases/libtpu_releases.html Install latest $ pip3 install --upgrade git+https://github.com/google/flax.git Install latest T5X version (here: b642f30) $ git clone https://github.com/google-research/t5x.git
$ sed -i 's!flax @ git+https://github.com/google/flax#egg=flax!flax!g' t5x/setup.py
$ cd t5x && pip3 install -e
$ cd .. Then T5X can be used :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have been following the installation instruction here.
However I encounted the following error when installing the t5x library on cloud TPU v4-8 (tpu version: tpu-ubuntu2204-base):
May I know how to resolve the issue?
The text was updated successfully, but these errors were encountered: