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

keep original data_deps while resolving graph #149

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

changhai0109
Copy link
Contributor

Target Issue #148

Summary

One of the future works on astrasim about memory requires getting the original data dependency from the workload. However, in the current implementation of ETFeeder the original data_deps will be mutated for recording dependency resolving. Here we introduce a duplication of data_deps called unresolved_data_deps which is specifically used for dependency resolving. This way we can keep original data_deps during resolving for purples of memory analysis.

Test Plan

Test it with AstraSIM run/example

@changhai0109 changhai0109 added the enhancement New feature or request label Aug 20, 2024
@changhai0109 changhai0109 self-assigned this Aug 20, 2024
@changhai0109 changhai0109 requested a review from a team as a code owner August 20, 2024 16:29
Copy link

github-actions bot commented Aug 20, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@changhai0109 changhai0109 linked an issue Aug 20, 2024 that may be closed by this pull request
Copy link
Contributor

@JoongunPark JoongunPark left a comment

Choose a reason for hiding this comment

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

Thank you for you PR @changhai0109.
I agree with you that ASTRA-Sim needs this update.
Please check my comments!

src/feeder/et_feeder_node.h Show resolved Hide resolved
src/feeder/et_feeder.cpp Show resolved Hide resolved
@JoongunPark
Copy link
Contributor

Hi @changhai0109,
Thank you for resolving my questions!

May I request, you to ensure that the code passes all checks (File formatting, tests, etc.)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

keep original data_deps while resolving graph
2 participants