Skip to content

Make InterpolatedVarSingleAxis a PyTree.#1327

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_775675478
Jul 3, 2025
Merged

Make InterpolatedVarSingleAxis a PyTree.#1327
copybara-service[bot] merged 1 commit intomainfrom
test_775675478

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Jun 25, 2025

Make InterpolatedVarSingleAxis a PyTree.

This is to prepare for making the GeometryProviders PyTrees.

Moved the sorting checks in the two classes to the beginning of the container and make JIT compatible.

Speed check on iterhybrid_rampup has no timing change with/without TORAX_ERRORS_ENABLED.

@copybara-service copybara-service bot force-pushed the test_775675478 branch 3 times, most recently from 39d7af8 to 62bb6f3 Compare June 25, 2025 15:40
@copybara-service copybara-service bot force-pushed the test_775675478 branch 3 times, most recently from ef7830b to 6266d52 Compare July 3, 2025 11:50
This is to prepare for making the `GeometryProvider`s PyTrees.

Moved the sorting checks in the two classes to the beginning of the container and make JIT compatible.

Speed check on iterhybrid_rampup has no timing change with/without TORAX_ERRORS_ENABLED.

PiperOrigin-RevId: 778849606
@copybara-service copybara-service bot merged commit 6c98186 into main Jul 3, 2025
@copybara-service copybara-service bot deleted the test_775675478 branch July 3, 2025 11:57
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