-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adaptive batch size supports XPU (#3256)
* draft implementation * draft implemenetation * success to execute adaptive bs w/ XPU * refactor code * align with pre-comimt * add meta argument * make CustomOTXHead pickeable * fix bug * draft implementation for nncf auto bs * refactor a little bit * import nncf patch according to task * support nncf task * minor bugfix * refactor code * align with pre-commit * update unit test * update unit test * change bs search algo * fix a bug occured when length of data is smaller than class number in class incremental case * apply sync batch norm after adaptive bs * update unit test * align with pre-commit * fix wrong fixture * add comments
- Loading branch information
Showing
24 changed files
with
693 additions
and
473 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
Oops, something went wrong.