SwarmTorch

Light the torch. Let the swarm learn.

SwarmTorch is a Rust framework for learning across heterogeneous fleets, from GPU workstations to edge boards.

Aggregation round Learning peer Learning peer Learning peer Learning peer Learning peer Learning peer Zenoh peer Checkpoint store Embedded board LoRa transport Edge computer GPU workstation Signed envelopes Frame chunking BLE transport Update compression Iroh endpoint Differential privacy

31

Catalogued capabilities

10

With a recorded maturity tier

7/7

CI jobs passing at the reviewed revision

Source

Only install route today; 0 published releases

Pass the torch

Hand the model to whichever device sits closest to the data.

How a round works

Local steps, robust rounds, checkpoints you can replay.

Drag to spin. Pick a step or tap a node.

  1. 01

    Configure the swarm

    Pick a topology, a robust aggregator and round limits. Invalid combinations are rejected before any peer starts.

  2. 02

    Train where data lives

    Each peer runs local steps on its own device. Embedded targets are built in CI; on-device radio deployment is not yet supported.

  3. 03

    Aggregate under a contract

    Signed envelopes, replay protection and Byzantine-robust or privacy-scoped aggregation.

  4. 04

    Checkpoint and resume

    Content-addressed SafeTensors checkpoints with a committed head and exact resume.

  5. 05

    Inspect the evidence

    Run graphs, signed manifests and static reports record how a run was produced, for inspection after the fact.

Quickstart

Train on your own machine and watch the loss fall.

hello_swarm validates a cluster configuration, runs one SGD step on a small linear model and round-trips a SafeTensors checkpoint in memory. It needs Rust 1.81 or newer.

  • The SwarmCluster configuration passed validation and was built for a local peer.
  • One analytical LinearModel (4 to 2) training step ran; loss is printed before and after.
  • The model was exported to SafeTensors bytes in memory, re-imported, and the parameters matched.
terminal
git clone https://github.com/swarmic/SwarmTorch.git
cd SwarmTorch
git checkout --detach 7a75c553c6356f35473d7dbaf6b8e256a86023a7
cargo run -p swarm-torch --example hello_swarm --locked

Proof that sticks

Each maturity rating carries the evidence that earned it.

Full status matrix

What's next

Swarm in motion.

Roadmap

The torch is lit. Bring your fleet.

Start on your own machine, then grow the swarm across the hardware you already run.