Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
e120c4a5
Commit
e120c4a5
authored
Aug 01, 2022
by
Tim Dettmers
Browse files
Fixed syntax error; bumped revision for beta release.
parent
3479d02a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bitsandbytes/cuda_setup.py
bitsandbytes/cuda_setup.py
+2
-2
setup.py
setup.py
+1
-1
No files found.
bitsandbytes/cuda_setup.py
View file @
e120c4a5
...
@@ -68,8 +68,8 @@ def get_compute_capability():
...
@@ -68,8 +68,8 @@ def get_compute_capability():
ccs
=
[]
ccs
=
[]
for
i
in
range
(
nGpus
.
value
):
for
i
in
range
(
nGpus
.
value
):
check_cuda_result
(
cuda
,
cuda
.
cuDeviceGet
(
ctypes
.
byref
(
device
),
i
))
check_cuda_result
(
cuda
,
cuda
.
cuDeviceGet
(
ctypes
.
byref
(
device
),
i
))
ref_major
=
ctypes
(
cc_major
)
ref_major
=
ctypes
.
byref
(
cc_major
)
ref_minor
=
ctypes
(
cc_minor
)
ref_minor
=
ctypes
.
byref
(
cc_minor
)
# 2. call extern C function to determine CC
# 2. call extern C function to determine CC
check_cuda_result
(
cuda
,
cuda
.
cuDeviceComputeCapability
(
ref_major
,
ref_minor
,
device
))
check_cuda_result
(
cuda
,
cuda
.
cuDeviceComputeCapability
(
ref_major
,
ref_minor
,
device
))
ccs
.
append
(
f
"
{
cc_major
.
value
}
.
{
cc_minor
.
value
}
"
)
ccs
.
append
(
f
"
{
cc_major
.
value
}
.
{
cc_minor
.
value
}
"
)
...
...
setup.py
View file @
e120c4a5
...
@@ -18,7 +18,7 @@ def read(fname):
...
@@ -18,7 +18,7 @@ def read(fname):
setup
(
setup
(
name
=
f
"bitsandbytes"
,
name
=
f
"bitsandbytes"
,
version
=
f
"0.31.
0
"
,
version
=
f
"0.31.
1
"
,
author
=
"Tim Dettmers"
,
author
=
"Tim Dettmers"
,
author_email
=
"dettmers@cs.washington.edu"
,
author_email
=
"dettmers@cs.washington.edu"
,
description
=
"8-bit optimizers and matrix multiplication routines."
,
description
=
"8-bit optimizers and matrix multiplication routines."
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment