Command guide
Run these commands on Node A, the Spark connected to your network.
Everyday commands
Pick PROFILE from the profile table.
sudo sparkring install --profile PROFILE # set up the Sparks and start the model
sudo sparkring install --profile PROFILE --plan # show the plan; change nothing
sudo sparkring install --profile PROFILE --on 4-7 # run on Sparks 4 to 7 of a larger ring
sudo sparkring logs --follow # follow the installation
sudo sparkring status # each Spark and the model
sudo sparkring down --execute # stop the model
sudo sparkring up --execute # start it again
sparkring images # images for --image
sparkring models # profiles and their short names
sudo sparkring name "Draupnir" # set the ring's display name
All commands
| Command | Runs on | sudo | Does |
|---|---|---|---|
install |
Node A | yes | Set up the Sparks and start one model |
name |
Node A | to set or clear | Read or change the ring display name |
setup |
Node A | yes | Set up the Sparks without a model |
cabling |
Node A | yes | Show the cabling and what to move, or measure cable speed |
fabric |
Node A | verify, tune and spread-check |
Show, verify or tune the recorded fabric |
models |
any | no | List profiles and mark those install supports |
images |
any | no | List the installer images install --image can select |
status |
Node A | yes, or the sparkring group |
Show each Spark's state and the saved model |
check |
Node A | yes | Test the running model and its transport; write a tester report |
dashboard |
Node A | export, quiet, enable, disable |
Web page and terminal view of the ring (Experimental) |
host-load |
Node A or each Spark | yes, except show |
Set where and how often host jobs run |
logs |
Node A | yes, or the sparkring group |
Show or follow the installation log |
hairpin |
Node A | yes | Apply the ConnectX setting that relayed forwarding needs |
checkpoints |
Node A | yes | List or release SparkRing's checkpoint directories |
storage |
Node A | yes | Report disk use; release unused caches |
up, down, restart |
Node A | yes | Start, stop or restart a model deployment |
recover |
Node A | yes, or the sparkring group to read |
Show or switch the automatic restart |
node |
each Spark | yes, except status reports | Per-Spark services; Node A calls most of them |
init, export |
any | no | Save a deployment from hosts or a site file; export it as files |
compose |
a checkout | no | Render, check, start or stop profile Compose deployments |
validate-compose |
any | no | Check Compose files offline |
deploy |
a checkout | no | Standalone discovery, network plans and staged model operations |
cluster, doctor, host |
rank 0 or one Spark | no | Manual ring bootstrap and diagnosis |
Common install flags
| Flag | Use |
|---|---|
--profile PROFILE |
The model and number of Sparks |
--on ARC |
Run on these Sparks, such as 0,1 or 4-7 |
--plan |
Show the plan; change nothing |
--yes |
Approve without asking |
--checkpoint NAME |
Another checkpoint of the profile |
--image NAME |
Another image from sparkring images |
--reasoning-effort LEVEL, --thinking off |
Thinking default for requests that do not choose |
--api-port N |
Port of the model's API |
--model-path PATH |
Reuse a checkpoint copy on disk |
--no-auto-recover |
Do not restart the model by itself |
Tools
- Cabling:
sudo sparkring cablingshows how the Sparks are cabled and what to move.sudo sparkring cabling --bandwidthmeasures each cable's speed. - Fabric:
sparkring fabric showprints the recorded fabric.sudo sparkring fabric verifychecks it.sudo sparkring fabric spread-checktests copying files along the cables.sudo sparkring fabric tune --executemeasures SIRCL's tuning table. - Check:
sudo sparkring checktests the running model. Add--report DIRto write a report for a test-report issue. - Storage:
sudo sparkring storagereports disk use and what can be released. - Checkpoints:
sudo sparkring checkpointslists checkpoint directories. - Hairpin:
sudo sparkring hairpin --planshows the ConnectX setting relays need. - Host load:
sudo sparkring host-load show --allshows when host jobs run.
Dashboard
A read-only page of the ring and every model: state, output rate, requests,
KV cache and settings. Open http://NODE_A:8090/ in a browser (Experimental).
sparkring dashboard tui # the same view in a terminal
sudo sparkring dashboard quiet on # pause its requests for a benchmark; quiet off resumes
sudo sparkring dashboard disable # turn it off
sudo sparkring dashboard enable # turn it on
sudo sparkring dashboard export # rewrite its site file from the deployments