[Misc] Clean sgl-kernel test (#5216)
This commit is contained in:
1 parent
d050df368c
commit
ed01b4515e
8 files changed
+63
-76
No files matched your search
@@ -304,10 +304,10 @@ def test_per_token_group_quant_with_column_major(
|
||||
scale_tma_aligned=scale_tma_aligned,
|
||||
)
|
||||
|
||||
assert torch.allclose(
|
||||
torch.testing.assert_close(
|
||||
x_q_triton.to(torch.float32), x_q_sglang.to(torch.float32), rtol=1e-3, atol=1e-5
|
||||
)
|
||||
assert torch.allclose(
|
||||
torch.testing.assert_close(
|
||||
x_s_triton.contiguous(), x_s_sglang.contiguous(), rtol=1e-3, atol=1e-5
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user