Chapter 4. Model management
There are a various ways you can organize and manage your custom or downloaded models on RHEL AI
4.1. Uploading your models to a registry
After you fine-tune a model, you can upload the model to an external registry. RHEL AI currently supports uploading models to AWS S3 buckets.
Prerequisites
- You installed RHEL AI on your preferred platform.
- You initialized InstructLab.
- Log in to your preferred registry.
Procedure
You can upload your models to a specific registry with the following command
$ ilab model upload --model <name-of-model> --destination <registry-location> --dest-type <registry-type>
where:
- <name-of-model>
-
Specify the checkpoint name you want to upload. For example,
--model samples_0801
. You can also specify the path to the checkpoint. - <registry-location>
-
Specify where you want to upload the model. For example,
--destination example-s3-bucket
- <registry-type>
-
Specify the model type. Valid values include:
s3
.
Example
ilab model upload
command to an s3 bucket$ ilab model upload --model samples_0801 --destination example-s3-bucket --dest-type s3