Skip to content

Conversation

@Purfview
Copy link
Contributor

@Purfview Purfview commented Jan 18, 2026

Enable multiple of 16 padding for INT8 Tensor Cores.
Re-enable INT8 for sm120 - Blackwell GPUs ( revert #1937 )
Thanks @sssshhhhhh for the hint. 👍

Closes: #1981 #1865

INT8 padding was disabled in #332 for reason it appears padding to a multiple of 16 does not help.
I guess, "does not help" meant that padding didn't increase performance.

Tests:
Tested older GPU (Turing) with INT8 Tensor Cores: vocab (n[fw]) is padded, no change in performance (as I remember, ~4% of GEMM calls needed padding).
I don't have Blackwell GPU at hand to test, but the padding should fix "CUBLAS_STATUS_NOT_SUPPORTED" error.

@Purfview
Copy link
Contributor Author

Confirmed that it works on RTX 5060 Ti: #1981 (comment)

@easyfab
Copy link

easyfab commented Jan 21, 2026

Does the new CUDA Release 13.1 Update 1 fix this problem or is it another issue ?

from release notes :

Fixed an issue where cublasLtMatmul with FP8 arguments and CUBLASLT_MATMUL_MATRIX_SCALE_SCALAR_32F scaling mode (default) incorrectly required scaling factor addresses to be 16-byte aligned. This issue existed since cuBLAS 12.9. [5728938]

@Purfview
Copy link
Contributor Author

@easyfab This is another issue.

@jordimas jordimas merged commit ec0821c into OpenNMT:master Jan 21, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

INT8 not allowed on RTX 5060 Ti

3 participants