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

Multiple zero stage 3 related fixes #3886

Merged
merged 28 commits into from
Jul 28, 2023
Merged

Conversation

tjruwase
Copy link
Contributor

@tjruwase tjruwase commented Jul 5, 2023

  • zero.Init composition
  • Add missing tensor allocators: torch.randn, torch.tensor
  • Remove assert in overridden module.apply
  • module.apply override disabling option
    @stas00

TODO

  • module.apply override documentation
  • [ ]

@tjruwase tjruwase requested a review from tohtana July 25, 2023 22:06
Copy link
Contributor

@tohtana tohtana left a comment

Choose a reason for hiding this comment

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

Overall this looks good to me. I left a brief comment.

@tjruwase tjruwase added this pull request to the merge queue Jul 28, 2023
Merged via the queue into master with commit 7f90ef4 Jul 28, 2023
polisettyvarma pushed a commit to polisettyvarma/DeepSpeed that referenced this pull request Aug 7, 2023
* Option to override module apply

* Removing early partitioning in override

* Unit tests

* Cleanup

* Adapt unit test to succeed

* Handle missed params

* Add accelerate

* Code cleanup

* Add doc

* Add doc

* Add doc
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