Skip to content

Async save state_dict to file#171

Merged
zkh2016 merged 2 commits into
OpenBMB:devfrom
zkh2016:async_save_to_file
Sep 27, 2023
Merged

Async save state_dict to file#171
zkh2016 merged 2 commits into
OpenBMB:devfrom
zkh2016:async_save_to_file

Conversation

@zkh2016

@zkh2016 zkh2016 commented Sep 26, 2023

Copy link
Copy Markdown
Collaborator

Pull Request Template

Issue Reference

Please mention the issue number if applicable, or write "N/A" if it's a new feature.

将save的内存到文件过程异步处理,减少训练等待存文件的时间。

Issue #...

Description

Please describe your changes in detail. If it resolves an issue, please state how it resolves it.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Additional Information

Any additional information, configuration, or data that might be necessary for the review.

@zkh2016
zkh2016 requested a review from Achazwl September 26, 2023 11:12
@zkh2016
zkh2016 merged commit 290386a into OpenBMB:dev Sep 27, 2023
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