-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make cluster_id deterministic (#334)
### Issue No issue ### Description Related to tenstorrent/tt-metal#15411 While working on it, I realised that cluster_id can take whichever chip_id. This change makes it deterministic, and choose always the smallest one ### List of the changes - Always chose smallest number in set for cluster_id - Wrote a test which failed before this change - Minor other changes in test to make it not segfault on machine without cards. ### Testing Wrote a new CI test ### API Changes There are no API changes in this PR.
- Loading branch information
Showing
3 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters