Skip to content

Commit 5b35624

Browse files
Merge pull request #1134 from matthewdouglas/fix-vscode-diagnostics-windows
Fix diagnostics error within vscode on windows
2 parents c6e3190 + 3ccb130 commit 5b35624

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)