Initial support for ppc64le#1316
Conversation
Signed-off-by: mgiessing <marvin.giessing@gmail.com>
|
Thanks @mgiessing! I am not sure that we'll be able to commit to distributing binary wheels for ppc64le, but certainly welcome source compatibility! I'll do some quick regression testing on this over the next couple days, but at first glance it looks good! PowerPC support was deprecated in CUDA 12.4 and removed in 12.5. However my understanding is that there's still many AC922 systems with V100 GPUs out there, and maybe even some Power8 S822LC with P100s, so to add context and further advocate: Example operational supercomputers: Just a reference note: relates to #652 |
|
Thanks a lot @matthewdouglas! Btw. I figured out I had to rename the ## System: AC922 // CUDA 12.2 // RHEL8.9
# Create bnb environment and install dependencies via mamba/conda and rocketce channel
micromamba create -n bnb \
-c rocketce \
-c defaults \
python=3.10 \
pytorch==2.1.2 \
pandas \
scipy \
matplotlib && micromamba clean --all --yes
micromamba activate bnb
#Install remaining depenedencies via pypi
pip3 install lion-pytorch wheel einops pytest setuptools>=63 transformers accelerate
git clone https://github.com/mgiessing/bitsandbytes
export PATH=$PATH:/usr/local/cuda/bin
cmake -DCMAKE_CUDA_ARCHITECTURES=70 -DCOMPUTE_BACKEND=cuda -S .
make -j$(nproc)
pip install -e .
cp bitsandbytes/libbitsandbytes*.so bitsandbytes/libbitsandbytes_cuda122_nocublaslt.so
#Simple test to check if it works
python3 -m bitsandbytes |
|
If you add |
Signed-off-by: mgiessing <marvin.giessing@gmail.com>
Initial support for PowerPC architecture following the design pattern introduced by the aarch64 PR