From ce373c0b4d6e9fb3a4293f5d6d78596841fac323 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Thu, 19 Mar 2026 08:40:18 -0400 Subject: [PATCH] Fix V100 CUDA compatibility for demeter4 runners Add LocalPreferences.toml to pin CUDA runtime 12.6 and disable forward-compat driver. V100 GPUs (compute capability 7.0) require system driver since CUDA_Driver_jll v13+ drops cc7.0 support. Ref: ChrisRackauckas/InternalJunk#19 --- test/gpu/LocalPreferences.toml | 7 +++++++ test/gpu/Project.toml | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 test/gpu/LocalPreferences.toml diff --git a/test/gpu/LocalPreferences.toml b/test/gpu/LocalPreferences.toml new file mode 100644 index 00000000..b65c691f --- /dev/null +++ b/test/gpu/LocalPreferences.toml @@ -0,0 +1,7 @@ +[CUDA_Runtime_jll] +version = "12.6" + +[CUDA_Driver_jll] +# Disable forward-compat driver — V100 runners need the system driver +# since CUDA_Driver_jll v13+ drops compute capability 7.0 support +compat = "false" diff --git a/test/gpu/Project.toml b/test/gpu/Project.toml index 18ce094b..608a8dca 100644 --- a/test/gpu/Project.toml +++ b/test/gpu/Project.toml @@ -1,5 +1,7 @@ [deps] CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba" +CUDA_Driver_jll = "4ee394cb-3365-5eb0-8335-949819d2adfc" +CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2" [compat] -CUDA = "3.12, 4, 5" +CUDA = "4, 5"