Replies: 1 comment 1 reply
-
Hi I'm trying to run the vision transformer code on colab tpu and I find there is an error when I run the part of Fine Tune. That is this part: for step, batch, lr_repl in zip( opt_repl, loss_repl, update_rngs = update_fn_repl( In addition, I also try to run this code on my own TPU (V3-8). It also has an error in this part and the error is segmentation fault. That problem confused me several days and I'm not sure whether you have this question. Thank you very much! Have a nice weekend. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I am trying to run the experiments from the official JAX-based implementation of the Vision Transformer. The provided Colab Notebook is only compatible with the TPUs provided by the Colab runtime as obvious. The following code listing is used to configure JAX's backend to run on TPUs:
It seems like that it cannot be extended to support TPUs in other runtimes such as in an AI Platform Notebook that is attached to a TPU (v3-8).
So, was wondering if there is a way to achieve this.
Beta Was this translation helpful? Give feedback.
All reactions