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…

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

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

Okay