Skip to content

Commit 16335d0

Browse files
bump to 028 (#700)
1 parent c51df25 commit 16335d0

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

awq/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = "0.2.7.post3"
1+
__version__ = "0.2.8"
22
from awq.models.auto import AutoAWQForCausalLM

scripts/download_wheels.sh

+4-13
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
#!/bin/bash
22

33
# Set variables
4-
AWQ_VERSION="0.2.7.post3"
5-
RELEASE_URL="https://api.github.com/repos/casper-hansen/AutoAWQ/releases/tags/v${AWQ_VERSION}"
4+
AWQ_VERSION="0.2.8"
5+
RELEASE_URL="https://github.com/casper-hansen/AutoAWQ/archive/refs/tags/v${AWQ_VERSION}.tar.gz"
66

77
# Create a directory to download the wheels
88
mkdir -p dist
9-
cd dist
109

11-
# Download all the wheel files from the GitHub release
12-
# excluding ones with '+cu' (%2B is + but encoded)
13-
curl -s $RELEASE_URL | \
14-
jq -r ".assets[].browser_download_url" | \
15-
grep '\.whl' | \
16-
grep -v '%2Bcu' | \
17-
grep -v '%2Brocm' | \
18-
xargs -n 1 -P 4 wget
19-
20-
cd ..
10+
# Download the tar.gz file to dist directory
11+
wget -O "dist/v${AWQ_VERSION}.tar.gz" $RELEASE_URL

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from pathlib import Path
44
from setuptools import setup, find_packages
55

6-
AUTOAWQ_VERSION = "0.2.7.post3"
6+
AUTOAWQ_VERSION = "0.2.8"
77
TORCH_VERSION = str(os.getenv("TORCH_VERSION", None) or torch.__version__).split('+', maxsplit=1)[0]
88

99
common_setup_kwargs = {

0 commit comments

Comments
 (0)