From 2d9ef1a2fe0ac9cf5030fabb0841f27b653ab3de Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 4 Mar 2025 18:14:07 +0100 Subject: [PATCH] Update --- .../hardware/install-coral-tpu-host/page.tsx | 97 +++++++++---------- 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/web/app/docs/hardware/install-coral-tpu-host/page.tsx b/web/app/docs/hardware/install-coral-tpu-host/page.tsx index ddbfcaa..8d7a0dd 100644 --- a/web/app/docs/hardware/install-coral-tpu-host/page.tsx +++ b/web/app/docs/hardware/install-coral-tpu-host/page.tsx @@ -1,85 +1,78 @@ -import type { Metadata } from "next" import { Steps } from "@/components/ui/steps" +import CopyableCode from "@/components/CopyableCode" -export const metadata: Metadata = { +export const metadata = { title: "Install Coral TPU on the Host | ProxMenux Documentation", - description: "Learn how to install Coral TPU drivers on your Proxmox VE host.", + 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

- -

- This script automates the installation of Google Coral TPU (Tensor Processing Unit) drivers on your Proxmox VE - host. It ensures that all necessary packages are installed and compiles the Coral TPU drivers for proper - functionality. + +

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.

- -

What Does This Script Do?

-

When executed, this script performs the following actions:

+ +

Overview

+

The script automates the following steps:

    -
  1. Prompts for confirmation before proceeding with the installation
  2. -
  3. Verifies and configures necessary repositories on the host
  4. -
  5. Installs required packages for driver compilation
  6. -
  7. Clones the Coral TPU driver repository
  8. -
  9. Builds and installs the Coral TPU drivers
  10. -
  11. Prompts for a system restart to apply changes
  12. +
  13. Prompts for confirmation before proceeding with installation.
  14. +
  15. Verifies and configures necessary repositories on the host.
  16. +
  17. Installs required dependencies for driver compilation.
  18. +
  19. Clones the Coral TPU driver repository and builds the drivers.
  20. +
  21. Installs the compiled Coral TPU drivers.
  22. +
  23. Prompts for a system restart to apply changes.
- -

Key Steps

+ +

Implementation Steps

- -

The script asks for confirmation before proceeding, warning that a system restart will be required.

+ +

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

-

Verifies and adds necessary repositories:

+

The script verifies and configures required repositories:

    -
  • Adds the pve-no-subscription repository if not present
  • -
  • Adds non-free-firmware repositories to the sources list
  • -
  • Updates the package lists
  • +
  • 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.
-

Installs Coral TPU drivers:

+

The script installs and compiles the required drivers:

    -
  • Installs necessary packages (git, devscripts, dh-dkms, etc.)
  • -
  • Clones the gasket-driver repository
  • -
  • Builds the driver packages
  • -
  • Installs the compiled driver packages
  • +
  • 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.
- -

Prompts the user to restart the server to apply the changes.

+ +

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

- -

What to Expect

+ +

Expected Results

- -

Important Notes

+ +

Important Considerations

- +

- This script simplifies the process of installing Coral TPU drivers on your Proxmox VE host, enabling you to use - Coral TPU devices for AI and machine learning tasks. After installation and restart, you can proceed to - configure individual LXC containers or VMs to use the Coral TPU. + By using ProxMenux, Coral TPU drivers can be installed on a Proxmox VE host efficiently, avoiding manual setup and potential configuration issues.

) } -