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

  1. 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

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.