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

Integration ZeroDDP and ShardedModelv2 from colossal AI #96

Open
dongsungkim opened this issue Nov 6, 2022 · 1 comment
Open

Integration ZeroDDP and ShardedModelv2 from colossal AI #96

dongsungkim opened this issue Nov 6, 2022 · 1 comment
Assignees

Comments

@dongsungkim
Copy link
Member

dongsungkim commented Nov 6, 2022

Describe a TODO feature

There are two version of Zero support from ZeroDDP and ShardedModelv2

  1. check the possibility to merge two into one
  2. Otherwise, it has a function to choose one of them based on the flag (not shown to users directly)

Assignees

  • Dongsung and Hyen
@hyeinhyun hyeinhyun self-assigned this Nov 7, 2022
@hyeinhyun
Copy link

https://github.com/hpcaitech/ColossalAI/blob/6e51d296f07c0ad34d7f85cf9a70d4ceee15ede7/colossalai/zero/sharded_optim/low_level_optim.py#L29

There is updates about Zero-DP in Colossal AI.
Zero 1 -> Low_level_optimizer
Zero 2 -> Low_level_optimizer (partitioned gradient =True)
Zero 3 -> Sharded optimizer v2, sharded modelV2

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

No branches or pull requests

2 participants