Artifacts
All pages
Docs · StartMarkdown

Getting started

Four steps, in the app at /app or with the command line.

1. Organization

Sign in and create an organization, or pick one in the top bar. Connections, locations, artifacts and API keys all belong to an organization, and every member sees all of them.

2. Fallback location

Writes are refused until the organization has a fallback: the location a write goes to when no nearer one matches. Either:

  • Locations → Add an S3 endpoint, tick fallback. Tigris or R2 work well. See S3 endpoints.
  • Connections → Connect AWS, GCP or Azure, run the generated script, paste back its output, then Locations → Create a bucket. See Connecting clouds.

Then add a location in each region your GPUs run in, so writes there stay in the region. See Locations and placement.

3. API key

API keys → Create. The secret is shown once. Clients read it from O41_ARTIFACTS_API_KEY and send it as a Bearer token.

export O41_ARTIFACTS_API_KEY=ak_…

4. Point a run at o41://

With SexpGPU, it is one environment variable:

SEXPGPU_CHECKPOINT_DIR=o41://experiments/run-1234 \
  sexpgpu run train.sx --resume latest

The first launch starts fresh. Every relaunch after a preemption resumes from the latest checkpoint, in whatever cloud it lands. See Checkpointing a run.

From anything else, plain HTTP:

curl -H "Authorization: Bearer $O41_ARTIFACTS_API_KEY" \
  "https://artifacts.041.io/api/v1/artifacts/list?under=experiments/"