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

[WIP]Add AutoOffloadingPass #1306

Closed
wants to merge 4 commits into from
Closed

[WIP]Add AutoOffloadingPass #1306

wants to merge 4 commits into from

Conversation

Yancey1989
Copy link
Collaborator

@Yancey1989 Yancey1989 commented Jun 28, 2024

this PR added a offloading pass to offloading a large live range buffer to the host and reloading to device at the right place to reduce the memory peak.
benchmark on part training graph, this pass reduced 32% peak memory:
image

@Yancey1989
Copy link
Collaborator Author

moved to #1313

@Yancey1989 Yancey1989 closed this Aug 20, 2024
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