Skip to content

Commit

Permalink
Fixed syntax error; bumped revision for beta release.
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDettmers committed Aug 2, 2022
1 parent 3479d02 commit e120c4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bitsandbytes/cuda_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def get_compute_capability():
ccs = []
for i in range(nGpus.value):
check_cuda_result(cuda, cuda.cuDeviceGet(ctypes.byref(device), i))
ref_major = ctypes(cc_major)
ref_minor = ctypes(cc_minor)
ref_major = ctypes.byref(cc_major)
ref_minor = ctypes.byref(cc_minor)
# 2. call extern C function to determine CC
check_cuda_result(cuda, cuda.cuDeviceComputeCapability(ref_major, ref_minor, device))
ccs.append(f"{cc_major.value}.{cc_minor.value}")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def read(fname):

setup(
name=f"bitsandbytes",
version=f"0.31.0",
version=f"0.31.1",
author="Tim Dettmers",
author_email="[email protected]",
description="8-bit optimizers and matrix multiplication routines.",
Expand Down

0 comments on commit e120c4a

Please sign in to comment.