Skip to content

Tags: Kaggle/docker-python

Tags

400ac06b974e3cb52d8606ffd9e6eb037da555e6d23df9dec34fc5677767e226

Toggle 400ac06b974e3cb52d8606ffd9e6eb037da555e6d23df9dec34fc5677767e226's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix libtpu version for torch and do not pre-install tensorflow-tpu on…

… TPU. (#1499)

We install a libtpu version compatible with both jax 0.7.2 and torch
2.8.0. Why? tunix latest -> flax 0.12 -> jax 0.7.2 -> libtpu 0.0.23, and
that libtpu version causes pjrt api errors for torch 2.8.0:

```
pjrt_c_api_helpers.cc:258] Unexpected error status Unexpected PJRT_Plugin_Attributes_Args size: expe
cted 32, got 24. The plugin is likely built with a later version than the framework. This plugin is built with PJRT API version 0.75.
```

*
https://github.com/pytorch/xla/blob/d517649bdef6ab0519c30c704bde8779c8216502/setup.py#L111
*
https://github.com/jax-ml/jax/blob/3489529b38d1f11d1e5caf4540775aadd5f2cdda/setup.py#L26

Of particular note, we no longer pre-install `tensorflow-tpu` as the
newer libtpu causes issues finding the TPUs

```
external/local_xla/xla/stream_executor/tpu/tpu_platform_interface.cc:78] No TPU platform found. Platform manager status: OK
``` 

We also update how we install Python packages via `uv` for consistency
and reproducibility. From a `requirements.in` file, we first generate a
consistent dependency closure via `uv pip compile`, and then `uv pip
install` the packages from the generated `requirements.txt`.

23c0e8309600afc19063b29d98f0f1e58dc32d03369b15ad204d43d90add6325

Toggle 23c0e8309600afc19063b29d98f0f1e58dc32d03369b15ad204d43d90add6325's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix libtpu version for torch and do not pre-install tensorflow-tpu on…

… TPU. (#1499)

We install a libtpu version compatible with both jax 0.7.2 and torch
2.8.0. Why? tunix latest -> flax 0.12 -> jax 0.7.2 -> libtpu 0.0.23, and
that libtpu version causes pjrt api errors for torch 2.8.0:

```
pjrt_c_api_helpers.cc:258] Unexpected error status Unexpected PJRT_Plugin_Attributes_Args size: expe
cted 32, got 24. The plugin is likely built with a later version than the framework. This plugin is built with PJRT API version 0.75.
```

*
https://github.com/pytorch/xla/blob/d517649bdef6ab0519c30c704bde8779c8216502/setup.py#L111
*
https://github.com/jax-ml/jax/blob/3489529b38d1f11d1e5caf4540775aadd5f2cdda/setup.py#L26

Of particular note, we no longer pre-install `tensorflow-tpu` as the
newer libtpu causes issues finding the TPUs

```
external/local_xla/xla/stream_executor/tpu/tpu_platform_interface.cc:78] No TPU platform found. Platform manager status: OK
``` 

We also update how we install Python packages via `uv` for consistency
and reproducibility. From a `requirements.in` file, we first generate a
consistent dependency closure via `uv pip compile`, and then `uv pip
install` the packages from the generated `requirements.txt`.

d17e738679831983025ea49f3d09f81557cf2a54b4d8f8902b45d282e0de9583

Toggle d17e738679831983025ea49f3d09f81557cf2a54b4d8f8902b45d282e0de9583's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix libtpu version for torch and do not pre-install tensorflow-tpu on…

… TPU. (#1499)

We install a libtpu version compatible with both jax 0.7.2 and torch
2.8.0. Why? tunix latest -> flax 0.12 -> jax 0.7.2 -> libtpu 0.0.23, and
that libtpu version causes pjrt api errors for torch 2.8.0:

```
pjrt_c_api_helpers.cc:258] Unexpected error status Unexpected PJRT_Plugin_Attributes_Args size: expe
cted 32, got 24. The plugin is likely built with a later version than the framework. This plugin is built with PJRT API version 0.75.
```

*
https://github.com/pytorch/xla/blob/d517649bdef6ab0519c30c704bde8779c8216502/setup.py#L111
*
https://github.com/jax-ml/jax/blob/3489529b38d1f11d1e5caf4540775aadd5f2cdda/setup.py#L26

Of particular note, we no longer pre-install `tensorflow-tpu` as the
newer libtpu causes issues finding the TPUs

```
external/local_xla/xla/stream_executor/tpu/tpu_platform_interface.cc:78] No TPU platform found. Platform manager status: OK
``` 

We also update how we install Python packages via `uv` for consistency
and reproducibility. From a `requirements.in` file, we first generate a
consistent dependency closure via `uv pip compile`, and then `uv pip
install` the packages from the generated `requirements.txt`.

320043e14c68293f1c946585b9257123385205a58af4b94b17d31868cae4e868

Toggle 320043e14c68293f1c946585b9257123385205a58af4b94b17d31868cae4e868's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Colab Base Image - July (#1490)

let's bump the image, this was released a couple days ago. while we were
planning a release with the prior Base image, let's save us a release
and get our self to the latest

64e0ef90792530ed0b664b1725a98eb5d307f370bcde409408d268474897bb5c

Toggle 64e0ef90792530ed0b664b1725a98eb5d307f370bcde409408d268474897bb5c's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Colab Base Image - July (#1490)

let's bump the image, this was released a couple days ago. while we were
planning a release with the prior Base image, let's save us a release
and get our self to the latest

20d75b6c2a67c98a3a9f199ea97d51168548b4eb54898f30849e11d68ee06ea1

Toggle 20d75b6c2a67c98a3a9f199ea97d51168548b4eb54898f30849e11d68ee06ea1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump Colab Base Image - July (#1490)

let's bump the image, this was released a couple days ago. while we were
planning a release with the prior Base image, let's save us a release
and get our self to the latest

3223337db7786b068bfeac3a1b741bf0d572a4bf309735b45692de873b7758db

Toggle 3223337db7786b068bfeac3a1b741bf0d572a4bf309735b45692de873b7758db's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove setting CUDA_VERSION to empty string and deprecated apt-key (#…

…1486)

Remove setting CUDA_VERSION to empty string for CPU images. Remove
getting deprecated apt-key.gpg key file from
https://packages.cloud.google.com/

6c857725e3c24a781c3d09a1bf08e23b20b3e3de500fc2816257d162c09b47fc

Toggle 6c857725e3c24a781c3d09a1bf08e23b20b3e3de500fc2816257d162c09b47fc's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove setting CUDA_VERSION to empty string and deprecated apt-key (#…

…1486)

Remove setting CUDA_VERSION to empty string for CPU images. Remove
getting deprecated apt-key.gpg key file from
https://packages.cloud.google.com/

5de7f3337f4166df89b2d68f886fb08b30c4260df90e55e6587be5fd7648cf3f

Toggle 5de7f3337f4166df89b2d68f886fb08b30c4260df90e55e6587be5fd7648cf3f's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove setting CUDA_VERSION to empty string and deprecated apt-key (#…

…1486)

Remove setting CUDA_VERSION to empty string for CPU images. Remove
getting deprecated apt-key.gpg key file from
https://packages.cloud.google.com/

36bd91c0e9248f9f2748be5cf354e070f2f93034099b1c02932530ef1e928303

Toggle 36bd91c0e9248f9f2748be5cf354e070f2f93034099b1c02932530ef1e928303's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update kaggle package (#1481)

Let's make sure that we install the latest version of kaggle in our
image.
cc: @stevemessick