-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable ipex patching for v2.3 (#725)
* ipex 2.3 released * skip tests * skip testing without pkv * add tests skip * only llama2 with at least 64 head size support IAKV * cannot assert same outputs cause do_sample=True * rm tiny-llama model testing cause it not work for IAKV * fix code style * fix style * rm tiny llama on test pipeline * fix tests * support use_cache=False * rm use_cache in model_kwargs * set use_cache * Update optimum/intel/ipex/modeling_base.py Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com> * fix spelling error * fix style * add transformers version warning * add compare resultes * add warning * set pad_token_id * limited transformers * fix transformers version * update transformers version * fix version * temporary fix for multi-query model * fix code styke * add transformers version tests * Update .github/workflows/test_ipex.yml Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com> * check geenration method * Update optimum/intel/ipex/modeling_base.py Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com> * fix use_cache * add hidden size limitation for patch * add llama in tests * add re-load tests * fix hidden size check * rm norm config * add version variable * fix import * rm useless logger * rm useless logging * fix last round review * Update .github/workflows/test_ipex.yml * Update optimum/intel/ipex/modeling_base.py * Update optimum/intel/ipex/modeling_base.py * Update setup.py * Update optimum/exporters/ipex/modeling_utils.py * fix * limit the new tokens of assisted decoding tests --------- Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
- Loading branch information
1 parent
d5dbb3d
commit f06f504
Showing
6 changed files
with
164 additions
and
56 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
Oops, something went wrong.