lium up
Rent a pod. With no node given, it picks the best match for your filters and asks once before renting.
Usage
lium up [NODE] [OPTIONS]
NODE is a node huid or id, or a row number from your last lium ls.
Flags
Pick a node
| Flag | What it does |
|---|---|
--gpu TYPE | GPU type, e.g. H200 |
-c, --count N | Number of GPUs |
--country CODE | ISO country code, e.g. US |
--min-cpus N | Minimum CPU threads |
-p, --ports N | Minimum number of free ports |
-y, --yes | Rent without asking |
Set up the pod
| Flag | What it does |
|---|---|
-n, --name NAME | Pod name |
-t, --template_id ID | Template to use (see lium templates) |
--image IMAGE | Docker image to run instead of a template |
--dockerfile PATH | Build the image on the node from a Dockerfile; files its COPY/ADD lines read are uploaded from the Dockerfile's folder. The build must finish within 20 minutes; on a timeout the error shows the last build lines |
-e, --env KEY=VALUE | Environment variable (repeatable) |
--internal-ports LIST | Ports to expose, e.g. 22,8000 |
--entrypoint CMD | Container entrypoint |
--cmd CMD | Command that keeps the container running |
--jupyter | Install Jupyter |
--ssh-name NAME | Name for a newly registered SSH key |
--no-ssh | Return when the pod is ready instead of opening SSH |
--json | Print the ready pod as JSON (implies --no-ssh) |
Storage
| Flag | What it does |
|---|---|
-v, --volume SPEC | Attach id:<HUID> or create new:name=<NAME>[,desc=<DESC>] |
--volume-encryption / --no-volume-encryption | Encrypt the local volume (on by default) |
--restore-backup ID | Restore this backup after the pod starts |
--restore-to PATH | Empty folder to restore into (use with --restore-backup) |
--no-backup | Do not back up the pod's volume (backups are on by default) |
Stop automatically
| Flag | What it does |
|---|---|
--ttl DURATION | Remove the pod after this long, e.g. 6h |
--until TIME | Remove the pod at this local time, e.g. "tomorrow 09:00" |
--budget USD | Remove the pod once it has spent this much |
Wait for the pod
| Flag | What it does |
|---|---|
--timeout SECONDS | Time limit for the whole command (default 900) |
--ready-timeout SECONDS | Time limit for the pod to become ready |
--verify-gpus | Check the GPU count with nvidia-smi inside the pod |
--strict-gpus | Remove the pod if its GPU count is wrong |
A pod that is still starting when time runs out keeps starting. It is charged once it turns RUNNING, as billing describes. Remove it with lium rm.
Example
lium up --gpu H100 --count 8 --ttl 6h -y