cuddly-jelly-27016
03/24/2025, 3:06 AMwith_overrides value) and task's Retry (task specified RetryStrategy)
• Add new unit tests
• FlytePropeller
• Store the historical OOM failures number
• Create OnOOMConf for taskExecutionMetadata so that FlytePlugins can use it.
• Add new unit tests
• FlytePlugins
• Update the logistic to compute the updated resource when OOM
• Implement the multiplication of Resource.Quantity (@b05702117 is working on it)
• Add new unit tests
## How was this patch tested?
I have manually tested it with the debugger to ensure that it is executed as expected, but we will need to create more unit tests later.
### Labels
• added: For new features.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
Previous version PR: #6263
## Docs link
### Summary by Bito
This pull request enhances Flyte's OOM handling by implementing dynamic memory scaling during retries. It updates FlyteIDL definitions across multiple languages to incorporate a new RetryOnOOM structure with scaling factors and limits, while adding logic in FlyteAdmin to ensure adjusted memory limits don't exceed platform constraints.
Unit tests added: True
Estimated effort to review (1-5, lower is better): 5
flyteorg/flytecuddly-jelly-27016
03/24/2025, 3:06 AM