Skip to main content

How GPULab is built and run on Plexara

GPULab is a public API with keys, access tiers, daily quotas, a status board and its own website. All of it is one application on Deasil's own Plexara deployment, built by agents working in dev and released to production by people. This presentation covers what the application is made of and how Deasil runs it.

Narration: the default GPULab voice. Music: an original score. Both made on GPULab.

The brief

A public API for Plexara automations, built on the platform it serves

Deasil wanted the GPUs it runs to serve Plexara automations through a public API, with keys, access tiers and daily quotas, a receipt on every call, a live status board, a documented website and a way to request access. Every part had to run on Plexara, built the way a customer's team builds on its own deployment.

Abstract render of a spark of cyan light at the center of a dark grid

One application

Six parts, released together

A database of its own
access tiers, customers, keys, the usage ledger, and jobs with their receipts. Its structure changes only through versioned migrations.
The API
one endpoint that accepts platform API keys, checks the customer's tier and quota, and sends the work to the models.
An admin automation
issues and revokes keys, approves access requests and reports use by customer.
A status board
a public endpoint the website reads to show queue and pool activity.
An access form
a public form behind a bot check that records requests for Deasil to answer by email.
The website
gpulab.io, a Plexara Site linked to the application, so its pages call the application's endpoints on their own address.

One Plexara application

  1. A database of its own
  2. The API
  3. An admin automation
  4. A status board
  5. An access form
  6. The website

Released together, dev then production

Releases

Fifteen releases in its first seventeen hours

Each release pins the version of every script and applies any new migrations: first in dev, where Deasil tests it through its own customer connection, then in production when a person promotes it. Any release can be rolled back. GPULab went from an empty database to 41 operations in 15 releases: forecasting arrived in release 12, statistics in releases 13 and 14, and audio and image processing in release 15.

  1. Release 1 Database
  2. Release 2 API and admin automation
  3. Release 3
  4. Release 4
  5. Release 5
  6. Release 6
  7. Release 7 Status board and access form
  8. Release 8
  9. Release 9
  10. Release 10
  11. Release 11 Transcription
  12. Release 12 Forecasting
  13. Release 13 Statistics
  14. Release 14 Statistics and math
  15. Release 15 Audio and image processing
Releases 1 to 15, from an empty database to 41 operations.

The specification

Any Plexara deployment learns the API from its specification

A stored script generates GPULab's OpenAPI document, and the website publishes it. Each operation's description says when to use it, how to choose its options and how to read its answer. A deployment that adds GPULab reads the document into its catalog, and its agents find the right operation by describing what they need.

Abstract render of streams of light flowing from one source into many lattices

Customers

Deasil connects to GPULab the way every customer does

Every Plexara deployment that uses GPULab, Deasil's included, has its own GPULab account, key and connection to the public API. Nothing depends on where a deployment runs. Each change is tested through Deasil's own customer connection before it is promoted.

  1. Deasil's Plexara: own account and key
  2. A customer's Plexara: own account and key
  3. Another customer's Plexara: own account and key

GPULab public API

Who does what

Agents build in dev, people release

Agents wrote the scripts, the migrations, the website and its documentation through Deasil's Plexara, working in dev. A Deasil engineer reviewed and promoted each release and approved each change to the servers the models run on. Plexara divides the work this way for every customer: the agent builds, and a person decides what reaches production.

Abstract render of a busy layer of particles beneath a calm layer of steady lights

Operations

How Deasil runs it

Receipts
each call's GPU time, energy and units, stored with the job.
Budgets
each customer's daily GPU and CPU quotas, reported on every answer.
Usage
the admin automation reports use by customer, for fair use and capacity planning.
Monitoring
GPU telemetry and service logs, read through Deasil's monitoring connections on the same Plexara.
Tickets
work and decisions tracked in GitLab, with a written hand-off at the end of each working session.
Abstract render of concentric rings of soft light

Its own media

GPULab made its website's images, music and narration

The images on gpulab.io, its four-minute music loop, its narration and its social card were made through GPULab, and so was everything in this presentation.

gpulab.io music loop, first 40 seconds

gpulab.io narration

For your team

The platform that runs your automations can run a product

A Plexara application gives a team a database, endpoints, automations and a site, released together under the same personas, audit and approvals as everything else on the deployment. GPULab is one: a public API with accounts and metering, run by the company that built it.

Abstract render of an open lattice with new nodes forming at its edges

Credits

Made with GPULab

AssetOperationsModels
Slide imagesimages/generations, images/variantsz-image-turbo, libvips
Narrationaudio/speech, audio/transcriptions, audio/edit, audio/masterchatterbox, whisper-large-v3-turbo, ffmpeg
Musicmusicplexara-score
Mixaudio/mix, audio/measureffmpeg
Captionsaudio/transcriptionswhisper-large-v3-turbo
Transcript

GPULab is a public API, and every part of it runs on Plexara. This is how it's built, and how Deasil runs it.

Deasil set out to put its GPUs behind a public API for Plexara automations, with keys, quotas, receipts, a status board and a website. Every part of it would be built on Plexara, the way a customer's team would build it.

It's one Plexara application. A database of its own holds customers, keys, usage and receipts. One endpoint is the API. An automation issues and revokes keys. Two public endpoints run the status board and the access form. The website is a Plexara Site, linked to the application so its pages can call it directly.

Each release pins every script version and applies its database changes, first in dev, then in production when a person promotes it. Any release can be rolled back. GPULab went from an empty database to forty-one operations in fifteen releases, over its first seventeen hours.

A stored script writes the API's specification, and the website publishes it. Any Plexara that adds GPULab reads it into its catalog, and from then on its agents find the right operation by describing the job.

Deasil is a customer of its own service. Every deployment, Deasil's included, has its own account, its own key and its own connection to the public API. Each change is tested through that connection before it's promoted.

Agents built it: the scripts, the database changes, the website and its documentation, all in dev. A Deasil engineer reviewed and promoted every release. Plexara splits the work this way for every customer.

Running it uses the same tools. Receipts and budgets show what every call used. An automation reports usage by customer. Telemetry and logs are read through Deasil's monitoring connections, and the work is tracked in tickets.

GPULab also made its own media: the images on its website, a four-minute music loop, the narration, and everything in this presentation.

The platform that runs your automations can run a product like this one: a database, endpoints, automations and a site, released together under the same rules as everything else on your deployment.

Common questions

How GPULab is built: FAQ

Applications and Sites are part of Plexara. Your agent builds the database, endpoints, automations and site in dev, and a person on your team promotes each release. The Applications and Sites learning series walk through it.

On GPUs that Deasil Works runs. The application reaches the model servers through connections, the same way it reaches any other system.

It lands in dev first. Deasil calls it through its own customer connection, the same way any deployment would, and a person promotes the release only after that.

Over its public API, each with its own key, wherever the deployment runs.