Disable INT8 for sm120 - Blackwell GPUs #1937
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #1865
I debugged the issue a bit, observed the
CUBLAS_STATUS_NOT_SUPPORTEDerror only whenn[fw] is not multiple by 4 and somem[fw] values [I didn't noticed a pattern withm].[Note:
ldc=n[fw] andn/mare swapped in CT2's call to GEMM]The cuBLAS docs doesn't say that
morldcshould be divisible by 4, it only recommends it for performance:I guess, NVIDIA dropped some kernels for sm120, and now cublasGemmEx() fails when
n[fw] % 4 ≠ 0 and somem[fw] (batch * sequence_length) combination.In some calls to GEMM,
n[fw]=vocab[whisper]. In multilingual models vocab is 51865 or 51866[v3] - not divisible by 4.Sure way to reproduce the error - use
word_timestamps=True.Should be reproducible with
word_timestamps=Falseand highbeam_size, for example 24. [not tested]I think
word_timestampsis irrelevant to reproduce in batched mode. [not tested]