Skip to content

Conversation

@copybara-service
Copy link

Avoid tracer leak in jax.lax.cond by providing the arguments explicitly.

This should fix issues with tracer leaks with the TGLFNN-UKAEA model while still allowing the use of cached_properties.

This fixes issue #1939

This should fix issues with tracer leaks with the TGLFNN-UKAEA model while still allowing the use of cached_properties.

This fixes issue #1939

PiperOrigin-RevId: 861826504
copybara-service bot pushed a commit that referenced this pull request Jan 27, 2026
We found a better solution (#1945) to the tracer leak that will allow us to use cached_properties. Given that solution, we can revert this change.

PiperOrigin-RevId: 861824572
@copybara-service copybara-service bot mentioned this pull request Jan 27, 2026
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