From 9d4556ba9545dd45802f7409a757e764d96fbce9 Mon Sep 17 00:00:00 2001 From: tkreindler Date: Sun, 26 Oct 2025 03:28:07 +0000 Subject: [PATCH] Make GPU optional --- .devcontainer/devcontainer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 78558f8..3bf52d2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,6 +11,8 @@ // Everythong else gets installed automatically by uv }, - // Needed for GPU passthrough for CUDA in the container - "runArgs": ["--gpus=all"] + // Pass-through the GPU for CUDA if one is available + "hostRequirements": { + "gpu": "optional" + } }