import { Steps } from "@/components/ui/steps" import CopyableCode from "@/components/CopyableCode" export const metadata = { title: "Install Coral TPU on the Host | ProxMenux Documentation", description: "Step-by-step guide to install Google Coral TPU drivers on a Proxmox VE host using ProxMenux.", } export default function InstallCoralTPUHost() { return (

Install Coral TPU on the Host

Before using Coral TPU inside an LXC container, the drivers must first be installed on the Proxmox VE host. This script automates that process, ensuring the necessary setup is completed.

This guide explains how to install and configure Google Coral TPU drivers on a Proxmox VE host using ProxMenux. This setup enables hardware acceleration for AI-based applications that leverage Coral TPU.

Overview

The script automates the following steps:

  1. Prompts for confirmation before proceeding with installation.
  2. Verifies and configures necessary repositories on the host.
  3. Installs required dependencies for driver compilation.
  4. Clones the Coral TPU driver repository and builds the drivers.
  5. Installs the compiled Coral TPU drivers.
  6. Prompts for a system restart to apply changes.

Implementation Steps

The script prompts the user for confirmation before proceeding, as a system restart is required after installation.

The script verifies and configures required repositories:

  • Adds the pve-no-subscription repository if not present.
  • Adds non-free-firmware repositories for required packages.
  • Runs an update to fetch the latest package lists.

The script installs and compiles the required drivers:

  • Installs dependencies such as git, dkms, devscripts, and kernel headers.
  • Clones the gasket-driver repository from Google.
  • Builds the Coral TPU driver packages.
  • Installs the compiled drivers on the host.

The script prompts the user to restart the server to apply the changes.

Expected Results

) }