shardio
Serve open models on your NVIDIA GPU with Shardio, and earn per token.
shardio [OPTIONS] COMMAND [ARGS]...New machine? Run shardio check to see that it can serve, then shardio up. up asks a few questions, shows a code to approve in your Shardio console, lets you choose the models to serve and starts them. It runs in that terminal until Ctrl-C; shardio up --detach keeps it running in the background until shardio down.
Each command changes one of three things. Requests: pause, resume and schedule change only whether Shardio sends this node requests, and the models stay loaded on this machine. This machine: up starts the node and down stops it, after asking Shardio to stop sending it requests; restart loads one model again. Membership: node remove removes the node from your account, or one machine from the node.
Settings are two files. ~/.config/shardio/config.toml holds this machine's credential. ~/.config/shardio/node.yaml holds its node, its name and the models first chosen for it; after that first choice the node's models are kept on Shardio, where shardio models shows them and shardio models set changes them. shardio config path prints where both files are on this machine.
Options
| Option | Value | Description |
|---|---|---|
--version | Show the installed Shardio release and exit. | |
--home | DIR | Keep this machine's settings and working files in DIR instead of ~/.config/shardio and ~/.local/share/shardio. |
--api-url | URL | Shardio API address. Change it only when Shardio support asks you to. |
--config | PATH | This machine's node settings file. [default: ~/.config/shardio/node.yaml] |
-h, --help | Show this message and exit. |
Commands
- Getting started:
shardio check,shardio up - Running:
shardio models,shardio pause,shardio resume,shardio restart,shardio down,shardio update,shardio setup,shardio calibrate,shardio schedule - Inspecting:
shardio status,shardio requests,shardio logs,shardio node - Account:
shardio auth,shardio config