rapidsai / crossfit

Metric calculation library
Apache License 2.0
2 stars 6 forks source link

Possible Memory Estimation Issue Leading to OOMs and Restarts #72

Open VibhuJawa opened 2 months ago

VibhuJawa commented 2 months ago

Description:

We're experiencing frequent OOMs and restarts during batch processing. The system repeatedly downsizes batches due to insufficient memory, but it's unclear if memory estimation is the root cause or if something else is contributing to the problem.

Stack Trace Highlights:

The following warnings and errors were observed, indicating repeated attempts to allocate memory for batch sizes that the system cannot handle:

Not enough memory for a batch size of 1024. Retrying with a new batch size of 512.
Not enough memory for a batch size of 512. Retrying with a new batch size of 256.
Not enough memory for a batch size of 256. Retrying with a new batch size of 128.
Not enough memory for a batch size of 128. Retrying with a new batch size of 64

Action Needed:

We need to investigate the memory estimation logic and other potential causes to address the instability.