Skip to content

In the flash attention RMSNorm and positional encoding pass, hoist the work that - #1040

Merged
copybara-service[bot] merged 1 commit into
devfrom
test_979182129
Sep 25, 2026
Merged

copybara-service[bot] merged 1 commit into
devfrom
test_979182129

Conversation

@copybara-service

Copy link
Copy Markdown

In the flash attention RMSNorm and positional encoding pass, hoist the work that
does not depend on the attention head out of the per-head loop: the token
position and the row index are now computed once per token.

Filter --gtest_* flags in gemma_test so it can run under a test runner that
passes them.

@copybara-service
copybara-service Bot force-pushed the test_979182129 branch 2 times, most recently from e05638c to 91f473e Compare September 25, 2026 13:19
…e work that

does not depend on the attention head out of the per-head loop: the token
position and the row index are now computed once per token.

Filter `--gtest_*` flags in `gemma_test` so it can run under a test runner that
passes them.

PiperOrigin-RevId: 988257504
@copybara-service
copybara-service Bot merged commit 3806ff7 into dev Sep 25, 2026
11 checks passed
@copybara-service
copybara-service Bot deleted the test_979182129 branch September 25, 2026 14:08
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