HLO Broadcast with decreasing broadcast_dimensions issues #13871
apivovarov
started this conversation in
General
Replies: 1 comment 2 replies
-
Got reply from Benjamin Chetioui @bchetioui It shouldn't be! As you can see on the page describing the semantics of broadcasting, XLA expects that "The order of broadcast dimensions must be strictly increasing.", matching the semantics of JAX. Kevin, Sandeep, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I faced the following issues with hlo Broadcast Operation in case when
broadcast_dimensions
are in decreasing order (swapped)Issue 1 - Jax does not support it - broadcast_dimensions must be strictly increasing:
Issue 2 -
run_hlo_module
validation failed. CPU and the Interpreter outputs are differentQuestions:
xla/service/hlo_verifier.cc
to check thatbroadcast->dimensions()
are in increasing order?Beta Was this translation helpful? Give feedback.
All reactions