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
7bfe923c
Commit
7bfe923c
authored
Aug 11, 2025
by
Matthew Douglas
Browse files
Restore temporary changes from release
parent
9088107f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
12 deletions
+20
-12
.github/workflows/python-package.yml
.github/workflows/python-package.yml
+1
-2
README.md
README.md
+9
-9
bitsandbytes/__init__.py
bitsandbytes/__init__.py
+10
-0
pyproject.toml
pyproject.toml
+0
-1
No files found.
.github/workflows/python-package.yml
View file @
7bfe923c
...
...
@@ -104,7 +104,6 @@ jobs:
retention-days
:
7
build-shared-libs-rocm
:
if
:
false
# Temporarily disabled
strategy
:
matrix
:
os
:
[
ubuntu-22.04
]
...
...
@@ -152,7 +151,7 @@ jobs:
needs
:
-
build-shared-libs
-
build-shared-libs-cuda
#
- build-shared-libs-rocm
-
build-shared-libs-rocm
strategy
:
matrix
:
os
:
[
ubuntu-22.04
,
ubuntu-22.04-arm
,
windows-latest
,
macos-latest
]
...
...
README.md
View file @
7bfe923c
...
...
@@ -73,9 +73,9 @@ bitsandbytes has the following minimum requirements for all platforms:
CDNA: gfx90a, gfx942
<br>
RDNA: gfx1100
</td>
<td>
🚧
</td>
<td>
🚧
</td>
<td>
🚧
</td>
<td>
✅
</td>
<td>
〰️
</td>
<td>
✅
</td>
</tr>
<tr>
<td></td>
...
...
@@ -85,16 +85,16 @@ bitsandbytes has the following minimum requirements for all platforms:
Arc A-Series (Alchemist)
<br>
Arc B-Series (Battlemage)
</td>
<td>
🚧
</td>
<td>
🚧
</td>
<td>
✅
</td>
<td>
✅
</td>
<td>
🚧
</td>
</tr>
<tr>
<td></td>
<td>
🟪 Intel Gaudi
<br><code>
hpu
</code></td>
<td>
Gaudi1, Gaudi2, Gaudi3
</td>
<td>
🚧
</td>
<td>
🚧
</td>
<td>
✅
</td>
<td>
〰️
</td>
<td>
❌
</td>
</tr>
<tr>
...
...
@@ -139,8 +139,8 @@ bitsandbytes has the following minimum requirements for all platforms:
Arc A-Series (Alchemist)
<br>
Arc B-Series (Battlemage)
</td>
<td>
🚧
</td>
<td>
🚧
</td>
<td>
✅
</td>
<td>
✅
</td>
<td>
🚧
</td>
</tr>
<tr>
...
...
bitsandbytes/__init__.py
View file @
7bfe923c
...
...
@@ -35,6 +35,16 @@ supported_torch_devices = {
if
torch
.
cuda
.
is_available
():
from
.backends.cuda
import
ops
as
cuda_ops
if
hasattr
(
torch
,
"xpu"
)
and
torch
.
xpu
.
is_available
():
from
.backends.xpu
import
ops
as
xpu_ops
if
importlib
.
util
.
find_spec
(
"habana_frameworks"
)
and
importlib
.
util
.
find_spec
(
"habana_frameworks.torch"
):
# In case not automatically imported
import
habana_frameworks.torch
if
hasattr
(
torch
,
"hpu"
)
and
torch
.
hpu
.
is_available
():
from
.backends.hpu
import
ops
as
hpu_ops
def
_import_backends
():
"""
...
...
pyproject.toml
View file @
7bfe923c
...
...
@@ -74,7 +74,6 @@ test = [
package-data
=
{
"*"
=
["libbitsandbytes*.*"]
}
[tool.setuptools.packages.find]
exclude
=
[
"*backends.xpu"
,
"*backends.hpu"
,
"*backends.triton"
]
include
=
["bitsandbytes*"]
[tool.setuptools.dynamic]
...
...
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