lorivo rollback

Redeploys a previous version of an adapter onto the GPU node.

Usage

lorivo rollback <name> [--version <n>]
ArgumentDefaultDescription
namerequiredAdapter name
--version <n>immediately previous versionRoll back to a specific version number

Behavior

  • Without --version: redeploys the version that was active before the current one, via POST /api/adapters/:id/rollback.
  • With --version <n>: looks up that version and deploys it via POST /api/adapters/:id/deploy.
  • Exits with an error when the adapter does not exist, nothing is deployed yet, or the requested version does not exist.

Examples

lorivo rollback my-lora
lorivo rollback my-lora --version 2
output
Rolled back my-lora to v2 (DEPLOYED)
Live at: https://lorivo.dev/v1/responses
Model: qwen3-4b:my-lora