By default, the Odysseus Docker container has no access to your host’s GPU. Enabling GPU passthrough lets Cookbook detect your GPU’s VRAM, recommend appropriate models, and launch llama.cpp or vLLM with hardware acceleration. Without it, Cookbook sees the CPU (or a wrong device) and model recommendations will not reflect your actual hardware. Odysseus ships two Compose overlay files — one for NVIDIA and one for AMD/ROCm — that add the necessary device and runtime declarations to the baseDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/pewdiepie-archdaemon/odysseus/llms.txt
Use this file to discover all available pages before exploring further.
docker-compose.yml. This page explains how to enable them.
The Odysseus app never enables GPU passthrough automatically and never edits
.env on its own. All changes described here are explicit, opt-in steps that you control.NVIDIA
Requirements
- NVIDIA GPU with a working host driver (
nvidia-smiworks on the host) - NVIDIA Container Toolkit installed and configured on the host
Step 1 — Diagnose and set up passthrough
Thescripts/check-docker-gpu.sh script is the recommended starting point. It runs read-only by default and never modifies anything unless you pass explicit flags.
--enable-nvidia-overlay flag creates a timestamped .env.bak.* backup before making any change, and it is blocked if GPU passthrough is not yet working — it will not write to .env until docker run --gpus all ... succeeds.
Step 2 — Enable the overlay manually (alternative)
If you prefer to edit.env yourself instead of using the script, add:
Step 3 — Start Odysseus
Step 4 — Verify GPU access inside the container
Stack-management UIs (Portainer, Coolify, etc.)
These tools often accept only a single Compose file and do not reliably support theCOMPOSE_FILE overlay mechanism. Use the provided standalone file instead, which bundles the base stack and the NVIDIA settings together:
AMD / ROCm
Requirements
- AMD GPU with ROCm drivers installed on the host (
/dev/kfdand/dev/dripresent) - Host user in the
videoandrendergroups
Step 1 — Diagnose passthrough
/dev/kfd and /dev/dri are accessible and what your render group GID is.
Step 2 — Find your render group GID
Step 3 — Enable the overlay
Add the following to.env, replacing 989 with the GID from the previous step:
Step 4 — Start Odysseus
Step 5 — Verify device access inside the container
/dev/kfd and at least one /dev/dri/renderD* entry. If not, check group membership and ROCm driver installation on the host.
Stack-management UIs
For Portainer, Coolify, and similar tools, use the standalone file:RENDER_GID must still be set in your environment or stack configuration.
Important: Passthrough ≠ Userspace
Apple Silicon / macOS
GPU passthrough for Docker is not applicable on macOS — Docker runs inside a Linux VM with no access to the Metal GPU. For Apple Silicon GPU acceleration, run Odysseus natively using./start-macos.sh. See Linux & macOS for details.