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

Include binarized model in the wheels #7

Merged
merged 8 commits into from
Oct 31, 2024
Merged

Include binarized model in the wheels #7

merged 8 commits into from
Oct 31, 2024

Conversation

ZJaume
Copy link
Owner

@ZJaume ZJaume commented Oct 29, 2024

This separates the language model into a subpackage that is compiled before the main package. Then the main package build script binarizes the model during compilation and saves it to platlib path, so it is included in the wheel and unpacked during pip installation. With this, users won't need to download the model and the python package manager will keep track of the files (replacing them during future updates and removing them if package is uninstalled). Which I think it is a much cleaner approach.

@ZJaume ZJaume force-pushed the wheel_models branch 3 times, most recently from e278f91 to 43ec902 Compare October 31, 2024 12:45
@ZJaume ZJaume merged commit 12c77ee into dev Oct 31, 2024
3 checks passed
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.

1 participant