-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OV] Move data-driven quantization after model export for text-genera…
…tion models (#721) * Add quantization with dataset after model export for text-generation models * Tweak AWQ CLI interface * Additional checks * Fix * Trigger Build * Add AWQ description * Add trust remote code argument * Black * Add note about possibility of skipping AWQ * Removed saving to temporary directory; added core property handling for OVModelForCausalLM * Revert "Removed saving to temporary directory; added core property handling for OVModelForCausalLM" This reverts commit bcc4665. * Add saving intermediate weights in fp16; add removal of intermediate model if compression fails * Trigger checks * Trigger checks * Trigger checks * Fix test * Refactor applying quantization with dataset * Bring back quantization_config parameter * Trigger checks * Apply comment * Save tokenizer * Export CausalLM tokenizer * Remove unneccessary if * Remove extra variable * ruff * Ruff 2 * Introduce a separate function to tokenizer conversion * Black
- Loading branch information
1 parent
f06f504
commit 6888c0a
Showing
5 changed files
with
134 additions
and
74 deletions.
There are no files selected for viewing
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
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
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
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
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