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_kernels
Commits
8714b16c
Unverified
Commit
8714b16c
authored
Feb 16, 2024
by
Casper
Committed by
GitHub
Feb 16, 2024
Browse files
bump to 0.0.5 (#11)
parent
2cae2907
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
scripts/download_wheels.sh
scripts/download_wheels.sh
+1
-1
setup.py
setup.py
+1
-1
No files found.
scripts/download_wheels.sh
View file @
8714b16c
#!/bin/bash
#!/bin/bash
# Set variables
# Set variables
AWQ_KERNELS_VERSION
=
"0.0.
3
"
AWQ_KERNELS_VERSION
=
"0.0.
5
"
RELEASE_URL
=
"https://api.github.com/repos/casper-hansen/AutoAWQ_kernels/releases/tags/v
${
AWQ_KERNELS_VERSION
}
"
RELEASE_URL
=
"https://api.github.com/repos/casper-hansen/AutoAWQ_kernels/releases/tags/v
${
AWQ_KERNELS_VERSION
}
"
# Create a directory to download the wheels
# Create a directory to download the wheels
...
...
setup.py
View file @
8714b16c
...
@@ -7,7 +7,7 @@ from torch.utils.cpp_extension import BuildExtension, CUDAExtension
...
@@ -7,7 +7,7 @@ from torch.utils.cpp_extension import BuildExtension, CUDAExtension
os
.
environ
[
"CC"
]
=
"g++"
os
.
environ
[
"CC"
]
=
"g++"
os
.
environ
[
"CXX"
]
=
"g++"
os
.
environ
[
"CXX"
]
=
"g++"
AUTOAWQ_KERNELS_VERSION
=
"0.0.
4
"
AUTOAWQ_KERNELS_VERSION
=
"0.0.
5
"
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
ROCM_VERSION
=
os
.
environ
.
get
(
"ROCM_VERSION"
,
None
)
or
torch
.
version
.
hip
ROCM_VERSION
=
os
.
environ
.
get
(
"ROCM_VERSION"
,
None
)
or
torch
.
version
.
hip
...
...
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