In the browser
- Open sharemy.ai and press Share your GPU.
- Sign in, or enter your invite code. Sign in if you want to be paid in USDC.
- Under What this machine shares, choose Everything it can run or One model. Everything gets the most jobs, because any job this machine can take can come to it.
- Under Disk space for models, choose how much it may download: up to 5, 10, 25 or 50 GB, or As much as it takes.
- Press Start sharing.
- Keep the tab open. It works the graphics card only while a job runs, and it keeps the screen awake.
- Stop any time with Stop sharing. If you close the tab, its jobs go to other machines.
- You don’t see what you run. The page never shows you a job’s input or who sent it.
- Pictures are checked first. Every picture is checked on your machine before it goes back.
No graphics card found
If the browser cannot reach a graphics card, only small models run, on the processor. In Chrome, turn on Use graphics acceleration when available (Settings, System), relaunch Chrome, and reload the page.Headless with Docker
The share worker runs without a browser. It signs in with an API token, offers models to the network, and runs jobs on the machine’s GPU. It is paid the same way as the share page. It runs every model in the catalogue except video. Video needs the share page.What you need
- An NVIDIA GPU. We suggest a card with 12 GB of memory or more.
- Docker with the NVIDIA Container Toolkit, so
docker run --gpus allworks. - About 45 GB of disk to offer every model, or less with
SHAREMYAI_MODELS. - An API token. Earnings go to the token’s account.
Run it
If pulling the image is denied, it is not public yet. Ask on Discord.
/cache on a persistent volume. Without it, every restart downloads the weights again.
At start, the worker downloads and test-loads every model it plans to offer. As many as fit in its memory budget stay loaded and start jobs at once. The others load when a job asks for one, and the model used longest ago is unloaded to make room.
The worker only makes an outgoing WebSocket connection. It needs no open ports and no health check.
Options
Set options as environment variables, or as flags after the image name.
Two flags do something other than share:
For example, to offer three models:
--list.
On a rented GPU
The image runs on any GPU host that can start a Docker image with a GPU attached. SetSHAREMYAI_TOKEN in the host’s environment settings, and keep the image’s own entrypoint.
- Rent an on-demand machine where you can. A host that can take an interruptible machine back stops your worker until it returns. Any job it was running moves to another machine. You are paid only for results your machine delivers.
- If the host keeps no disk between restarts, each start downloads the models again. Offer fewer models with
SHAREMYAI_MODELSto start faster.