-
Notifications
You must be signed in to change notification settings - Fork 96
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
Adding CCL Async test cases to TG nightly and bug fix #16700
Conversation
…assignment + teardown
tests/ttnn/unit_tests/operations/ccl/test_all_gather_async_TG_nightly.py
Outdated
Show resolved
Hide resolved
tests/ttnn/unit_tests/operations/ccl/test_all_gather_async_TG_nightly.py
Outdated
Show resolved
Hide resolved
tests/ttnn/unit_tests/operations/ccl/test_reduce_scatter_async_TG_nightly.py
Outdated
Show resolved
Hide resolved
if enable_persistent_fabric: | ||
ttnn.synchronize_devices(mesh_device, sub_device_ids=sub_device_stall_group) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this added for debug or what's the purpose of this? Should be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed for multi-iteration to prevent race condition, when persistent fabric is enabled. One device might get too fast and increment the semaphore on the slow device for the next call of ccl before the slow device reset the semaphore for previous iteration. There seems to be no good way to prevent it at the moment unless a sync is introduced or a new global semaphore is used every time (but that's essentially a sync).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something that should be documented for consumers of the API? Seems like an important detail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a separate issue from #16634?
Overview
Known Issues
Several issues are exposed in CCLs by these test cases. These failing ones are commented out for now:
Checklist