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

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

Built distribution (wheel)

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

Total release size: 191.1 kB

Release files / reflop-0.1.7.tar.gz

Download URL reflop-0.1.7.tar.gz
Size 86.3 kB
Tags Source
SHA-256 checksum
How to use checksums
367e787ac772ebabc01ca452e40a4bf5ff5a0793b515b02d643a7731d654a28c
BLAKE2b-256 checksum
How to use checksums
593199fa5adc8bba95138a2fd8bb909f5b6ed2ac8af0582f34aed5c6a5cd24a4
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.7-py3-none-any.whl

Download URL reflop-0.1.7-py3-none-any.whl
Size 104.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7ce00f54d2d861e8253827f0f41b6317fdf5433de19670482e1e3144a4853d5
BLAKE2b-256 checksum
How to use checksums
8cacfead76c6405590045daf9f977e27815685e1c74c6bc0dc5ff1fea45ef206
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.7

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