🛠 Configure External GPU Acceleration via OCuLink

Xerxes Nano Carrier Board for Jetson Orin Nano Super and Turing RK1 Modules · intermediaire · Apprenez à connecter et utiliser un GPU externe avec la Xerxes Nano pour des calculs IA intensifs.

Objectives

This tutorial aims to configure the Xerxes Nano carrier board to leverage the computing power of an external GPU via the OCuLink interface. This setup is ideal for deep learning model training or 3D rendering tasks, exceeding the integrated capabilities of the Jetson Orin Nano or Turing RK1. The goal is to ensure correct hardware detection and optimal performance.

Required Materials

Steps

  1. Hardware Preparation : Ensure the Xerxes Nano card is powered off. Firmly insert the OCuLink connector into the dedicated port on the carrier board. Verify that the plug is aligned with visual markers.
  2. GPU Connection : Connect the other end of the OCuLink cable to your GPU daughterboard or PCIe adapter. Mount the GPU in its case or on a test bench.
  3. Power Supply : Plug in the external GPU power supply. Ensure the Xerxes Nano power supply (USB or PoE via jumper) is correctly connected.
  4. System Boot : Power on the card. The operating system should detect the new PCIe device during boot.
  5. Software Verification : Open a terminal and run the following command to list PCIe devices and confirm the GPU's presence:
lspci | grep -i nvidia
  1. Driver Installation : If the GPU is not natively recognized, install the NVIDIA drivers corresponding to your JetPack or Ubuntu version. For JetPack, drivers are often pre-installed but may need updating:
sudo apt update
sudo apt install nvidia-driver-535 # Example, check compatible version
  1. Performance Test : Use a tool like nvidia-smi to check the external GPU status:
nvidia-smi

Verification

The nvidia-smi command should display external GPU information, including model name, available memory, and current usage. If lspci does not show the GPU, check physical connections and GPU power. Also ensure the BIOS/UEFI (if applicable) has not disabled the PCIe port linked to OCuLink.

Further Reading

Explore the open-source 'Xerxes Home Lab' tool to manage active cooling via the PWM connector, which is crucial when using an external GPU that generates more heat. You can also consult the KiCad files on GitHub to understand PCIe signal routing and optimize cable lengths to minimize signal loss.

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials