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

Faster state dict loading #1051

Merged
merged 1 commit into from May 23, 2023
Merged

Faster state dict loading #1051

merged 1 commit into from May 23, 2023

Conversation

dfalbel
Copy link
Member

@dfalbel dfalbel commented May 23, 2023

Add another version of pickle_read that supports reading directly from paths, making it faster for reasonable sized files and use less memory.

The old option is kept under legacy_stream argument, so it's easy to go back if required for some use cases.

…m paths, making it faster for reasonable sized files and use less memory.
@dfalbel dfalbel added the lantern Use this label if your PR affects lantern so it's built in the CI label May 23, 2023
@dfalbel dfalbel merged commit 1bb3737 into main May 23, 2023
14 of 18 checks passed
@dfalbel dfalbel deleted the pickle_read branch May 23, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lantern Use this label if your PR affects lantern so it's built in the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant