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

Merged
copybara-service[bot] merged 1 commit into
devfrom
test_976294440
Sep 8, 2026

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.

@copybara-service
copybara-service Bot force-pushed the test_976294440 branch 6 times, most recently from 2768324 to 030a7d1 Compare September 8, 2026 14:59
…signed-by-signed (uint8 * int8) matrix multiplication for SV accumulation, improving quantization precision. Add SIMD emulation fallback using SumOfMulQuadAccumulate and TableLookupBytes.

PiperOrigin-RevId: 977934533
@copybara-service
copybara-service Bot merged commit 824b1b8 into dev Sep 8, 2026
11 checks passed
@copybara-service
copybara-service Bot deleted the test_976294440 branch September 8, 2026 15:45
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.

1 participant