Skip to main content

Check a model’s status

list shows every model in the project. Add --cluster development to see only the models on that cluster. get shows the model’s status and settings, and if something went wrong, the reason. A new model moves through these statuses, left to right:

Wait until it’s running

If you created the model without --wait, or you stopped waiting, run:
The command ends successfully (exit code 0) when the model reaches DEPLOY_READY. It ends with an error if the model reaches TESTING_RUN_FAILED, DEPLOY_FAILED, DELETING, or DELETED. Pressing Ctrl-C only stops the waiting. The model keeps starting up on Rivvr’s side.

Find out why it failed

Before a model takes real requests, Rivvr load-tests it. To see those tests:
For each test you’ll see its status, how far it got, and why it failed. This command only shows past tests; it doesn’t start a new one. Speed and errors from real requests are on a different page: performance.

Change a model

You can only change a model whose status is DEPLOY_READY. Settings you don’t mention stay the same:
When scale to zero is on, the lowest allowed spending limit is 0. If you turn it off with --scale-to-zero=false, the lowest allowed limit goes back to 0.01, so --max-cost-per-hour must be at least that. To remove a target you set earlier, use --clear:
You can clear min-qps, max-qps, ttft-p50-ms, ttft-p90-ms, tps-p50, and tps-p90. Automatic optimization has to be changed in its own command. Rivvr refuses it if you change anything else at the same time:
If two people change the same model at the same time, the second change wins and the first is lost. Agree with your team on who changes what.

Delete a model

Type y to confirm. The command ends once Rivvr accepts the request. Rivvr then shuts the model down in the background. The model can disappear from list before that’s finished. The model’s files stay in storage. Delete them separately if you don’t need them anymore.