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

Support wildcard for source files in convert utilities #399

Merged
merged 2 commits into from
Jul 2, 2023

Conversation

guillaume-be
Copy link
Owner

  • Support wildcard for source file name in the conversion tool. Inputs now supported:
    • single file
    • list of files
    • single pattern
    • list of patterns
  • Weights are now offloaded to the numpy output file at the end of each pytorch file parsed to limit memory footprint

The matching files will be opened and appended to a single Rust-compatible set of weights (.ot).
Fixes #342

@guillaume-be guillaume-be merged commit 107fb21 into main Jul 2, 2023
11 checks passed
@guillaume-be guillaume-be deleted the convert_wildcard_support branch July 2, 2023 07:36
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.

How to convert/load large models
1 participant