Skip to content

Quantize softmax probabilities S into [0, 255] uint8_t and utilize unsigned-by-signed (uint8 * int8) matrix multiplication for SV accumulation, improving quantization precision. Add SIMD emulation fallback using SumOfMulQuadAccumulate and TableLookupBytes. - #1013

Open
copybara-service[bot] wants to merge 1 commit into
devfrom
test_976294440

Conversation

@copybara-service

Copy link
Copy Markdown

Quantize softmax probabilities S into [0, 255] uint8_t and utilize unsigned-by-signed (uint8 * int8) matrix multiplication for SV accumulation, improving quantization precision. Add SIMD emulation fallback using SumOfMulQuadAccumulate and TableLookupBytes.

…signed-by-signed (uint8 * int8) matrix multiplication for SV accumulation, improving quantization precision. Add SIMD emulation fallback using SumOfMulQuadAccumulate and TableLookupBytes.

PiperOrigin-RevId: 976294440
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.

0 participants