Chapter 2. Updating a model
Red Hat Enterprise Linux AI allows you to upgrade LLMs that you locally downloaded to the latest version of the model.
Model | Description | Version introduced | NVIDIA | AMD | Intel |
---|---|---|---|---|---|
| Version 2 of the Granite 3.1 base model for customizing and fine-tuning | 1.5.1 | Default | Default | Not available |
| Version 2 of the Granite 3.1 model for inference serving | 1.5.1 | Default | Default | Not available |
| Version 2 of the Granite 3.1 base model for customizing and fine-tuning | 1.5 | Available | Available | Default |
| Version 2 of the Granite 3.1 model for inference serving | 1.5.1 | Available | Available | Default |
2.1. Updating the models Copy linkLink copied to clipboard!
You can upgrade your local models to the latest version of the model using the RHEL AI tool set.
Prerequisites
- You installed the InstructLab tools with the bootable container image.
-
You initialized InstructLab and can use the
ilab
CLI. - You downloaded LLMs on Red Hat Enterprise Linux AI.
- You created a Red Hat registry account and logged in on your machine.
Procedure
You can upgrade any model by running the following command.
ilab model download --repository <repository_and_model> --release latest
$ ilab model download --repository <repository_and_model> --release latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow where:
- <repository_and_model>
-
Specifies the repository location of the model as well as the model. You can access the models from the
registry.redhat.io/rhelai1/
repository. - <release>
-
Specifies the version of the model. Set to
latest
, or a specific version of the model, for the most up to date version of the model.
Verification
You can view all the downloaded models on your system with the following command:
ilab model list
$ ilab model list
Copy to Clipboard Copied! Toggle word wrap Toggle overflow