Skip to content

how to get the parameters of model after using ZeroInitContext to init zero #1839

Discussion options

You must be logged in to vote

https://github.com/hpcaitech/ColossalAI/blob/main/examples/language/gpt/train_gpt_demo.py
hello, can you refer this example to use ZeRO.
The ZeroInitContext is an old API, we will not maintain it anymore.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Lyn-Lucy
Comment options

@Lyn-Lucy
Comment options

Answer selected by Lyn-Lucy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants