Skip to content

Commit 2eeed03

Browse files
committed
add support for CUDA 12.1 through CUDA 12.6
1 parent 642a793 commit 2eeed03

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

light_the_torch/_cb.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ def _detect_nvidia_driver_version() -> Optional[Version]:
151151
"Linux": {
152152
# Table 2 from
153153
# https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html
154+
Version("12.6"): Version("525.60.13"),
155+
Version("12.5"): Version("525.60.13"),
156+
Version("12.4"): Version("525.60.13"),
157+
Version("12.3"): Version("525.60.13"),
158+
Version("12.2"): Version("525.60.13"),
159+
Version("12.1"): Version("525.60.13"),
154160
Version("12.0"): Version("525.60.13"),
155161
# Table 2 from
156162
# https://docs.nvidia.com/cuda/archive/11.8.0/cuda-toolkit-release-notes/index.html
@@ -176,7 +182,13 @@ def _detect_nvidia_driver_version() -> Optional[Version]:
176182
"Windows": {
177183
# Table 2 from
178184
# https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html
179-
Version("12.0"): Version("527.41"),
185+
Version("12.6"): Version("528.33"),
186+
Version("12.5"): Version("528.33"),
187+
Version("12.4"): Version("528.33"),
188+
Version("12.3"): Version("528.33"),
189+
Version("12.2"): Version("528.33"),
190+
Version("12.1"): Version("528.33"),
191+
Version("12.0"): Version("528.33"),
180192
# Table 2 from
181193
# https://docs.nvidia.com/cuda/archive/11.8.0/cuda-toolkit-release-notes/index.html
182194
Version("11.8"): Version("452.39"),

0 commit comments

Comments
 (0)