Skip to main content
Sometimes a command stops before it’s done: you press Ctrl-C, it runs out of time, or your connection drops. In all these cases only rivvr on your computer stops. In Rivvr, the work usually keeps going. Nothing is cancelled or undone. So don’t run the same command again. It can create a second copy of what’s already being made. Instead:
  1. Find the IDs the command printed before it stopped.
  2. Check what happened on Rivvr’s side.
  3. Continue from there, using the steps below.

Deployment interrupted

rivvr deploy prints an ID after each stage. Look for the last one it printed, then find the matching case below.

You have a model ID

The model already exists and keeps starting up on its own. Keep watching it:

You only have an import ID

The copy of the files keeps running. But because deploy stopped, nothing will create the model when the copy finishes. Wait for the copy:
When it’s done, it prints a storage entry ID. Then create the model yourself, as in the next case.

The files are in storage, but you have no model ID

Creating the model failed, or you never saw an answer. First check whether the model was created anyway:
Only if it isn’t in the list, create it. Use the same storage entry, name, cluster, spending limit, and other options as the first time:
A failed create never deletes the stored files. If testing or starting the model fails, read the reason in testing-runs before you change anything. There’s no command to retry or undo a deployment. In scripts, add --json --error-json to get these IDs in a form a program can read.

Import interrupted

To keep watching an import:
This only watches the existing import; it doesn’t start a new one. If you never got an import ID, look in rivvr storage import list --project research before you start another import. To stop an import on purpose:
If the import had already finished, cancel fails with a conflict error and shows the import’s current status. If an import from Hugging Face fails, check that the project has a Hugging Face token and that the token can read that repository. If an import from S3 fails, ask your platform team to check that Rivvr can read the bucket.

Upload interrupted

To continue an upload, use the upload ID that rivvr storage upload printed:
What happens depends on how far the upload got: An INITIATED upload can’t continue if the contents of any file changed, even if its size stayed the same. Put the original files back, or cancel the upload and start a new one. If rivvr couldn’t save its progress file at the very start, nothing was sent yet, and cancelling is the only option. To cancel (abort) an upload:
  • You can’t cancel a COMPLETING upload; you’ll get a conflict error. Continue it with resume instead.
  • Cancelling a COMPLETED upload does nothing. It never deletes the storage entry.
  • If cleaning up fails after you cancel, run the same abort command again.
If no pieces can be sent at all, the cause is usually the VPN or the network route to S3. Ask your platform team. When you send them error output, remove any upload addresses (URLs) from it. Those addresses work like temporary passwords.

Deletes that seem stuck

Delete commands finish when Rivvr accepts the request, not when the deletion is done. A model can disappear from list while it’s still being shut down. Some deletes have to wait for others:
  • A storage entry can’t be deleted while a model uses it.
  • A project can’t be deleted until all its clusters have the status DELETED.
Wait for the first delete to finish before you start the next one.

Keychain failed after creating or revoking a key

Creating or revoking a key happens in Rivvr. Saving or removing it in your keychain is a separate step on your computer. Sometimes only the second step fails. If it failed after inference-key create: the key exists, but the secret wasn’t saved and can’t be shown again. Note the key ID. Fix your keychain, revoke that key, then create a new one with --save. Check rivvr inference-key list before creating more keys, so you don’t end up with extras. If it failed after inference-key revoke: the key is already revoked on Rivvr’s side. Only the copy on your computer is left. Fix your keychain, then remove the local copy that the error message names.