-
Notifications
You must be signed in to change notification settings - Fork 602
Create a MemoryPlanningAlgo class. #11824
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11824
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 New Failures, 4 PendingAs of commit c610a30 with merge base da36d8a ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D76954785 |
9e9ffb5
to
4f94e1f
Compare
Summary: Refactor our memory planning algos into a `MemoryPlanningAlgo` base class + algo-specific implementation in derived class. This refactor separates common utility functions + constraint handling to the base class. This way, we can add support for hierarchical graphs (using maps), and add more types of constraints (like pinning a tensor to specific dtcm bank) without changing the algo itself. Reviewed By: zonglinpeng Differential Revision: D76954785
Summary: Pull Request resolved: pytorch#11824 Refactor our memory planning algos into a `MemoryPlanningAlgo` base class + algo-specific implementation in derived class. This refactor separates common utility functions + constraint handling to the base class. This way, we can add support for hierarchical graphs (using maps), and add more types of constraints (like pinning a tensor to specific dtcm bank) without changing the algo itself. Reviewed By: zonglinpeng Differential Revision: D76954785
4f94e1f
to
a10c00e
Compare
This pull request was exported from Phabricator. Differential Revision: D76954785 |
Summary: Refactor our memory planning algos into a `MemoryPlanningAlgo` base class + algo-specific implementation in derived class. This refactor separates common utility functions + constraint handling to the base class. This way, we can add support for hierarchical graphs (using maps), and add more types of constraints (like pinning a tensor to specific dtcm bank) without changing the algo itself. Reviewed By: zonglinpeng Differential Revision: D76954785
a10c00e
to
5c536ab
Compare
This pull request was exported from Phabricator. Differential Revision: D76954785 |
Summary: Refactor our memory planning algos into a `MemoryPlanningAlgo` base class + algo-specific implementation in derived class. This refactor separates common utility functions + constraint handling to the base class. This way, we can add support for hierarchical graphs (using maps), and add more types of constraints (like pinning a tensor to specific dtcm bank) without changing the algo itself. Reviewed By: zonglinpeng Differential Revision: D76954785
5c536ab
to
c610a30
Compare
This pull request was exported from Phabricator. Differential Revision: D76954785 |
Summary:
Refactor our memory planning algos into a
MemoryPlanningAlgo
base class + algo-specific implementation in derived class. This refactor separates common utility functions + constraint handling to the base class.This way, we can add support for hierarchical graphs (using maps), and add more types of constraints (like pinning a tensor to specific dtcm bank) without changing the algo itself.
Differential Revision: D76954785