DEV Community

Cover image for Building a Vertex AI custom job container
David Haley
David Haley

Posted on • Edited on

Building a Vertex AI custom job container

As part of the DeepCell benchmarking project, we need to accelerate and especially automate generating predictions on data.

On Vertex AI, we think that means using Custom Jobs–which can be triggered via API–and custom containers. (docs)

It was relatively simple to create & upload the container. Here's the code (permalink).

The main thing that surprised me was that it took 27min end-to-end. About 20min of that was downloading & especially extracting the base Google TensorFlow 2.8 image. 😤 (it was several gigabytes)

If this pans out, we'll have an easy way to issue benchmarking runs programmatically. That'll be a real time saver, meaning we'll be able to gather more data.

Here's the container uploaded to the artifact registry 😎

Container in cloud console

Extra bonus points if the Experiments framework works out…

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay