Introducing Swale
Some workflows outgrow the machines that made them.
The dataset stops fitting on the disk. The model stops fitting in memory. The nightly pipeline stops fitting in a night. At that point the usual answer is to become an infrastructure team — clusters, quotas, drivers, capacity planning — and the work that mattered waits while you build the thing that runs it.
Swale is built so that never becomes your job.
What Swale is
Swale is a platform for running workflows that need big resources. Every account gets three things, each with the lifetime it should have:
- Persistent storage, per account. Versioned repositories for datasets, models, and results. Push once, pull anywhere, and pin hash-keyed tags so a run reads the same bytes every time.
- A shared workspace, per run. One filesystem every task in the run can read and write, alive exactly as long as the run — nothing to quota, nothing to clean up.
- Compute, per task. Compute of the type each task declares, allocated to it alone, with private scratch for heavy I/O, released when the task ends.
Per account
persistsPer run
from start to endPer task
while the task runsThree tiers. The account's repositories persist past any run: pull takes the dataset from them into the run's shared workspace, which lasts from the run's start to its end. Train works on it there, and push stores the result back into the repositories. Each task carries private scratch of its own, which lasts while the task runs.
Your container is already a task
There is no Swale SDK, on purpose. A task is a container — one you already build, or any image you can pull. Its definition is a Markdown file with YAML frontmatter: a name, inputs, outputs, and the image to run. Your code doesn’t know Swale exists.
Workflows are plain YAML that compose those tasks. A workflow sets a default
compute_type; any task overrides it. Cloning the training config, downloading
the base model, pulling the dataset from your repository and pushing the result
run on CPU, the training step takes the GPU, and start_on declares what waits
for what — training starts once the model and the dataset are both in place,
and Swale orders and schedules the rest.
name: Fine-tune and publish
compute_type: cpu-4
entry_point: main
blocks:
main:
tasks:
clone:
name: Clone config
uses: swaleio/git-clone
download:
name: Download model
uses: swaleio/hf-download
start_on: [clone]
pull:
name: Pull dataset
uses: swaleio/swale-pull
start_on: [clone]
train:
name: Fine-tune
uses: swaleio/axolotl-train
compute_type: a100-1
start_on: [download, pull]
push:
name: Push results
uses: swaleio/swale-push
start_on: [train]
One workflow. Only the training step pays for a GPU.
Start ahead
The hub is a public library of task definitions that any account can publish
to. Reference one with a single uses: line, pinned to an exact version that
never changes — somebody may already have written your first step.
What it costs
Swale is usage-based across four metered dimensions — compute by type, egress, account storage, and workflow storage. Nothing else is metered. The pricing page explains the model.
Run something
Create an account, write a YAML file, and point it at a container you already have. The getting-started guide walks the whole path, from registration to your first run.
Define the work, not the infrastructure.
When your workflows need more — start with the getting-started guide or create an account.