You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question about leading dimension handling for quantization scales in cuBLASLt matmul #305
I have a question regarding how to handle leading dimensions for quantization scales in cuBLASLtMatmul when the input matrices are not tightly packed.
Suppose the leading dimensions of matrices A and B are larger than their logical sizes (M, N, K), i.e., they are strided / padded layouts rather than contiguous M×K or K×N.
Hi @Haoyan-Ma. Thanks for the question and apologies for a delayed response.
Currently — yes, the scales are expected to be contiguous in memory.
No, there is no support for leading dimension.
Not completely sure if I understood the question. Scaling factor dimensions are computed based on M, N and K matmul arguments and do not take leading dimensions of A and B into account.
Let me k know if you have any additional questions.
Activity
rsdubtso commentedon Feb 18, 2026
Hi @Haoyan-Ma. Thanks for the question and apologies for a delayed response.
Currently — yes, the scales are expected to be contiguous in memory.
No, there is no support for leading dimension.
Not completely sure if I understood the question. Scaling factor dimensions are computed based on M, N and K matmul arguments and do not take leading dimensions of A and B into account.
Let me k know if you have any additional questions.
Haoyan-Ma commentedon Feb 24, 2026
Thank you for the clarification and no worries about the delay.