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

[zero] add constant placement policy #1705

Merged
merged 18 commits into from
Oct 14, 2022
Merged

[zero] add constant placement policy #1705

merged 18 commits into from
Oct 14, 2022

Conversation

1SAA
Copy link
Contributor

@1SAA 1SAA commented Oct 14, 2022

What does this pr do?

  • fixes memory leak when paramter is in fp16 in ZeroDDP init.
  • bans chunk releasement in CUDA. Only when a chunk is about to offload, it is allowed to release.
  • adds a constant placement policy. With it, users can allocate a reserved caching memory space for parameters.

@1SAA 1SAA merged commit 1468e4b into hpcaitech:main Oct 14, 2022
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.

2 participants