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

Change tt::umd::Cluster constructor #15454

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

broskoTT
Copy link
Contributor

@broskoTT broskoTT commented Nov 26, 2024

Ticket

Related to #13948

Problem description

Related umd changes:
tenstorrent/tt-umd#277
tenstorrent/tt-umd#333

What's changed

  • Use tt::umd::Cluster constructor which uses less arguments
  • Remove cluster_desc_path from usage, UMD clients don't have to know about cluster descriptor

Checklist

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

@@ -139,7 +135,7 @@ void Cluster::generate_cluster_descriptor() {
this->cluster_desc_ =
tt_ClusterDescriptor::create_for_grayskull_cluster(logical_mmio_device_ids, physical_mmio_device_ids);
} else {
this->cluster_desc_ = tt_ClusterDescriptor::create_from_yaml(this->cluster_desc_path_);
this->cluster_desc_ = tt_ClusterDescriptor::create();
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ clang-diagnostic-error ⚠️
no member named create in tt_ClusterDescriptor

@broskoTT broskoTT marked this pull request as ready for review November 28, 2024 08:18
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