Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new test cases for the all_gather CCL op #2372

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hkwonTT
Copy link

@hkwonTT hkwonTT commented Mar 5, 2025

Ticket

#2368

Problem description

We have only basic silicon tests with all_gather operation.

What's changed

Add new test cases for the all_gather CCL op

  • Test with various all_gather_dim attributes.
  • Test with various input tensor ranks.
  • Test with increased input tensor dimensions.
  • Test with both fp32 and bf16.

Tests with tensors that are not multiples of the tile size were not included. They cannot be run with the runtime due to this issue: tenstorrent/tt-metal#16870. These testcases will be updated when the runtime issue resolved.

All tests executed successfully, and their outputs matched the golden results from torch distributed.

Checklist

  • New/Existing tests provide coverage for changes

hkwonTT added 2 commits March 5, 2025 18:54
  - Test with various all_gather_dim attributes.
  - Test with various input tensor ranks.
  - Test with fp32 and bf16.
      - Test with increased dimension on gathered/non-gathered axis
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.

1 participant