From 7cb1e4de484944c717d0aacc269519bda0032138 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Thu, 19 Mar 2026 08:46:25 -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 --- docs/LocalPreferences.toml | 7 +++++++ docs/Project.toml | 2 ++ test/LocalPreferences.toml | 7 +++++++ test/Project.toml | 2 ++ 4 files changed, 18 insertions(+) create mode 100644 docs/LocalPreferences.toml create mode 100644 test/LocalPreferences.toml diff --git a/docs/LocalPreferences.toml b/docs/LocalPreferences.toml new file mode 100644 index 0000000..b65c691 --- /dev/null +++ b/docs/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/docs/Project.toml b/docs/Project.toml index 95690e0..46e2e54 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,6 +3,8 @@ AlgebraOfGraphics = "cbdf2221-f076-402e-a563-3d30da359d67" CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0" CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab" +CUDA_Driver_jll = "4ee394cb-3365-5eb0-8335-949819d2adfc" +CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2" DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" diff --git a/test/LocalPreferences.toml b/test/LocalPreferences.toml new file mode 100644 index 0000000..b65c691 --- /dev/null +++ b/test/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/Project.toml b/test/Project.toml index 5f960fa..eae4d3d 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,6 +1,8 @@ [deps] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66" +CUDA_Driver_jll = "4ee394cb-3365-5eb0-8335-949819d2adfc" +CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9" ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"