Multi-backend refactor: Alpha release ( AMD ROCm ONLY ) #1339
Replies: 5 comments
-
Trying to install on ubuntu 22.06 rocm 6.1.2 and I can't pass the compilation with the following error: -- Configuring bitsandbytes (Backend: hip) CMake Error at /opt/rocm/lib/cmake/hip-lang/hip-lang-config.cmake:126 (message): |
Beta Was this translation helpful? Give feedback.
-
I have been using InvokeAI (version 5 now 😸). Installing the (on archlinux, rocm v6.2.1) |
Beta Was this translation helpful? Give feedback.
-
I have tried 5.7 python packages with rocm 6.0.2 official archlinux build - bitsandbytes failed followed AMD ROCM site instructions and checked out mutli-backend-refactor Why does it think rocm version as cuda version and HSA as compute capability isnt it confusing code. I have checked version checking init.py , it struggled finding tag and versioning for a while and then I have checked out latest commit and it somehow managed.
Could you help me out please ? I want to be able to use 8 Bit and 4 Bit Quantization function. pip packages:
Pacman packages:
|
Beta Was this translation helpful? Give feedback.
-
I recently came across this, not sure if it is helpful: https://github.com/ROCm/bitsandbytes |
Beta Was this translation helpful? Give feedback.
-
the command from the documentation: git clone --depth 1 -b multi-backend-refactor https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/ Generates this problem:
Using the command: git clone -b multi-backend-refactor https://github.com/bitsandbytes-foundation/bitsandbytes.git && cd bitsandbytes/ I can run the build. These are the commands I used for compilation:python3.11 -m venv venv
source venv/bin/activate
# torch 2.4.1
pip3 install torch --index-url https://download.pytorch.org/whl/rocm6.1
pip install -r requirements-dev.txt
cmake -DBNB_ROCM_ARCH="gfx1100" -DCOMPUTE_BACKEND=hip -S .
make -j16
pip install -e . python -m bitsandbytes:
rocminfo
|
Beta Was this translation helpful? Give feedback.
-
This space is intended to receive feedback from users that are willing to help us by alpha testing the current implementation of the AMD ROCm backend.
Issues to discuss could be
Thanks everyone for you kind support and please remember to have a constructive tone 🤗
Beta Was this translation helpful? Give feedback.
All reactions