-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c51df25
commit 16335d0
Showing
3 changed files
with
6 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters