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

Remove cluster descriptor API from public #578

Closed
wants to merge 2 commits into from

Conversation

pjanevskiTT
Copy link
Contributor

Issue

Cluster descriptor create API always calls create-ethernet-map. This lib does not work for BH, UBB...This API should be moved from public and all calls should go through Cluster::create_cluster_descriptor.

Description

Only public accessible API for creating cluster descriptor from silicon should be Cluster::create_cluster_descriptor. Make all tests use this API and remove create-ethernet-map call from public API.

List of the changes

  • Move tt_ClusterDescriptor::create() from public
  • Make tests use Cluster API

Testing

CI

API Changes

tt_ClusterDescriptor::create() is not public anymore - switch all clients to Cluster::create_cluster_descriptor()

  • tt_metal PR - ?

@pjanevskiTT pjanevskiTT requested a review from broskoTT March 5, 2025 10:22
@pjanevskiTT pjanevskiTT self-assigned this Mar 5, 2025
@pjanevskiTT pjanevskiTT changed the title Hide create-ethernet-map call from public API Remove cluster descriptor create API from public Mar 5, 2025
@@ -98,7 +100,6 @@ class tt_ClusterDescriptor {
// get_cluster_descriptor_file_path will create ethernet map in the background.
static std::string get_cluster_descriptor_file_path();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't merge the PR until this is also moved to private. We have alternative for that in Cluster as well

@pjanevskiTT pjanevskiTT changed the title Remove cluster descriptor create API from public Remove cluster descriptor API from public Mar 6, 2025
@pjanevskiTT
Copy link
Contributor Author

Closing this in favour of upcoming UBB PR, this will hide evertything that is needed

@pjanevskiTT pjanevskiTT closed this Mar 7, 2025
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