Prepares a k3s
+ nvidia/cuda
base image that enables a K3D cluster to utilize your host machine's NVIDIA, CUDA-capable GPU(s).
This is for development and demonstration purposes, and should not be used to deploy LeapfrogAI in a production environment.
All system requirements and pre-requisites from the LeapfrogAI documentation website.
Note
The following Make targets can be executed from the root of the LeapfrogAI repository or within this sub-directory.
To deploy a new K3d cluster with UDS Core Slim Dev, use one of the following Make targets.
make create-uds-gpu-cluster # create a uds cluster equipped with the k3d-gpu image
make test-uds-gpu-cluster # deploy a test gpu pod to see if everything is working
Note
The following Make targets can be executed from the root of the LeapfrogAI repository or within this sub-directory
To build just the K3s CUDA image for container debugging, use the following Make target.
make build-k3d-gpu # build the image