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

Always unwrap single-key state dicts #206

Merged
merged 1 commit into from
Mar 23, 2024
Merged

Always unwrap single-key state dicts #206

merged 1 commit into from
Mar 23, 2024

Conversation

RunDevelopment
Copy link
Member

This implements Joey's idea:

To potentially support more things that do that, could we check if the top level keys length is 1, and if that key contains a dict? If so, then unwrap it, regardless of what it is

@joeyballentine joeyballentine merged commit 56b4fbc into main Mar 23, 2024
8 checks passed
@joeyballentine joeyballentine deleted the unwrap-key branch March 23, 2024 01:05
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

Successfully merging this pull request may close these issues.

2 participants