Skip to content

Enable performance gain by batching small update tensors.#1618

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_878942519
Open

Enable performance gain by batching small update tensors.#1618
copybara-service[bot] wants to merge 1 commit intomainfrom
test_878942519

Conversation

@copybara-service
Copy link

Enable performance gain by batching small update tensors.
By setting vmap_optimization_threshold=220, the model will batch smaller than 220 updates and orthogonalize them in parallel, gaining better utilization of the accelerators.

@google-cla
Copy link

google-cla bot commented Mar 5, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service bot force-pushed the test_878942519 branch 4 times, most recently from 4278a06 to a0b4ce6 Compare March 5, 2026 15:05
By setting vmap_optimization_threshold=2**20, the model will batch smaller than 2**20 updates and orthogonalize them in parallel, gaining better utilization of the accelerators.

PiperOrigin-RevId: 878942519
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