Skip to content

Commit

Permalink
Changed from testpypi to pypi. Release 0.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDettmers committed Oct 7, 2021
1 parent 7439924 commit 7923c4a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 27 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ Features:
v0.0.24:

- Fixed a bug where a float/half conversion led to a compilation error for CUDA 11.1 on Turning GPUs.
- removed Apex dependency for bnb LAMB
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ $(BUILD_DIR):

$(ROOT_DIR)/dependencies/cub:
git clone https://github.com/NVlabs/cub $(ROOT_DIR)/dependencies/cub
cd dependencies/cub; git checkout 1.11.0

clean:
rm cuda_build/* ./bitsandbytes/libbitsandbytes.so
Expand Down
1 change: 0 additions & 1 deletion bitsandbytes/optim/lamb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import apex
from bitsandbytes.optim.optimizer import Optimizer2State

class LAMB(Optimizer2State):
Expand Down
13 changes: 0 additions & 13 deletions deploy.sh

This file was deleted.

16 changes: 8 additions & 8 deletions deploy_from_slurm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module load gcc/7.3.0
CUDA_HOME=/public/apps/cuda/9.2
make
CUDA_VERSION=92 python -m build
python -m twine upload --repository testpypi dist/* --verbose
python -m twine upload dist/* --verbose
module unload cuda


Expand All @@ -21,7 +21,7 @@ module load cuda/10.0
CUDA_HOME=/public/apps/cuda/10.0
make cuda10x
CUDA_VERSION=100 python -m build
python -m twine upload --repository testpypi dist/* --verbose
python -m twine upload dist/* --verbose
module unload cuda
module unload gcc
module load gcc/8.4
Expand All @@ -33,7 +33,7 @@ module load cuda/10.1
CUDA_HOME=/public/apps/cuda/10.1
make cuda10x
CUDA_VERSION=101 python -m build
python -m twine upload --repository testpypi dist/* --verbose
python -m twine upload dist/* --verbose
module unload cuda

rm -rf dist build
Expand All @@ -43,7 +43,7 @@ module load cuda/10.2
CUDA_HOME=/public/apps/cuda/10.2/
make cuda10x
CUDA_VERSION=102 python -m build
python -m twine upload --repository testpypi dist/* --verbose
python -m twine upload dist/* --verbose
module unload cuda


Expand All @@ -54,7 +54,7 @@ module load cuda/11.0
CUDA_HOME=/public/apps/cuda/11.0
make cuda110
CUDA_VERSION=110 python -m build
python -m twine upload --repository testpypi dist/* --verbose
python -m twine upload dist/* --verbose
module unload cuda

rm -rf dist build
Expand All @@ -64,7 +64,7 @@ module load cuda/11.1
CUDA_HOME=/public/apps/cuda/11.1
make cuda11x
CUDA_VERSION=111 python -m build
python -m twine upload --repository testpypi dist/* --verbose
python -m twine upload dist/* --verbose
module unload cuda

rm -rf dist build
Expand All @@ -74,13 +74,13 @@ module load cuda/11.2
CUDA_HOME=/public/apps/cuda/11.2
make cuda11x
CUDA_VERSION=112 python -m build
python -m twine upload --repository testpypi dist/* --verbose
python -m twine upload dist/* --verbose
module unload cuda

rm -rf dist build
make clean
make cleaneggs
CUDA_HOME=/private/home/timdettmers/git/autoswap/local/cuda-11.3 make cuda11x
CUDA_VERSION=113 python -m build
python -m twine upload --repository testpypi dist/* --verbose
python -m twine upload dist/* --verbose
module unload cuda
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ def read(fname):

setup(
name = f"bitsandbytes-cuda{os.environ['CUDA_VERSION']}",
version = "0.0.23",
version = "0.0.24",
author = "Tim Dettmers",
author_email = "tim.dettmers@gmail.com",
description = ("Numpy-like library for GPUs."),
author_email = "dettmers@cs.washington.edu",
description = ("8-bit optimizers and quantization routines."),
license = "MIT",
keywords = "gpu",
keywords = "gpu optimizers optimization 8-bit quantization compression",
url = "http://packages.python.org/bitsandbytes",
packages=find_packages(),
package_data={'': ['libbitsandbytes.so']},
long_description=read('README.md'),
long_description_content_type = 'text/markdown',
classifiers=[
"Development Status :: 1 - Planning",
"Development Status :: 4 - Beta",
'Topic :: Scientific/Engineering :: Artificial Intelligence'
],
)
Expand Down

0 comments on commit 7923c4a

Please sign in to comment.