Commit 4d494f1
authored
Upgrade TPU image to Python 3.11.Tpupy311 (#1493)
Python 3.10 is entering its [last year of
support](https://devguide.python.org/versions/) before end-of-life and
many packages, including [NumPy](https://devguide.python.org/versions/),
have dropped support for it altogether.
Included in this change:
* Upgrade the TPU docker image to derive from `python:3.11`.
* Upgrade `tensorflow` to 2.20.0.
* Upgrade `jax` to >=0.5.2. For a compatible dep closure, this installs
`jax` 0.7.2 re: `tensorflow-tpu` dep on`libtpu`.
* Upgrade `torch` (and ecosystem) to 2.8.0. Of note, there is no wheel
with a `+libtpu` label.
* Remove unneeded environment variable.
Tested:
Locally, by invoking `./tpu/build`:
> <img width="1116" height="297" alt="9jyLVT6hAPjKaCh"
src="https://github.com/user-attachments/assets/e1c8e37e-5e65-4f43-807f-4ffca8d6b6ac"
/>
Also invoked other back-end testing.1 parent 0eb38ee commit 4d494f1
3 files changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments