Skip to content

Conversation

copybara-service[bot]
Copy link

[Pallas] Add pl.get_global for global semaphore allocations

This pattern is meant to replace the pl.run_scoped with collective axes that include all the grid axes. Each call to pl.get_global in the body returns a unique allocation, but one that is consistent across all invocations of the body.

@copybara-service copybara-service bot force-pushed the test_817117838 branch 2 times, most recently from 9ef5a51 to 40672d7 Compare October 10, 2025 08:57
This pattern is meant to replace the pl.run_scoped with collective axes that include all the grid axes. Each call to pl.get_global in the body returns a unique allocation, but one that is consistent across all invocations of the body.

PiperOrigin-RevId: 817551439
@copybara-service copybara-service bot merged commit 274f9bb into main Oct 10, 2025
@copybara-service copybara-service bot deleted the test_817117838 branch October 10, 2025 09:34
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