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

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

Built distribution (wheel)

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

Total release size: 191.1 kB

Release files / reflop-0.1.8.tar.gz

Download URL reflop-0.1.8.tar.gz
Size 86.3 kB
Tags Source
SHA-256 checksum
How to use checksums
862c28059d42bd3ed821ad9605e785f7d9409f88f44a915c773e1d4aee4aec60
BLAKE2b-256 checksum
How to use checksums
acdf81137153a68ed6970b0d53bf09d821dab20a7c7ac1a0bc9d291555ffe55d
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.8-py3-none-any.whl

Download URL reflop-0.1.8-py3-none-any.whl
Size 104.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
563dbb409793957a5ce9110a2b3923430fa139eae2639b1aa57854005bbd8a38
BLAKE2b-256 checksum
How to use checksums
123fbb55b721089e9ab49d8283e15a9ce6bcf1130df90110f1b0e248edf552ba
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.8

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