Skip to main content

Purlin

Purlin is a unified framework providing high-performance, evolvable (1) data movement primitives (copy and N-to-1 reduce) which compose through novel mechanisms to (2) state-of-the-art single-kernel collectives for the intra-node domain.

Our key innovation is decoupling orchestration from the datapath of collective communication. Purlin separates where and when data is moved from how this movement occurs within collectives.

Every collective is expressed against one fixed orchestration protocol, SNAC, which composes with a hardware-aware datapath, the Atom. Collective semantics sit above SNAC, hardware details sits below it, and neither leaks into the other.

🧨 QuickStart

uv pip install purlin # best to use a venv here
torchrun --nproc-per-node <num-of-gpus> quickstart.py 

Release files for purlin 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for purlin 0.5.0
File Size Uploaded
purlin-0.5.0.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for purlin 0.5.0
File Interpreter ABI Platform
purlin-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.3 kB

Release files / purlin-0.5.0.tar.gz

Download URL purlin-0.5.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4425d722dd8451b3c6efdda0855003df2c0d7b0eee290ae8cecc58ba752a3ac5
BLAKE2b-256 checksum
How to use checksums
948808a7f1c86c0dd166265926492b8cdd853dbccf795b3d9e5219008c13b710
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / purlin-0.5.0-py3-none-any.whl

Download URL purlin-0.5.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3894fb30f537ecb8aea1f84d0a585787f12b2277046bc6119b0e2d7e2c3a6b2
BLAKE2b-256 checksum
How to use checksums
ac1597fd248fd3fe57af8407ac3eba94a1e8b29550b9dff4d10bf15da95061c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.6.4

2 release files

0.6.0

2 release files

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page