Last updated 2026-05-07

Containerized Dev Pods

Outside the platform processes, the stax repo also publishes a set of container images for remote development. They are not required by the runner or dashboard — they are a separate offering for situations where you want a beefier remote box (typically RunPod) that you SSH into from your laptop.

Images

TagImagePurpose
base / latestghcr.io/elloloop/stax:baseGeneral development. No CUDA. Light.
inferenceghcr.io/elloloop/stax:inferenceRun LLMs. CUDA 12.4, PyTorch, vLLM, AutoGPTQ, AutoAWQ.
trainghcr.io/elloloop/stax:trainTrain models. CUDA 12.8, PyTorch 2.9, autoresearch, wandb, tensorboard.

Connect

The repo ships connect.sh, an SSH helper that handles initial setup (key exchange, hostname registration in ~/.ssh/config as stax):

./connect.sh <pod-ip> <port> --setup
ssh stax

Inference image

vllm serve Qwen/Qwen2.5-72B-Instruct-AWQ --host 0.0.0.0 --port 8000

Mount /models to persist downloads across pod restarts. The image bundles PyTorch (CUDA 12.4), vLLM, transformers, accelerate, bitsandbytes, AutoGPTQ, AutoAWQ, sentencepiece, tiktoken.

Train image

cd /workspace/autoresearch
uv run prepare.py # one-time data prep
uv run train.py # run a training experiment

Includes CUDA 12.8, PyTorch 2.9.1, uv, autoresearch, transformers, datasets, wandb, tensorboard.

Common tooling (all images)

CategoryTools
Editorvim, neovim
Shellbash, zsh, tmux, screen
Searchripgrep, fd, fzf, bat
Gitgit, git-lfs, GitHub CLI
Networkcurl, wget, mosh, socat, rsync
Buildbuild-essential, cmake, python3, pip, Node.js 22
Systemhtop, lsof, jq, tree

Environment variables (recognized at startup)

VariableDescription
PUBLIC_KEYSSH public key (RunPod standard).
AUTHORIZED_KEYSAdditional SSH keys.
GITHUB_TOKENAuthenticates the bundled gh CLI.
GIT_USER_NAMEGit author name.
GIT_USER_EMAILGit author email.
HF_TOKENHugging Face token (for gated models).
STARTUP_SCRIPTCommands to run on container start.

Building locally

docker build -t stax:base base/
docker build -t stax:inference inference/
docker build -t stax:train train/

Running the local platform inside a pod

The CLI, runner, and dashboard work the same inside the container as on your laptop. SSH in and run:

ssh stax
curl -fsSL https://raw.githubusercontent.com/elloloop/stax/main/install.sh | sh
export PATH=$HOME/.local/bin:$PATH
stax runner start --workspace /workspace/your-repo
# Tunnel port 4800 back to your laptop (e.g. via VS Code Remote, ssh -L, or RunPod's port forward)