-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEA] Include bootstrap recommended configs in qualification output #451
Merged
cindyyuanjiang
merged 8 commits into
NVIDIA:dev
from
cindyyuanjiang:add-bootstrap-configs
Jul 26, 2023
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
4bfc0c1
added recommended bootstrap configs in qualification output
cindyyuanjiang ebf1e94
added recommended spark configs in summary log file
cindyyuanjiang f65f7e8
Merge branch 'dev' into add-bootstrap-configs
cindyyuanjiang edca055
moved _calculate_spark_settings to RapidsTool class
cindyyuanjiang 58f79da
minor fix for calling inherited method
cindyyuanjiang 837409c
moved contants in a common file for bootstrap and qualification tools
cindyyuanjiang ea9d265
remove bootstrap recommendation for db platforms
cindyyuanjiang 1202cf1
disable bootstrap recommendations in DB runs
cindyyuanjiang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
22 changes: 22 additions & 0 deletions
22
user_tools/src/spark_rapids_pytools/resources/cluster-configs.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
clusterConfigs: | ||
constants: | ||
# Maximum amount of pinned memory to use per executor in megabytes | ||
maxPinnedMemoryMB: 4096 | ||
# Default pageable pool size per executor in megabytes | ||
defaultPageablePoolMB: 1024 | ||
# Maximum number of concurrent tasks to run on the GPU | ||
maxGpuConcurrent: 4 | ||
# Amount of GPU memory to use per concurrent task in megabytes | ||
# Using a bit less than 8GB here since Dataproc clusters advertise | ||
# T4s as only having around 14.75 GB and we want to run with | ||
# 2 concurrent by default on T4s. | ||
gpuMemPerTaskMB: 7500 | ||
# Ideal amount of JVM heap memory to request per CPU core in megabytes | ||
heapPerCoreMB: 2048 | ||
# Fraction of the executor JVM heap size that should be additionally reserved | ||
# for JVM off-heap overhead (thread stacks, native libraries, etc.) | ||
heapOverheadFraction: 0.1 | ||
# Amount of CPU memory to reserve for system overhead (kernel, buffers, etc.) in megabytes | ||
systemReserveMB: 2048 | ||
# By default set the spark.sql.files.maxPartitionBytes to 512m | ||
maxSqlFilesPartitionsMB: 512 |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The recommendations generated by the bootstrap tool does not match all the platforms.
As an example, the changes in #440 which adjusted the default configurations to fit the Databricks platform.
Given that the bootstrap tool is not available for DB-azure/DB-AWS , this section should not be valid when running against DB.
@cindyyuanjiang I see you put example CLI for DB, but have you actually verified that the bootstrap-configurations are not part of the output on those platforms?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, we can not include bootstrap output when running qual tool on DB. File an issue to track adding bootstrap config support for DB qualification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@amahussein thank you! I will remove the bootstrap recommendations for DB platforms.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattahrens thank you! I filed a follow-up issue and tracked in this PR's description.