Skip to main content
VMs are dedicated, long-lived machines you SSH into. Use them for training jobs that span hours, interactive development, or anything that doesn’t fit a one-shot serverless run.
Provisioning typically takes 1–3 minutes. The CLI polls automatically; the API exposes GET /vms/{vm_id}/status so you can poll yourself.

Quick Start with the CLI

To launch with multiple GPUs, add -g 2 (or 4, 8 if the profile supports it). To return immediately without waiting, add -a / --async. For the full set of available profiles and flags see the VM page and Launch an Instance.

ML Training Workflow

1

Start the VM

2

Connect and set up the environment

3

Run training inside tmux

4

Pull results and terminate

Local disk on a VM is wiped on termination. Anything you want to keep should be scp’d off, pushed to git, or written to your storage bucket before terminating.

API Examples

The CLI is a thin wrapper around the VMs API. Use the API directly when you need to integrate provisioning into your own tooling.

Provision and wait

List VMs

Check availability

Common Patterns

VMs bill from the moment they enter running until you terminate them, regardless of whether anything is executing. Run lyceum vm list periodically to make sure you don’t have idle instances.