Skip to content

Extend CompressAndTransposeQueriesMatrixAccumulationImpl and - #1007

Merged
copybara-service[bot] merged 1 commit into
devfrom
test_975094440
Sep 3, 2026
Merged

Extend CompressAndTransposeQueriesMatrixAccumulationImpl and#1007
copybara-service[bot] merged 1 commit into
devfrom
test_975094440

Conversation

@copybara-service

Copy link
Copy Markdown

Extend CompressAndTransposeQueriesMatrixAccumulationImpl and
CompressAndQuantizeQueriesMatrixAccumulationInt8Impl in gemma_cpp
to support queries provided as BF16 in addition to float.

Also update AbsMaxOfSpan to support BF16 inputs by promoting lower
and upper vector halves to float in registers, computing absolute
values, and reducing to the maximum float.

@copybara-service
copybara-service Bot force-pushed the test_975094440 branch 3 times, most recently from 01c50f9 to 0ac0678 Compare September 3, 2026 09:23
CompressAndQuantizeQueriesMatrixAccumulationInt8Impl in gemma_cpp
to support queries provided as BF16 in addition to float.

Also update AbsMaxOfSpan to support BF16 inputs by promoting lower
and upper vector halves to float in registers, computing absolute
values, and reducing to the maximum float.

PiperOrigin-RevId: 975615108
@copybara-service
copybara-service Bot merged commit f153c3b into dev Sep 3, 2026
6 checks passed
@copybara-service
copybara-service Bot deleted the test_975094440 branch September 3, 2026 09:44
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