Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify JIT of transport model to be defined on hash of TransportModel so that subsequent simulations hit cache. #903

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

copybara-service[bot]
Copy link

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

Modify JIT of transport model to be defined on hash of TransportModel so that subsequent simulations hit cache.

Also:

  • remove jitted_transport_model from step function as this will be cache missed in subsequent simulations.
  • remove inner JIT from qlknn_transport_model as this is now covered by the JIT on call.

Otherwise this misses a lookup as the function is defined on an object by id.

@copybara-service copybara-service bot force-pushed the test_739945207 branch 7 times, most recently from 8c3d118 to 33d08c9 Compare March 28, 2025 11:35
… so that subsequent simulations hit cache.

Also:
- remove jitted_transport_model from step function as this will be cache missed in subsequent simulations.
- remove inner JIT from qlknn_transport_model as this is now covered by the JIT on __call__.

Otherwise this misses a lookup as the function is defined on an object by id.

PiperOrigin-RevId: 741482176
@copybara-service copybara-service bot merged commit f7e295b into main Mar 28, 2025
@copybara-service copybara-service bot deleted the test_739945207 branch March 28, 2025 11:46
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.

None yet

1 participant