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
91c7518d
Unverified
Commit
91c7518d
authored
Aug 15, 2023
by
rasbt
Browse files
add version attribute as per Python convention
parent
18e827d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
bitsandbytes/__init__.py
bitsandbytes/__init__.py
+2
-0
setup.py
setup.py
+4
-1
No files found.
bitsandbytes/__init__.py
View file @
91c7518d
...
@@ -24,4 +24,6 @@ __pdoc__ = {
...
@@ -24,4 +24,6 @@ __pdoc__ = {
"optim.optimizer.MockArgs"
:
False
,
"optim.optimizer.MockArgs"
:
False
,
}
}
__version__
=
"0.41.1"
PACKAGE_GITHUB_URL
=
"https://github.com/TimDettmers/bitsandbytes"
PACKAGE_GITHUB_URL
=
"https://github.com/TimDettmers/bitsandbytes"
setup.py
View file @
91c7518d
...
@@ -6,6 +6,9 @@ import glob
...
@@ -6,6 +6,9 @@ import glob
import
os
import
os
from
setuptools
import
find_packages
,
setup
from
setuptools
import
find_packages
,
setup
import
bitsandbytes
as
bnb
VERSION
=
bnb
.
__version__
libs
=
list
(
glob
.
glob
(
"./bitsandbytes/libbitsandbytes*.so"
))
libs
=
list
(
glob
.
glob
(
"./bitsandbytes/libbitsandbytes*.so"
))
libs
=
[
os
.
path
.
basename
(
p
)
for
p
in
libs
]
libs
=
[
os
.
path
.
basename
(
p
)
for
p
in
libs
]
...
@@ -18,7 +21,7 @@ def read(fname):
...
@@ -18,7 +21,7 @@ def read(fname):
setup
(
setup
(
name
=
f
"bitsandbytes"
,
name
=
f
"bitsandbytes"
,
version
=
f
"0.41.1"
,
version
=
VERSION
,
author
=
"Tim Dettmers"
,
author
=
"Tim Dettmers"
,
author_email
=
"dettmers@cs.washington.edu"
,
author_email
=
"dettmers@cs.washington.edu"
,
description
=
"k-bit optimizers and matrix multiplication routines."
,
description
=
"k-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