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.2.2

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.2.2
File Size Uploaded Provenance Actions
reflop-0.2.2.tar.gz 103.8 kB With provenance Details for reflop-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 227.9 kB

Release files / reflop-0.2.2.tar.gz

Download URL reflop-0.2.2.tar.gz
Size 103.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f288350badaf0669875f33008b75809d05a7573c1411139e9d610f0b890e46b3
BLAKE2b-256 checksum
How to use checksums
8560ff3b9557f4f6bf4559c042d824ce4bf9a6bc4d902c5edcef7c3d78bda07d
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 19, 2026.

Transparency log

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

Download URL reflop-0.2.2-py3-none-any.whl
Size 124.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b4ea0d2d65a428a1ac07a5f3f9ac5eb6aa0c8f8b47ce335a478017b056552af
BLAKE2b-256 checksum
How to use checksums
93e962cf1e0f2eb44ad919db963514ed139a3fd5935b4a34db64aedb9179456c
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 19, 2026.

Transparency log

Security for reflop 0.2.2

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.2.2.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 19, 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