Running on Nvidia ARM64
LocalAI can be run on Nvidia ARM64 devices, such as the Jetson Nano, Jetson Xavier NX, Jetson AGX Orin, and Nvidia DGX Spark. The following instructions will guide you through building and using the LocalAI container for Nvidia ARM64 devices.
Platform Compatibility
- CUDA 12 L4T images: Compatible with Nvidia AGX Orin and similar platforms (Jetson Nano, Jetson Xavier NX, Jetson AGX Xavier)
- CUDA 13 L4T images: Compatible with Nvidia DGX Spark
Prerequisites
- Docker engine installed (https://docs.docker.com/engine/install/ubuntu/)
- Nvidia container toolkit installed (https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-with-ap)
Pre-built Images
Pre-built images are available on quay.io and dockerhub:
CUDA 12 (for AGX Orin and similar platforms)
CUDA 13 (for DGX Spark)
Build the container
If you need to build the container yourself, use the following commands:
CUDA 12 (for AGX Orin and similar platforms)
CUDA 13 (for DGX Spark)
Usage
Run the LocalAI container on Nvidia ARM64 devices using the following commands, where /data/models is the directory containing the models:
CUDA 12 (for AGX Orin and similar platforms)
CUDA 13 (for DGX Spark)
Note: /data/models is the directory containing the models. You can replace it with the directory containing your models.