forked from intel/ai-reference-models
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to only use docker
--privileged
when required and check cpu…
…set (intel#150) * Update numactl usage * Update error handling * Check to make sure it's in cpuset * Update forming cpu list * Style fixes and add unit tests * Test updates * Updates to figure out which cores are on which node * Update to print debug message * Update to organize the cpuset list by node: * Check args to see if docker should run with privileged * Add unit tests * Update numa_cores_per_instance for 'socket' setting * update for cores per instance 'socket' * Add doc update * Remove unused import * Style fixes * update to cpuset list * make str * limit length * update cores_per_node * Move num_physical_cores calculation * update num inter/intra threads * Fix intra threads * Updates to platform util to explain the core lists * Update unit tests * Unit test updates * Add tests with limited cpusets * Remove debug print * Add additional error handling and info * Update base benchmark util * Fix conditionals * Update messages * Update for numa_cores_per_instance 'socket' when sockets have different number of cores * Fix conditionals for checking numa cores per instance socket * Add another unit test to check the case when the --socket-id specified does not have any cores in the cpuset * Removing conditional in the validate function since it's being done in the init function * Add stderr=PIPE so that the terminal doesn't show an error when PlatformUtils is used before numactl is installed
- Loading branch information
Showing
38 changed files
with
860 additions
and
216 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
Oops, something went wrong.