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
change
sglang
Commits
0a3960f2
Unverified
Commit
0a3960f2
authored
Mar 12, 2025
by
Yineng Zhang
Committed by
GitHub
Mar 12, 2025
Browse files
fix awq_dequantize (#4333)
parent
07f94463
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sgl-kernel/python/sgl_kernel/gemm.py
sgl-kernel/python/sgl_kernel/gemm.py
+1
-1
No files found.
sgl-kernel/python/sgl_kernel/gemm.py
View file @
0a3960f2
...
...
@@ -7,7 +7,7 @@ from sgl_kernel.utils import _get_cache_buf, get_cuda_stream
def
awq_dequantize
(
qweight
:
torch
.
Tensor
,
scales
:
torch
.
Tensor
,
qzeros
:
torch
.
Tensor
)
->
torch
.
ByteTensor
:
return
torch
.
ops
.
sgl_kernel
s
.
awq_dequantize
(
qweight
,
scales
,
qzeros
)
return
torch
.
ops
.
sgl_kernel
.
awq_dequantize
(
qweight
,
scales
,
qzeros
)
def
int8_scaled_mm
(
mat_a
,
mat_b
,
scales_a
,
scales_b
,
out_dtype
,
bias
=
None
):
...
...
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