Skip to content

Commit 225d9a5

Browse files
committed
remove is_contiguous
Signed-off-by: Randall Smith <[email protected]>
1 parent 9ae2e4c commit 225d9a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/layers/quantization/utils/fp8_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def w8a8_block_fp8_matmul(
472472
assert triton.cdiv(A.shape[-1], block_k) == As.shape[-1]
473473
M = A.numel() // A.shape[-1]
474474

475-
assert B.ndim == 2 and B.is_contiguous() and Bs.ndim == 2
475+
assert B.ndim == 2 and Bs.ndim == 2
476476
N, K = B.shape
477477
assert triton.cdiv(N, block_n) == Bs.shape[0]
478478
assert triton.cdiv(K, block_k) == Bs.shape[1]

0 commit comments

Comments
 (0)