mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00

https://github.com/google/jax/pull/22211 forbade custom lowering rules from returning singleton tuples of ir.Value, but this appears to break downstream users, notably Transformer Engine. Instead, allow lowering rules to return singleton tuples and unwrap them if needed, but warn if this behavior is seen. PiperOrigin-RevId: 650345051