Skip to content

Conversation

@jaweed3
Copy link

@jaweed3 jaweed3 commented Feb 2, 2026

Description:

This PR introduces initial support for jax.lax.gather by mapping it to ov::op::v8::GatherND.

Details:

  • Implemented translate_gather logic in src/frontends/jax/src/op/gather.cpp.
  • Registered the operation in src/frontends/jax/src/op_table.cpp.
  • Added comprehensive layer tests in tests/layer_tests/jax_tests/test_gather.py.

Note on Precision: 7/8 test cases pass with standard epsilon. I have temporarily relaxed the epsilon to 1e-2 for test_gather to account for a minor precision mismatch (~0.001 diff in FP32) in this initial implementation. Further tuning for complex dimension_numbers is planned.

Tickets:
Resolves #26575

Implements basic mapping to GatherND. 7/8 tests passing with standard eps. Relaxed epsilon for initial PR.
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.

[Good First Issue][JAX FE]: Support jax.lax.gather operation for JAX

1 participant