Skip to content

Commit 3ccb130

Browse files
fix diagnostics error within vscode on windows
1 parent 0548376 commit 3ccb130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitsandbytes/diagnostics/cuda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def find_cuda_libraries_in_path_list(paths_list_candidate: str) -> Iterable[Path
5959
for pth in dir.glob(lib_pattern):
6060
if pth.is_file():
6161
yield pth
62-
except PermissionError:
62+
except (OSError, PermissionError):
6363
pass
6464

6565

0 commit comments

Comments
 (0)