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

Missing key(s) in state_dict #6

Closed
epetros opened this issue Jul 6, 2020 · 4 comments
Closed

Missing key(s) in state_dict #6

epetros opened this issue Jul 6, 2020 · 4 comments

Comments

@epetros
Copy link

epetros commented Jul 6, 2020

Greetings,
Previously was able to save and load checkpoints, but today I get:
RuntimeError: Error(s) in loading state_dict for AutoregressiveWrapper:
Missing key(s) in state_dict: "net.net.routing_transformer.layers.blocks.0.f.net.fn.local_attn.rel_pos.weights", "net.net.routing_transformer.layers.blocks.1.f.net.fn.local_attn.rel_pos.weights", "net.net.routing_transformer.layers.blocks.2.f.net.fn.local_attn.rel_pos.weights", "net.net.routing_transformer.layers.blocks.3.f.net.fn.local_attn.rel_pos.weights", "net.net.routing_transformer.layers.blocks.4.f.net.fn.local_attn.rel_pos.weights", "net.net.routing_transformer.layers.blocks.5.f.net.fn.local_attn.rel_pos.weights", "net.net.routing_transformer.layers.blocks.6.f.net.fn.local_attn.rel_pos.weights", "net.net.routing_transformer.layers.blocks.7.f.net.fn.local_attn.rel_pos.weights".

Help please,
Thanks

@lucidrains
Copy link
Owner

@epetros oops, it's been fixed in the latest my bad f6ce3bb how is Routing Transformer working for you? well??

@epetros
Copy link
Author

epetros commented Jul 7, 2020

Thank you, but I still face the same issue, works only with v0.8.4. Am using enwik8_deepspeed with my own dataset, seems to be very fast and loss is decreasing but guess it's still early (loss ~0.9) to get nice generation results.

@lucidrains
Copy link
Owner

@epetros fixed for real now lol 1341f69

@epetros
Copy link
Author

epetros commented Jul 8, 2020

It's fixed, thanks.

@epetros epetros closed this as completed Jul 8, 2020
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