ColossalAI
ColossalAI copied to clipboard
[BUG]: LazyInitContext can not initialize huggingface GPT model
🐛 Describe the bug
I use LazyInitContext to initialize a GPT model and then call ctx.lazy_init_parameters to initialize the model.
I encounter an assert error. So, right now, the model initialized by LazyInitContext can not be correctly initialized.
We will leave this bug for future research!
Environment
No response
https://github.com/hpcaitech/ColossalAI/pull/1897 https://github.com/hpcaitech/ColossalAI/pull/1937
We have updated a lot. This issue was closed due to inactivity. Thanks.