Closed parthosa closed 3 weeks ago
Issue #251
This PR adds support for qualifying Photon jobs in the Python tool. We use a different strategy from Spark for qualifying Photon jobs.
user_tools/src/spark_rapids_pytools/rapids/qualification.py
SpeedupStrategyBuilder
user_tools/src/spark_rapids_tools/tools/speedup_category.py
SpeedupStrategy
SpeedupCategory
user_tools/src/spark_rapids_pytools/resources/qualification-conf.yaml
metricsSubFolder
user_tools/src/spark_rapids_pytools/rapids/tool_ctxt.py
get_metrics_output_folder
.pylintrc
Issue #251
This PR adds support for qualifying Photon jobs in the Python tool. We use a different strategy from Spark for qualifying Photon jobs.
Changes
Speed Up Strategy Builder
user_tools/src/spark_rapids_pytools/rapids/qualification.py
:SpeedupStrategyBuilder
and integrated it to dynamically build speedup strategies based on application type.user_tools/src/spark_rapids_tools/tools/speedup_category.py
:SpeedupStrategy
andSpeedupStrategyBuilder
classes to encapsulate speedup strategy logic.SpeedupCategory
to use these new classes. [1] [2] [3]New Configuration Options:
user_tools/src/spark_rapids_pytools/resources/qualification-conf.yaml
:metricsSubFolder
and new speedup strategy configurations for different application types. [1] [2] [3]user_tools/src/spark_rapids_pytools/rapids/tool_ctxt.py
:get_metrics_output_folder
method to retrieve the metrics output folder path.Minor Code Adjustments:
.pylintrc
: Removed redundant pylint disable rules.