Skip to main content

reflop

The client for reFLOP: train with PyTorch on someone else's GPU from your own machine. Your Python program runs locally. Only tensor math (as operator graphs) and tensor data go to the server, and only the values you ask for come back. Your machine needs no CUDA, so a MacBook works.

Install

Add it to the environment your training code runs in:

uv add reflop          # or: pip install reflop

That installs both the library (import reflop) and the reflop command in that environment. Update with reflop update, or pip install -U reflop.

Requires Python 3.10+ and PyTorch 2.6+, on macOS or Linux.

Use

Pair once with the invite code the GPU Owner gives you:

reflop pair reflop1-…
reflop status

Then move your model to the reflop device:

import torch, reflop

dev = reflop.device()          # the GPU on the Owner's workstation
model = MyModel().to(dev)      # weights live on the server
for x, y in loader:
    loss = loss_fn(model(x.to(dev)), y.to(dev))
    loss.backward()
    opt.step(); opt.zero_grad()
    print(loss.item())         # only this number comes back

A script written for CUDA runs without changes:

reflop run python train.py

Every file on PyPI is the exact file from the matching GitHub release, whose checksums.txt is signed with the project's offline release key.

Metadata

Release files for reflop 0.1.9

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

Source distribution (sdist)

Source distribution for reflop 0.1.9
File Size Uploaded Provenance Actions
reflop-0.1.9.tar.gz 86.5 kB With provenance Details for reflop-0.1.9.tar.gz

Built distribution (wheel)

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

Total release size: 191.5 kB

Release files / reflop-0.1.9.tar.gz

Download URL reflop-0.1.9.tar.gz
Size 86.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5169f982685976fd4828fe059741ed53cacdde16ec13aa7135c075145d66a41c
BLAKE2b-256 checksum
How to use checksums
03042f168c86564967cf8cf6c4af98f62db2778eb201429ac73f495a8e134d61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Release files / reflop-0.1.9-py3-none-any.whl

Download URL reflop-0.1.9-py3-none-any.whl
Size 105.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8aa7389e6c2fb7ab4e14a4023ab25d3d48ca93ba6ce6a0e8f20ed69d6549a49
BLAKE2b-256 checksum
How to use checksums
7462a64cf32f71956a93fa9b3edc296c4e0d3d5ae9eccb1095bf457b19ced53c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Security for reflop 0.1.9

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for reflop-0.1.9.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 Nov 12, 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.

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