Skip to content

Conversation

copybara-service[bot]
Copy link

[JAX] Add jax_check_ifrt_user_context config and enable it for JAX tests

When JAX config jax_check_ifrt_user_context is true, JAX will require some xla::ifrt::UserContext to be set up for IFRT values and executables when wrapping them as JAX objects.

This replaces -DIFRT_REQUIRE_USER_CONTEXT for checking
if IFRT user context setups is done correctly.

…tests

When JAX config `jax_check_ifrt_user_context` is true, JAX will require some `xla::ifrt::UserContext` to be set up for IFRT values and executables when wrapping them as JAX objects.

This replaces `-DIFRT_REQUIRE_USER_CONTEXT` for checking
if IFRT user context setups is done correctly.

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