From 16335d087dd4f9cdc8933dd7a5681e4bf88311b6 Mon Sep 17 00:00:00 2001 From: Casper Date: Mon, 20 Jan 2025 11:43:03 +0100 Subject: [PATCH] bump to 028 (#700) --- awq/__init__.py | 2 +- scripts/download_wheels.sh | 17 ++++------------- setup.py | 2 +- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/awq/__init__.py b/awq/__init__.py index 0397ef31..f2b1045f 100644 --- a/awq/__init__.py +++ b/awq/__init__.py @@ -1,2 +1,2 @@ -__version__ = "0.2.7.post3" +__version__ = "0.2.8" from awq.models.auto import AutoAWQForCausalLM diff --git a/scripts/download_wheels.sh b/scripts/download_wheels.sh index d1bd9e08..c3b81092 100644 --- a/scripts/download_wheels.sh +++ b/scripts/download_wheels.sh @@ -1,20 +1,11 @@ #!/bin/bash # Set variables -AWQ_VERSION="0.2.7.post3" -RELEASE_URL="https://api.github.com/repos/casper-hansen/AutoAWQ/releases/tags/v${AWQ_VERSION}" +AWQ_VERSION="0.2.8" +RELEASE_URL="https://github.com/casper-hansen/AutoAWQ/archive/refs/tags/v${AWQ_VERSION}.tar.gz" # Create a directory to download the wheels mkdir -p dist -cd dist -# Download all the wheel files from the GitHub release -# excluding ones with '+cu' (%2B is + but encoded) -curl -s $RELEASE_URL | \ - jq -r ".assets[].browser_download_url" | \ - grep '\.whl' | \ - grep -v '%2Bcu' | \ - grep -v '%2Brocm' | \ - xargs -n 1 -P 4 wget - -cd .. +# Download the tar.gz file to dist directory +wget -O "dist/v${AWQ_VERSION}.tar.gz" $RELEASE_URL \ No newline at end of file diff --git a/setup.py b/setup.py index 5c1bd6b3..de8dfa94 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from pathlib import Path from setuptools import setup, find_packages -AUTOAWQ_VERSION = "0.2.7.post3" +AUTOAWQ_VERSION = "0.2.8" TORCH_VERSION = str(os.getenv("TORCH_VERSION", None) or torch.__version__).split('+', maxsplit=1)[0] common_setup_kwargs = {