forked from huggingface/optimum-intel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add INC WoQ and remove ITREX dependency (huggingface#880)
* add inc woq and remove itrex dependency Signed-off-by: changwangss <[email protected]> * Update optimum/intel/neural_compressor/modeling_base.py Co-authored-by: Ella Charlaix <[email protected]> * Update optimum/intel/neural_compressor/modeling_base.py Co-authored-by: Ella Charlaix <[email protected]> * Update optimum/intel/neural_compressor/modeling_base.py Co-authored-by: Ella Charlaix <[email protected]> * Update optimum/intel/neural_compressor/modeling_base.py Co-authored-by: Ella Charlaix <[email protected]> * fix code according comment Signed-off-by: changwangss <[email protected]> * add logger setting Signed-off-by: changwangss <[email protected]> * improve ut Signed-off-by: changwangss <[email protected]> * move woq quantization to quantization.py Signed-off-by: changwangss <[email protected]> * Update examples/neural_compressor/language-modeling/run_clm.py Co-authored-by: Ilyas Moutawwakil <[email protected]> * Update examples/neural_compressor/language-modeling/run_clm.py Co-authored-by: Ilyas Moutawwakil <[email protected]> * remove dependency Signed-off-by: changwangss <[email protected]> * Update examples/neural_compressor/language-modeling/run_clm.py * add woq saving and loading ut and logger info Signed-off-by: changwangss <[email protected]> * set transformers version limit Signed-off-by: changwangss <[email protected]> * fix installation neural_compressor[pt] Signed-off-by: changwangss <[email protected]> * improve ut Signed-off-by: changwangss <[email protected]> * refactoring * Refactor * revert * fix datasets loading issue Signed-off-by: changwangss <[email protected]> * fix --------- Signed-off-by: changwangss <[email protected]> Co-authored-by: Ella Charlaix <[email protected]> Co-authored-by: Ilyas Moutawwakil <[email protected]> Co-authored-by: Ella Charlaix <[email protected]>
- Loading branch information
1 parent
4dc4d57
commit 8a015a6
Showing
11 changed files
with
251 additions
and
277 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,4 @@ torch >= 1.9 | |
datasets >= 1.8.0 | ||
sentencepiece != 0.1.92 | ||
protobuf | ||
intel-extension-for-transformers >= 1.3 | ||
peft |
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
Oops, something went wrong.