Python >= 3.8 container on GCP (Vertex AI Workbench)

533 views Asked by At

Problem: Python 3.7 is outdated, yet prebuilt containers for Vertex AI Workbench are all are built w/ 3.7.

Is there a way to modify (e.g. rebuild the base containers that work w/ Vertex AI workbench), e.g. perhaps by setting an ARG command to rebuild a working base container with Python >= 3.8?

Alternatively, does any code exist to demonstrate building an image compatible with Workbench?

2

There are 2 answers

0
Scott B On

As @Brian Bien mentioned in the comments, and per my R&D the best alternative as of now is to use a Custom Container.

Posting the answer as community wiki for the benefit of the community that might encounter this use case in the future.

Feel free to edit this answer for additional information.

0
Brian Bien On

GCP's latest workbench container now arrives with a later version of python.