Using InstructLab with Podman Desktop¶
With InstructLab-Podman Desktop integration, you can easily use the Podman Desktop UI to create an InstructLab container to work with. Podman Desktop provides the Podman AI Lab extension to work with Large Language Models (LLMs) in a local development environment. The extension also provides an option to start InstructLab as a container.
With a running InstructLab container, you can initialize an InstructLab session and train models with specialized knowledge and skill tuning. In the container's terminal, configure the InstructLab CLI to run relevant commands to download, serve, and chat with the model.
Prerequisites¶
Make sure you have:
- Installed Podman Desktop
- A running Podman machine.
- Installed the AI Lab extension.
Procedure¶
- Click AI Lab in the left navigation pane.
- In the TUNING section, click Try InstructLab.
- Click the Start InstructLab Container button on the opened page. This step might take some time to start the container.
-
Click the Open InstructLab container button to access the container's terminal.
-
Run the
ilab config init
command to configure the InstructLab CLI.
Verification¶
- View the InstructLab container running on the Containers page.
- Click the name of the container to view its logs.
- Click the Terminal tab to run
ilab
commands, such asilab model download
,ilab model serve
, andilab model chat
.