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

[SYSTEMDS-3704] Resource-aware Linearizers #2197

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

Conversation

aeup
Copy link
Contributor

@aeup aeup commented Jan 30, 2025

This pull request adds two new linearizers for the LOP DAG linearization.
The linearizers focus on reducing the minimal memory requirement by scheduling the LOPs in a way that affects the memory requirement for live intermediates.

RESOURCE_AWARE_OPTIMAL uses a brute-force approach that generates the optimal sequence but requires a lot of time to compile which makes it impractical for larger algorithms and most real world use cases.
RESOURCE_AWARE_FAST uses a heuristic approach that does not always generate the optimal sequence but is a lot faster than the other approach. The linearizer can be used for tasks with large data sets, but there are also some cases where the compile time is larger than expected or the memory requirement is larger in comparison to other linearizer.

cc @mboehm7

aeup added 11 commits October 4, 2024 12:44
This commit adds a new linearizer. It is still work in progress. The focus of the new linearizer is on reducing the maximal memory usage. This commit implements the discovery functionality of the new linearizer. The scheduling is work in progress.
This commit adds a new linearizer. The focus of the new linearizer is on reducing the maximal memory usage by finding the permutation with the lowest memory requirement.
This commit finishes the WIP resource aware linearizer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant