Can't find the matched layer names when restore_from nemo file #8264
Unanswered
wangzhongruo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I use the following code to restore the parameters from a nemo file:
But it provides the error like the following:
My guess is the layer name is not matched up so it can't be copied to the initialized MegatronGPTModel.
May I ask is there anyway we can get the layer names from an initialized MegatronGPTModel?
I tried methods like
model.named_parameters()
or 'model.modules()', they all doesn't work.Beta Was this translation helpful? Give feedback.
All reactions