From 042f6acbd437d618bfb7790d74c60102de3fe4b2 Mon Sep 17 00:00:00 2001 From: Yong Wu Date: Mon, 1 Sep 2025 00:00:47 +0000 Subject: [PATCH] fix: Remove redundant CHECK_CONTIGUOUS for SFA/SFB --- csrc/gemm_groupwise_sm120.cu | 5 ----- 1 file changed, 5 deletions(-) diff --git a/csrc/gemm_groupwise_sm120.cu b/csrc/gemm_groupwise_sm120.cu index a434325a1a..c3e4ca3acf 100644 --- a/csrc/gemm_groupwise_sm120.cu +++ b/csrc/gemm_groupwise_sm120.cu @@ -89,11 +89,6 @@ void CutlassGemmGroupwiseScaledSM120(TensorView float_workspace_buffer, TensorVi cudaSetDevice(float_workspace_buffer->device.device_id); auto stream = get_stream(C->device); - // Ensure scales are contiguous - // Note: We keep the original shape and let the kernel's layout handle interpretation - CHECK_CONTIGUOUS(SFA); - CHECK_CONTIGUOUS(SFB); - DISPATCH_SCALE_MAJOR_K(scale_major_mode, SCALE_MAJOR_K, [&] { return DISPATCH_DLPACK_INPUT_OUTPUT_DTYPE(A->dtype, C->dtype, c_type_in, c_type_out, [&] { return DISPATCH_SCALE_GRANULARITY(