From 46bc1bcb4c32cded27b0a8dfb8b9ea1e960e897c Mon Sep 17 00:00:00 2001 From: anish <145943060+anishesg@users.noreply.github.com> Date: Tue, 23 Jun 2026 07:35:21 -0700 Subject: [PATCH] llama: add sm_86 architecture to cuda_v13_windows preset (#16834) The llama_cuda_v13_windows preset in llama/server/CMakePresets.json was missing sm_86 and sm_80 architectures, causing RTX 3060 laptop and similar mobile RTX 30-series GPUs to be skipped during runtime GPU detection on Windows with CUDA 13. The Linux preset (llama_cuda_v13_linux) included these architectures as "86-virtual" and "80-virtual", but the Windows preset only had "75-virtual;89-virtual;100-virtual;120-virtual", excluding Ampere mobile GPUs. Signed-off-by: anish Co-authored-by: anish --- llama/server/CMakePresets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama/server/CMakePresets.json b/llama/server/CMakePresets.json index ebafa8184..f0b0f4bb4 100644 --- a/llama/server/CMakePresets.json +++ b/llama/server/CMakePresets.json @@ -108,7 +108,7 @@ "inherits": ["llama_cuda_v13_base"], "binaryDir": "${sourceDir}/../../build/llama-server-cuda_v13", "cacheVariables": { - "CMAKE_CUDA_ARCHITECTURES": "75-virtual;89-virtual;100-virtual;120-virtual" + "CMAKE_CUDA_ARCHITECTURES": "75-virtual;80-virtual;86-virtual;89-virtual;100-virtual;120-virtual" } }, {