-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extended configuration of OOM injection mode (#10013)
This PR enables specifying OOM injection mode with additional config such as - num_ooms to inject - skip=N to make triger first OOM on N+1st allocation - type with the current default mix `CPU_OR_GPU`, `CPU` (just host allocations), `GPU` (just device allocations) - split=bool whether to inject SplitAndRetryOOM Enables IT invocations such as : ``` PYSP_TEST_spark_rapids_memory_gpu_state_debug=STDERR \ TEST_PARALLEL=0 \ SPARK_HOME=~/dist/spark-3.3.0-bin-hadoop3 \ ./integration_tests/run_pyspark_from_build.sh \ -k array_exists --test_oom_injection_mode=always:type=CPU,num_ooms=1,skip=4,split=true ``` This PR requires is stacked on NVIDIA/spark-rapids-jni#1637 --------- Signed-off-by: Gera Shegalov <[email protected]> Co-authored-by: Jim Brennan <[email protected]>
- Loading branch information
1 parent
afe66ca
commit ea43d89
Showing
4 changed files
with
108 additions
and
30 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