-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove position_ids generation in IPEXModel forward (#566)
* fix jit model * rm autocast in model * support assisted decoding and add reorder cache function * add comment for _prepare_past_key_values * rebase main * fix model_dtype * rm useless comments * fix class name * revert _call_model * fix model_dtype warning liog * testiong low precision ipex model * add assisted decoding * remove low-precision testing as CI node does not support bf16 * fix conflict * remove prepare position_ids in forward * fix code style
- Loading branch information
1 parent
45dab01
commit 9813f90
Showing
2 changed files
with
18 additions
and
12 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