-
Notifications
You must be signed in to change notification settings - Fork 308
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
UQFF: The uniquely powerful quantized file format. #770
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code Metrics Report=============================================================================== Language Files Lines Code Comments Blanks =============================================================================== C Header 2 35 28 0 7 Dockerfile 1 34 25 0 9 Happy 1 442 369 0 73 JSON 12 105 104 0 1 Python 47 2043 1741 62 240 TOML 20 600 539 2 59 YAML 2 21 19 2 0 ------------------------------------------------------------------------------- Jupyter Notebooks 4 0 0 0 0 |- Markdown 2 77 32 31 14 |- Python 2 196 169 1 26 (Total) 273 201 32 40 ------------------------------------------------------------------------------- Markdown 30 2085 0 1585 500 |- BASH 5 101 98 0 3 |- JSON 1 12 12 0 0 |- Python 5 92 82 0 10 |- Rust 7 442 396 22 24 |- TOML 2 75 63 0 12 (Total) 2807 651 1607 549 ------------------------------------------------------------------------------- Rust 203 63009 57195 1157 4657 |- Markdown 104 961 13 896 52 (Total) 63970 57208 2053 4709 =============================================================================== Total 323 68374 60020 2808 5546 =============================================================================== |
RUST_BACKTRACE=1 cargo run --features cuda -- -i plain -m microsoft/Phi-3.5-mini-instruct --load-isq out.safetensors |
EricLBuehler
changed the title
Serializing and deserializing ISQ artifacts
UQFF: The uniquely powerful quantized file format.
Sep 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A major limitation of ISQ right now is that it is ephemeral: the tensors must be requantized on every run.
To solve this, this PR enables saving and loading ISQ artifacts into safetensors files.
Progress