Fixed bug where read-permission was assumed for a file. #497

This commit is contained in:
Tim Dettmers 2023-07-16 21:08:13 -07:00
parent 37c25c1e0d
commit f3232d1391
3 changed files with 10 additions and 1 deletions

View File

@ -275,3 +275,10 @@ Bug fixes:
Documentation:
- Improved documentation for GPUs that do not support 8-bit matmul. #529
- Added description and pointers for the NF4 data type. #543
### 0.40.2
Bug fixes:
- Fixed a but where a non-existent LD_LIBRARY_PATH variable led to a failure in python -m bitsandbytes #588
- Removed outdated get_cuda_lib_handle calls that lead to errors. #595 Thank you @ihsanturk
- Fixed bug where read-permission was assumed for a file. #497

View File

@ -199,6 +199,8 @@ def remove_non_existent_dirs(candidate_paths: Set[Path]) -> Set[Path]:
except OSError as exc:
if exc.errno != errno.ENAMETOOLONG:
raise exc
except PermissionError as pex:
pass
non_existent_directories: Set[Path] = candidate_paths - existent_directories
if non_existent_directories:

View File

@ -18,7 +18,7 @@ def read(fname):
setup(
name=f"bitsandbytes",
version=f"0.40.1.post1",
version=f"0.40.2",
author="Tim Dettmers",
author_email="dettmers@cs.washington.edu",
description="k-bit optimizers and matrix multiplication routines.",