Skip to content

Commit

Permalink
Merge pull request #1134 from matthewdouglas/fix-vscode-diagnostics-w…
Browse files Browse the repository at this point in the history
…indows

Fix diagnostics error within vscode on windows
  • Loading branch information
Titus-von-Koeller authored Mar 26, 2024
2 parents c6e3190 + 3ccb130 commit 5b35624
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 5b35624

Please sign in to comment.