iris
iris copied to clipboard
Fix matmul_reduce_scatter wrapper passing unsupported bias argument
Summary
OpsNamespace.matmul_reduce_scatter()was passingbiasas the 5th positional argument tomatmul_reduce_scatter(), which doesn't have abiasparameter- This shifted all arguments:
biasbecameasync_op,async_opbecameconfig, etc. - Calling
ctx.ops.matmul_reduce_scatter()raisedTypeError: matmul_reduce_scatter() takes from 4 to 7 positional arguments but 8 were given - Fix: remove
biasfrom the call, matching howmatmul_all_reducewrapper already works
Test plan
- [x] Existing tests pass (they import the function directly, bypassing the wrapper)
- [x] The wrapper now matches the underlying function signature
🤖 Generated with Claude Code