Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
26513bb5
Commit
26513bb5
authored
Dec 03, 2024
by
gaoqiong
Browse files
修改cutlass 单测
parent
1a9775b8
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
242 additions
and
230 deletions
+242
-230
tests/kernels/test_cutlass.py
tests/kernels/test_cutlass.py
+240
-229
vllm/_custom_ops.py
vllm/_custom_ops.py
+2
-1
No files found.
tests/kernels/test_cutlass.py
View file @
26513bb5
This diff is collapsed.
Click to expand it.
vllm/_custom_ops.py
View file @
26513bb5
...
...
@@ -706,7 +706,8 @@ def cutlass_scaled_mm(a: torch.Tensor,
# torch.ops._C.cutlass_scaled_mm(out, a, b, scale_a, scale_b, bias)
# return out
return
quant_ops
.
cutlass_scaled_mm
(
a
,
b
,
scale_a
,
scale_b
,
out_dtype
,
bias
)
#return quant_ops.cutlass_scaled_mm(a, b, scale_a, scale_b, out_dtype, bias)
return
quant_ops
.
rocblas_scaled_mm_nn
(
a
,
b
,
scale_a
,
scale_b
,
out_dtype
,
bias
)
def
rocblas_scaled_mm
(
a
:
torch
.
Tensor
,
b
:
torch
.
Tensor
,
...
...
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