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.
set cpu affinity and membind for better oob performance (huggingface#853
) * set num threads and memory binding for better OOB performance * clean env var * added core and memory binding util for improved performance * add example usage in docstring * change utlity for best oob to support world_size and rank >=1 * fix style * fix node_id value to account for rank_id starts at zero * numa node assignment calculated from local size not from world size * reorg imports, moved checks to import_utils, remove prints for logger * raise Errors with missing pkg and unsupported OS * added missng env var to list * Update optimum/intel/utils/modeling_utils.py * Update optimum/intel/utils/import_utils.py * Update optimum/intel/utils/import_utils.py * fix style quality error --------- Co-authored-by: Ilyas Moutawwakil <[email protected]>
- Loading branch information
1 parent
403c696
commit 9a18ae0
Showing
4 changed files
with
100 additions
and
4 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