Skip to main content

warpscale

Python SDK to report PyTorch training progress to Warpscale.

Install

pip install warpscale

Use

import warpscale

# Once, after dist.init_process_group() — without a live process group there is
# no rank to elect an emitter from, and nothing is reported.
warpscale.init(total_steps=40_000, total_epochs=3, framework="fsdp", precision="bf16")

# Call on every rank; rank 0 emits, the rest are no-ops.
for epoch in range(epochs):
    for batch in loader:
        ...                       # one optimizer step
        warpscale.step()
    warpscale.epoch()
    warpscale.checkpoint_started()
    save_checkpoint()             # incl. the async dcp.async_save tail
    warpscale.checkpoint_persisted()

Launch

torchrun sets WORLD_SIZE itself and needs nothing extra. A run with no process group must declare WORLD_SIZE=1 for its lone process to be elected:

WORLD_SIZE=1 warpscale run python train.py

A script that starts its own ranks with mp.spawn is not supported — before init_process_group() every sibling looks like the lone process, so none is elected and nothing is reported. Use torchrun.

Metadata

Release files for warpscale 0.2.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 warpscale 0.2.0
File Size Uploaded Provenance Actions
warpscale-0.2.0.tar.gz 14.6 kB With provenance Details for warpscale-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 31.2 kB

Release files / warpscale-0.2.0.tar.gz

Download URL warpscale-0.2.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ed360b551a6ec714cfed6712699dca17e1834079e8cf362ed7a23b3144a214a4
BLAKE2b-256 checksum
How to use checksums
d9bb7e76d0e8149452f7357000ff97371a5067de64bdde6e1202cd26b49398a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Release files / warpscale-0.2.0-py3-none-any.whl

Download URL warpscale-0.2.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bc59a6b8fd90fa32529b827f3d6003a549f18a3ebeacf640379656ab7d88656
BLAKE2b-256 checksum
How to use checksums
2df68f824cba0cb1d53ebe36453eb00bd1dc57af6956cb36916dd12f69e3fba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Security for warpscale 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for warpscale-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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