Skip to content

Commit 8d6c47b

Browse files
committed
lint
1 parent 5c4b877 commit 8d6c47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def _load_global_deps() -> None:
355355
# TODO: Remove once CUDA 11.8 binaries are deprecated
356356
if cuda_version is not None:
357357
t_version = cuda_version.split(".")
358-
t_major = int(t_version[0]) # type: ignore[operator]
358+
t_major = int(t_version[0]) # type: ignore[operator]
359359
if t_major >= 12:
360360
cuda_libs["cufile"] = "libcufile.so.*[0-9]"
361361

0 commit comments

Comments
 (0)