Updating your models
Upgrading LLM models on RHEL AI
Abstract
Chapter 1. Updating a model
Red Hat Enterprise Linux AI allows you to upgrade LLMs that you locally downloaded to the latest version of the model.
1.1. Updating the models
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
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