๐Ÿ“ฆInstallation

System Dependencies

# uv - fast Python package manager (handles Python 3.12+ automatically)
curl -LsSf https://astral.sh/uv/install.sh | sh

# swig - required for Box2D environments (LunarLander, BipedalWalker)
brew install swig        # macOS
# apt-get install -y swig  # Linux/WSL
circle-info

Windows: Use WSL2arrow-up-right and follow Linux instructions.

Install SLM Lab

# Clone
git clone https://github.com/kengz/SLM-Lab.git
cd SLM-Lab

# Install
uv sync
uv tool install --editable .

# Verify
slm-lab --help                                 # list all commands
slm-lab run --help                             # options for run command

# Troubleshoot: if slm-lab not found, use uv run
uv run slm-lab --help

Minimal Install

For remote training in the cloud with dstackarrow-up-right, a minimal installation without ML dependencies is available:

Docker

For containerized runs without local setup, use the prebuilt imagearrow-up-right:

Last updated

Was this helpful?