-
Notifications
You must be signed in to change notification settings - Fork 111
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
[UMD] Remove usage of outdated UMD apis #17645
Merged
Merged
Conversation
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
broskoTT
commented
Feb 6, 2025
This was referenced Feb 7, 2025
abhullar-tt
approved these changes
Feb 19, 2025
4ee3370
to
bf36301
Compare
broskoTT
added a commit
that referenced
this pull request
Feb 24, 2025
…17707) ### Ticket Related to #17002 ### Problem description A couple of leftover usages of old soc descriptor API. After this and other PRs from this set, tt-metal will finally build with harvesting code completely removed from tt::umd::Cluster and members of tt_SocDescriptor made private, so that all usages are forced through get_cores() and other APIs. Related PRs: #17620 #17642 #17645 #17674 #17678 ### What's changed - .dram_cores changed with get_cores_for_dram_channel - dram_cores.size() changed with get_grid_size - replace .workers and .ethernet_cores from tlb_config with get_cores ### Checklist - [x] All post-commit tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197621962 - [x] Newest All post-commit tests : https://github.com/tenstorrent/tt-metal/actions/runs/13499189013 - [x] Blackhole post-commit tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197623746 - [ ] (Single-card) Model perf tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197626137 - [ ] (Single-card) Device perf regressions : https://github.com/tenstorrent/tt-metal/actions/runs/13197628487 - [ ] (T3K) T3000 unit tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197630092 - [ ] (T3K) T3000 demo tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197632086 - [ ] (TG) TG unit tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197633394 - [ ] (TG) TG demo tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197635275 - [x] (TGG) TGG unit tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197637219 - [x] (TGG) TGG demo tests : https://github.com/tenstorrent/tt-metal/actions/runs/13197639736
broskoTT
added a commit
to tenstorrent/tt-umd
that referenced
this pull request
Feb 25, 2025
### Issue Part of #248 ### Description This map usage is removed from tt-metal. Alternative is to get_target_device_ids and then get_soc_descriptor() ### List of the changes - Removed get_virtual_soc_descriptors - Added specific get_soc_descriptor to mockup and simulation - Change all relevant usages ### Testing Existing CI tests ### API Changes There will be no breaking API changes after this one is merged: tenstorrent/tt-metal#17645
broskoTT
added a commit
to tenstorrent/tt-umd
that referenced
this pull request
Feb 27, 2025
### Issue Last one for #439 ### Description Finally removing old harvesting code. All the tt_metal's usages have been moved to the new soc_descriptor and core_coordinate_manager apis. ### List of the changes - Remove using_harvested_soc_descriptors, get_harvesting_masks_for_soc_descriptors and translate_to_noc_table_coords functions, and performed_harvesting, harvested_rows_per_target, translation_tables_en from the public cluster API - Remove harvesting code from Cluster with many internal functions - move old soc_descriptor structures to be private. - Adjust tests accordingly - Added noc_translation public member to soc_descriptor. Verify that the one passed through constructor and through soc_descriptor matches. This code should be improved. ### Testing Code builds ### API Changes There are no breaking API changes in this PR. Related metal PRs prior to this change: tenstorrent/tt-metal#17003 tenstorrent/tt-metal#17306 tenstorrent/tt-metal#17543 tenstorrent/tt-metal#17620 tenstorrent/tt-metal#17642 tenstorrent/tt-metal#17645 tenstorrent/tt-metal#17674 tenstorrent/tt-metal#17678 tenstorrent/tt-metal#17707
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
Related to #17002
Problem description
Alter some APIs and remove some usages.
What's changed
Checklist