Skip to content

Commit

Permalink
bump to 028 (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
casper-hansen authored Jan 20, 2025
1 parent c51df25 commit 16335d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion awq/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.2.7.post3"
__version__ = "0.2.8"
from awq.models.auto import AutoAWQForCausalLM
17 changes: 4 additions & 13 deletions scripts/download_wheels.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 16335d0

Please sign in to comment.