Skip to main content

No project description provided

Project description

DeltaFabric

A decentralized weight synchronization protocol for distributed ML training with built-in networking. Currently supporting PyTorch and Burn.

Core Concepts

No-Master Architecture

Eliminates master-server bottlenecks by letting every node participate equally in synchronization. It also makes life easier by cutting out the need to set up or manage a central server.

Built-in Networking and Automatic Peer Discovery

We include a built-in networking layer powered by the Zenoh P2P protocol. Nodes discover peers and exchange deltas automatically without external coordination.

Anchor-Active Weight Model

We maintain two weight buffers per node:

  • W_active: weights currently being optimized by local gradients
  • W_anchor: weights representing the last acknowledged state

The delta between these buffers captures the local updates discovered since the last synchronization round. This two-buffer design eliminates the need to store copies of every peer's model, reducing memory overhead compared to traditional decentralized approaches.

Compressed Delta

Sending an entire set of weights becomes impractically large as the model grows. To reduce bandwidth and increase speed, we only send the most significant changes (deltas) per step. This allows a single packet to hold not only one delta but also others relayed from additional peers.

Example Setup

The ring topology below represents a minimal DeltaFabric cluster where each node connects to only one peer:

Ring Topology

This sequence diagram illustrates the weight delta synchronization process for the ring topology. All nodes start with identical weight buffers and train locally in parallel. When a node hits its sync interval, it computes a compressed delta and sends it to its single peer. Each peer applies the attenuated delta to its own weights and relays it forward until it circulates back to the originator or the delta gets too small (< relay_threshold).

Synchronization Flow

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

delta_fabric-0.7.2-cp313-cp313-manylinux_2_34_x86_64.whl (7.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

File details

Details for the file delta_fabric-0.7.2-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: delta_fabric-0.7.2-cp313-cp313-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 7.7 MB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for delta_fabric-0.7.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ece20991b354228aa77566436a07c647219e9868965bfeb1852ef8b88a634331
MD5 983ef1216e402dc92353030c1ee9a3c9
BLAKE2b-256 bd1788e484a32bf796a491fa56059731467c0b7ebc50a9aff4d164a8ec5e60e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page