iris icon indicating copy to clipboard operation
iris copied to clipboard

Fix matmul_reduce_scatter wrapper passing unsupported bias argument

Open mawad-amd opened this issue 7 months ago • 0 comments

Summary

  • OpsNamespace.matmul_reduce_scatter() was passing bias as the 5th positional argument to matmul_reduce_scatter(), which doesn't have a bias parameter
  • This shifted all arguments: bias became async_op, async_op became config, etc.
  • Calling ctx.ops.matmul_reduce_scatter() raised TypeError: matmul_reduce_scatter() takes from 4 to 7 positional arguments but 8 were given
  • Fix: remove bias from the call, matching how matmul_all_reduce wrapper 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

mawad-amd avatar May 02 '26 15:05 mawad-amd