docs: add GPU deployment runbook (CDI passthrough) #15
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-ml/editorial-guide-ramalama!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "gtfrans2re/editorial-guide-ramalama:docs/gpu-deployment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Documents how to enable GPU acceleration for the RAG pipeline on the deployment host (
docs/gpu-deployment.md).The key point: installing the NVIDIA drivers is necessary but not sufficient.
ramalamaruns its models in a Podman container, and by default the container can't see the GPU - it prints a "No CDI configuration found" warning and silently falls back to CPU. The runbook covers installing the NVIDIA Container Toolkit and generating a CDI config (nvidia-ctk cdi generate) so Podman can pass the GPU through, plus a container smoke test and how to confirm the GPU is actually used.The impact is large: on the GPU host, the same vector store build took ~76 minutes on CPU vs ~6 minutes on GPU (about 13x).
Related Issue
Part of #161 (deploy and run the mini-project on the GPU host).
Type of Change
Checklist
maingit commit -s)mainAdditional Notes
The steps in this runbook were run and verified on the GPU instance; the CPU-vs-GPU timings above come from that run.