更新


Red Hat Enterprise Linux AI 1.5

升级 RHEL AI 系统和型号

Red Hat RHEL AI Documentation Team

摘要

本文档提供有关更新 RHEL AI 实例和更新 LLM 的说明

第 1 章 更新 Red Hat Enterprise Linux AI

Red Hat Enterprise Linux AI 允许您更新您的实例,以便可以使用最新版本的 RHEL AI 和 InstructLab。

1.1. 更新 RHEL AI 实例

您可以更新您的实例以使用最新版本的 RHEL AI 和 InstructLab

先决条件

  • 您在其中一个支持的平台中安装并部署了 Red Hat Enterprise Linux AI 实例。
  • 您创建了红帽 registry 帐户。
  • 在机器上具有 root 用户访问权限。

流程

  1. 使用 podman 命令登录到您的红帽 registry 帐户:

    $ sudo podman login registry.redhat.io --username <user-name> --password <user-password> --authfile /etc/ostree/auth.json
    Copy to Clipboard Toggle word wrap

    或者您可以使用 skopeo 命令登录:

    $ sudo skopeo login registry.redhat.io --username <user-name> --password <user-password> --authfile /etc/ostree/auth.json
    Copy to Clipboard Toggle word wrap
  2. 升级到 Red Hat Enterprise Linux AI 的次版本

    1. 您可以使用机器硬件的 bootc 镜像升级实例以使用 Red Hat Enterprise Linux AI 的最新版本。 

      $ sudo bootc switch registry.redhat.io/rhelai1/bootc-<hardware-vendor>-rhel9:<rhel-ai-version>
      Copy to Clipboard Toggle word wrap

      其中

      <hardware-vendor>
      为您的加速器指定硬性供应商。有效值包括: nvidia、aum d 和 intel
      <rhel-ai-version>

      指定要升级到的 RHEL AI 版本。

      带有 NVIDIA 加速器的机器命令示例

      $ sudo bootc switch registry.redhat.io/rhelai1/bootc-nvidia-rhel9:1.5
      Copy to Clipboard Toggle word wrap

    2. 运行以下命令重启您的系统:

      $ sudo reboot -n
      Copy to Clipboard Toggle word wrap
      重要

      当升级到 RHEL AI 版本 1.5 时,在重新初始化前,/etc/skel/.config/containers/storage.conf 存储配置需要复制到 <user-home>/.config/containers/storage.conf 主目录。

      例如:

      $ cp /etc/skel/.config/containers/storage.conf <user-home>/.config/containers/storage.con
      Copy to Clipboard Toggle word wrap
  3. 升级到 Red Hat Enterprise Linux AI 的 z-stream 版本

    1. 如果存在 z-stream,您可以通过运行 folllowing 命令将系统升级到 RHEL AI 的 z-stream 版本:

      $ sudo bootc upgrade --apply
      Copy to Clipboard Toggle word wrap
  4. 建议您在升级到最新的 RHEL AI 版本后重新初始化您的环境和配置。

    警告

    ilab config init 命令覆盖现有的 config.yaml 文件,并将其设置为每个系统硬件的默认配置。如果自定义 config.yaml 文件,请确保在重新初始化前熟悉自定义配置。

    $ ilab config init
    Copy to Clipboard Toggle word wrap

第 2 章 更新模型

Red Hat Enterprise Linux AI 允许您在本地将 LLM 下载到最新版本的模型。

Expand
表 2.1. RHEL AI 版本 1.5 LLM 支持
model描述引入了的版本NVIDIAAMDIntel

granite-3.1-8b-starter-v2.1

用于自定义和微调的 Granite 3.1 基本模型的版本 2

1.5.1

default

default

不可用

granite-3.1-8b-lab-v2.1

用于 inference 服务的 Granite 3.1 模型的版本 2

1.5.1

default

default

不可用

granite-3.1-8b-starter-v2

用于自定义和微调的 Granite 3.1 基本模型的版本 2

1.5

可用

可用

default

granite-3.1-8b-lab-v2

用于 inference 服务的 Granite 3.1 模型的版本 2

1.5.1

可用

可用

default

2.1. 更新模型

您可以使用 RHEL AI 工具集将本地模型升级到最新版本。

先决条件

  • 已使用可引导容器镜像安装了 InstructLab 工具。
  • 您初始化了 InstructLab,可以使用 ilab CLI。
  • 您在 Red Hat Enterprise Linux AI 上下载了 LLM。
  • 您创建了红帽 registry 帐户并登录您的机器中。

流程

  1. 您可以运行以下命令来升级任何模型。

    $ ilab model download --repository <repository_and_model> --release latest
    Copy to Clipboard Toggle word wrap

    其中:

    <repository_and_model>
    指定模型和模型的存储库位置。您可以从 registry.redhat.io/rhelai1/ 仓库访问模型。
    <release>
    指定模型的版本。为模型的最新版本,设置为 latest 或一个特定版本的模型。

验证

  1. 您可以使用以下命令查看系统中所有下载的模型:

    $ ilab model list
    Copy to Clipboard Toggle word wrap

法律通告

Copyright © 2025 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部