Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Skip to Content
CLICommands

orl imports create

Import model weights, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing. Usage, every flag and an example.

orl imports create --attest-rights --source <source>

Copies a model's weights from Hugging Face, S3 or Google Cloud Storage into OpenRelay and checks them, to serve on a dedicated endpoint. Name a credential for a private source. attestRights must be true: you attest you have the rights to the weights, under the license you name. The import runs in the background; poll it until it succeeds or fails. Your organization runs a limited number of imports at once (409 IMPORT_LIMIT names it), and a create passes the same balance and account checks as a VM create.

Flags

FlagTypeRequired
--attest-rightsboolyesMust be true: you attest you have the rights to import and serve the weights under that license.
--licensestringnoThe license the weights are under.
--sourcejsonyes
--bodystringnoa JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"}
--body-filestringnoread the --body JSON object from a file (- for stdin)

This wraps the createModelImport API operation.

On this page