Updates README and CHANGELOG.
This commit is contained in:
parent
89e3b82731
commit
eb1c331c84
|
@ -204,14 +204,20 @@ Improvements:
|
||||||
|
|
||||||
### 0.38.0
|
### 0.38.0
|
||||||
|
|
||||||
#### 8-bit Lion, Load/Store 8-bit layers
|
#### 8-bit Lion, Load/Store 8-bit Models directly from/to HF Hub
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
- Support for 32 and 8-bit Lion has been added. Thank you @lucidrains
|
- Support for 32 and 8-bit Lion has been added. Thank you @lucidrains
|
||||||
- Support for serialization of Linear8bitLt layers (LLM.int8()). This allows to store and load 8-bit weights directly from the HuggingFace Hub. Thank you @myrab
|
- Support for serialization of Linear8bitLt layers (LLM.int8()). This allows to store and load 8-bit weights directly from the HuggingFace Hub. Thank you @myrab
|
||||||
|
- New bug report features `python -m bitsandbytes` now gives extensive debugging details to debug CUDA setup failures.
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
- Fixed a bug where some bitsandbytes methods failed in a model-parallel setup on multiple GPUs. Thank you @tonylins
|
- Fixed a bug where some bitsandbytes methods failed in a model-parallel setup on multiple GPUs. Thank you @tonylins
|
||||||
|
- Fixed a bug where cudart.so libraries could not be found in newer PyTorch releases.
|
||||||
|
|
||||||
|
Improvements:
|
||||||
|
- Improved the CUDA Setup procedure by doing a more extensive search for CUDA libraries
|
||||||
|
|
||||||
Deprecated:
|
Deprecated:
|
||||||
- Devices with compute capability 3.0 (GTX 700s, K10) and 3.2 (Tegra K1, Jetson TK1) are now deprecated and support will be removed in 0.39.0.
|
- Devices with compute capability 3.0 (GTX 700s, K10) and 3.2 (Tegra K1, Jetson TK1) are now deprecated and support will be removed in 0.39.0.
|
||||||
|
- Support for CUDA 10.0 and 10.2 will be removed in bitsandbytes 0.39.0
|
||||||
|
|
|
@ -148,7 +148,7 @@ To compile from source, you need an installation of CUDA. If `nvcc` is not insta
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/TimDettmers/bitsandbytes/main/cuda_install.sh
|
wget https://raw.githubusercontent.com/TimDettmers/bitsandbytes/main/cuda_install.sh
|
||||||
# Syntax cuda_install CUDA_VERSION INSTALL_PREFIX EXPORT_TO_BASH
|
# Syntax cuda_install CUDA_VERSION INSTALL_PREFIX EXPORT_TO_BASH
|
||||||
# CUDA_VERSION in {110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121}
|
# CUDA_VERSION in {110, 111, 112, 113, 114, 115, 116, 117, 118, 120, 121}
|
||||||
# EXPORT_TO_BASH in {0, 1} with 0=False and 1=True
|
# EXPORT_TO_BASH in {0, 1} with 0=False and 1=True
|
||||||
|
|
||||||
# For example, the following installs CUDA 11.8 to ~/local/cuda-11.8 and exports the path to your .bashrc
|
# For example, the following installs CUDA 11.8 to ~/local/cuda-11.8 and exports the path to your .bashrc
|
||||||
|
|
|
@ -11,7 +11,7 @@ You can install CUDA locally without sudo by following the following steps:
|
||||||
```bash
|
```bash
|
||||||
wget https://raw.githubusercontent.com/TimDettmers/bitsandbytes/main/cuda_install.sh
|
wget https://raw.githubusercontent.com/TimDettmers/bitsandbytes/main/cuda_install.sh
|
||||||
# Syntax cuda_install CUDA_VERSION INSTALL_PREFIX EXPORT_TO_BASH
|
# Syntax cuda_install CUDA_VERSION INSTALL_PREFIX EXPORT_TO_BASH
|
||||||
# CUDA_VERSION in {110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121}
|
# CUDA_VERSION in {110, 111, 112, 113, 114, 115, 116, 117, 118, 120, 121}
|
||||||
# EXPORT_TO_BASH in {0, 1} with 0=False and 1=True
|
# EXPORT_TO_BASH in {0, 1} with 0=False and 1=True
|
||||||
|
|
||||||
# For example, the following installs CUDA 11.7 to ~/local/cuda-11.7 and exports the path to your .bashrc
|
# For example, the following installs CUDA 11.7 to ~/local/cuda-11.7 and exports the path to your .bashrc
|
||||||
|
|
|
@ -77,7 +77,7 @@ FILE=$(basename $URL)
|
||||||
if [[ -n "$CUDA_VERSION" ]]; then
|
if [[ -n "$CUDA_VERSION" ]]; then
|
||||||
echo $URL
|
echo $URL
|
||||||
echo $FILE
|
echo $FILE
|
||||||
wget $URL
|
#wget $URL
|
||||||
bash $FILE --no-drm --no-man-page --override --toolkitpath=$BASE_PATH/$FOLDER/ --toolkit --silent
|
bash $FILE --no-drm --no-man-page --override --toolkitpath=$BASE_PATH/$FOLDER/ --toolkit --silent
|
||||||
if [ "$EXPORT_BASHRC" -eq "1" ]; then
|
if [ "$EXPORT_BASHRC" -eq "1" ]; then
|
||||||
echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$BASE_PATH/$FOLDER/lib64" >> ~/.bashrc
|
echo "export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:$BASE_PATH/$FOLDER/lib64" >> ~/.bashrc
|
||||||
|
|
|
@ -10,8 +10,8 @@ if [[ ! -z "${LD_LIBRARY_PATH}" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
module unload cuda
|
module unload cuda && echo "no module function available. Probably not on a slurm cluster."
|
||||||
module unload gcc
|
module unload gcc && echo "no module function available. Probably not on a slurm cluster."
|
||||||
|
|
||||||
rm -rf dist build
|
rm -rf dist build
|
||||||
make cleaneggs
|
make cleaneggs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user