-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AutoTuner: Set recommendation for spark.task.resource.gpu.amount to a…
… very low value (#1514) Fixes #1401 This PR set the recommended value of `spark.task.resource.gpu.amount` to a very low number (`0.001`) as Spark will honor `spark.executor.cores` setting above this. ### Changes * Updated the `recommendedCoresPerExec` method in `Platform` class to use `ProfilingAutoTunerConfigsProvider.DEF_CORES_PER_EXECUTOR`. * Added new default configuration values in `AutoTunerConfigsProvider`, including `DEF_CORES_PER_EXECUTOR` and `DEF_TASK_GPU_RESOURCE_AMT`. * Modified `AutoTuner` to use `DEF_TASK_GPU_RESOURCE_AMT` for `spark.task.resource.gpu.amount` instead of calculating it dynamically. * Updated unit tests with the new recommendation for gpu amount Signed-off-by: Partho Sarthi <[email protected]>
- Loading branch information
Showing
3 changed files
with
122 additions
and
120 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
Oops, something went wrong.