Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
AutoAWQ
Commits
0fa9a2c1
Unverified
Commit
0fa9a2c1
authored
Mar 24, 2024
by
Casper
Committed by
GitHub
Mar 24, 2024
Browse files
Bump to v0.2.4 (#409)
parent
0f942181
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
awq/__init__.py
awq/__init__.py
+1
-1
scripts/download_wheels.sh
scripts/download_wheels.sh
+1
-1
setup.py
setup.py
+1
-1
No files found.
awq/__init__.py
View file @
0fa9a2c1
__version__
=
"0.2.
3
"
__version__
=
"0.2.
4
"
from
awq.models.auto
import
AutoAWQForCausalLM
from
awq.models.auto
import
AutoAWQForCausalLM
scripts/download_wheels.sh
View file @
0fa9a2c1
#!/bin/bash
#!/bin/bash
# Set variables
# Set variables
AWQ_VERSION
=
"0.2.
3
"
AWQ_VERSION
=
"0.2.
4
"
RELEASE_URL
=
"https://api.github.com/repos/casper-hansen/AutoAWQ/releases/tags/v
${
AWQ_VERSION
}
"
RELEASE_URL
=
"https://api.github.com/repos/casper-hansen/AutoAWQ/releases/tags/v
${
AWQ_VERSION
}
"
# Create a directory to download the wheels
# Create a directory to download the wheels
...
...
setup.py
View file @
0fa9a2c1
...
@@ -31,7 +31,7 @@ def get_kernels_whl_url(
...
@@ -31,7 +31,7 @@ def get_kernels_whl_url(
return
f
"https://github.com/casper-hansen/AutoAWQ_kernels/releases/download/v
{
release_version
}
/autoawq_kernels-
{
release_version
}
+
{
gpu_system_version
}
-cp
{
python_version
}
-cp
{
python_version
}
-
{
platform
}
_
{
architecture
}
.whl"
return
f
"https://github.com/casper-hansen/AutoAWQ_kernels/releases/download/v
{
release_version
}
/autoawq_kernels-
{
release_version
}
+
{
gpu_system_version
}
-cp
{
python_version
}
-cp
{
python_version
}
-
{
platform
}
_
{
architecture
}
.whl"
AUTOAWQ_VERSION
=
"0.2.
3
"
AUTOAWQ_VERSION
=
"0.2.
4
"
PYPI_BUILD
=
os
.
getenv
(
"PYPI_BUILD"
,
"0"
)
==
"1"
PYPI_BUILD
=
os
.
getenv
(
"PYPI_BUILD"
,
"0"
)
==
"1"
CUDA_VERSION
=
os
.
getenv
(
"CUDA_VERSION"
,
None
)
or
torch
.
version
.
cuda
CUDA_VERSION
=
os
.
getenv
(
"CUDA_VERSION"
,
None
)
or
torch
.
version
.
cuda
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment