Lend your GPU as a calculator. Remote PyTorch over TLS. No code execution, only raw compute.
https://reflop.ai โ// momentum
// why it's here
- Created 2 weeks ago and already shipping
- Built almost entirely by one person
- Has issues labelled for new contributors
- Health 96/100 with only 6 stars
- 10 releases in the last 90 days
// how to help
// readme
reFLOP
Lend your GPU as a calculator.
Guests send tensor math. Never code execution, never shell access.
Install ยท Quick Start ยท How it works ยท Security ยท Docs
| Owner | Guest | |
|---|---|---|
| Has | the GPU workstation (Linux) | a laptop (macOS or Linux, no CUDA needed) |
| Runs | reflopd |
their own PyTorch code, unchanged except for the device |
| Gets | a GPU that stays busy, and a machine that stays theirs | the GPUโs FLOPs, and nothing else |
Run your PyTorch code with a simple prefix.
reflop run python train.py # device="cuda"
Or embed reflop in your code, and simply run python3 train.py.
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