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

[Inference] Add support for large model via HDF5 model weight #82

Merged
merged 75 commits into from
Jul 8, 2021

Conversation

xingyaoww
Copy link
Contributor

@xingyaoww xingyaoww commented Jun 30, 2021

  • Support huggingface model export to HDF5 weights
  • Add support for loading HDF5 in inference module
  • Integrate HDF5 into CMakeLists
  • Update Dockerfile for HDF5 installation
  • Update build.md for HDF5 installation and build

@Taka152 Taka152 linked an issue Jun 30, 2021 that may be closed by this pull request
@xingyaoww xingyaoww marked this pull request as ready for review July 6, 2021 08:34
@xingyaoww xingyaoww changed the title [Inference Checkpoint] Add support for large model via HDF5 model weight [Inference] Add support for large model via HDF5 model weight Jul 6, 2021
Taka152
Taka152 previously approved these changes Jul 6, 2021
Copy link
Contributor

@Taka152 Taka152 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

examples/inference/python/utils.py Outdated Show resolved Hide resolved
@xingyaoww xingyaoww requested a review from Taka152 July 8, 2021 09:43
@Taka152 Taka152 merged commit 5ed3839 into bytedance:master Jul 8, 2021
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.

Gpt exceeds maximum protobuf size of 2GB: 3096122166
2 participants