What is Cassian
Cassian is a GPU cloud platform for ML engineers. Users provision GPU instances from their terminal, run training jobs, and pay by the minute. The CLI handles instance lifecycle, file sync, and remote execution.Architecture
- CLI (
cassian-clinpm package): all user-facing commands - Cloud: API gateway, auth, scheduling, billing
- GPU Nodes: container lifecycle, GPU allocation, file sync, exec
- Base image: Ubuntu 22.04, CUDA 12.4, Python 3, PyTorch pre-installed
CLI Commands
Full Flag Reference
cassian up
cassian down
cassian exec
cassian ssh
With a command argument: runs non-interactively (same as
cassian exec).
cassian sync
cassian status
cassian logs
cassian.yaml Reference
name and gpu.
Available GPU Types
GPU type slugs are lowercase, no spaces:
rtx3090 not RTX 3090 or rtx-3090.
If the requested type is unavailable, cassian up --gpu <other-type> tries a different type without editing the yaml.
Persistence Model
Pre-installed Packages
- Python 3, pip, conda
- PyTorch (CUDA 12.4), torchvision, torchaudio
- transformers, accelerate, peft, datasets, bitsandbytes, trl
- numpy, pandas, scipy
- jupyter, wandb
- git, vim, htop, tmux, curl, wget
Common Workflows
Fine-tuning
One-shot run
Background training with monitoring
Check an instance from anywhere
Fast restart (env already installed)
Error Messages
Idle Auto-Stop
Instances with no GPU or CPU activity for 30 minutes are automatically stopped. Workspace is saved before shutdown.Cost Estimates
Billed per minute.
cassian status shows elapsed time and estimated cost for running instances.
Machine-Readable Status
Tips for AI Agents
- Always check
cassian.yamlexists before running commands - Use
cassian runfor one-off executions — provisions, runs, and tears down automatically - Use
cassian exec --detachfor jobs that outlive the terminal session; follow withcassian logs -f - Large files (models, datasets) belong in
/workspace/storage, not/workspace cassian exec -i <name> --no-synctargets any instance from any directory — no cassian.yaml needed- Exit codes pass through from
execandrun— use them in CI cassian down --forceskips confirmation polling — use in cleanup scriptscassian sync --path checkpoints/pulls just one folder instead of the whole workspace- If
workspace.setupis not set andrequirements.txtexists, pip install runs automatically onup cassian up --no-sync --no-setupis a fast restart when nothing has changedcassian status --jsongives machine-readable instance state- GPU type slugs:
rtx3090,l4,a10g,a100-sxm,h100-sxm(lowercase, no spaces)