Skip to content

Commit

Permalink
fix diagnostics error within vscode on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdouglas committed Mar 18, 2024
1 parent 0548376 commit 3ccb130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitsandbytes/diagnostics/cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def find_cuda_libraries_in_path_list(paths_list_candidate: str) -> Iterable[Path
for pth in dir.glob(lib_pattern):
if pth.is_file():
yield pth
except PermissionError:
except (OSError, PermissionError):
pass


Expand Down

0 comments on commit 3ccb130

Please sign in to comment.