Subcommands
List models
List the models in your model repository:ls as a shorthand for list.
List flags
Add a model
Add a model by mirroring a Hugging Face repository.--name is the name the model gets in your repository, and --huggingface-model is the source:
--wait-for-hash. To also delete the local files once the upload is confirmed, add --delete-my-model-files-after-upload:
--huggingface-model can’t be combined with the local upload flags, such as --model-path.
If your account has a model repository storage quota, a local upload checks the total size of the files against your remaining quota before it creates anything. An upload that would exceed the quota fails right away, and the error shows how much space is available. Free up space or contact support to request a higher quota. Mirroring with --huggingface-model doesn’t run this check.
Add flags
Delete the uploaded
--model-path files once the model version is confirmed deployable. Requires --wait-for-hash. Only the files this run uploaded are deleted. If a file can’t be deleted, the command exits with an error that names it.Remove a model
Remove a model from your repository. Both--name and --owner are required:
rm or delete as a shorthand for remove.
To remove a single version instead of the whole model, pass --version or --hash:
runpodctl can’t complete this check, for example because the API is unreachable, it also refuses the removal.
Detach the model from each endpoint first, or point the endpoint at a different model with --model-reference, then remove it: