You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enhance Memory Optimizer with Dynamic Cost Model for Operation Recomputation #94653
TensorFlow's memory optimizer currently uses a static list to determine which operations are "cheap" to recompute rather than keep in memory. This approach, while functional, leaves significant room for optimization that could improve both memory usage and performance across different models and hardware configurations.
Current implementation in tensorflow/core/grappler/optimizers/memory_optimizer.cc:
Hi @aybakanawork ,
Apologies for the delay, and thank you for your contribution. Could you please raise a PR with the changes you are proposing? That will help us better understand and address your needs. For your reference, I am sharing the contribution guide below. Thank you!
Activity
Venkat6871 commentedon Jun 11, 2025
Hi @aybakanawork ,
Apologies for the delay, and thank you for your contribution. Could you please raise a PR with the changes you are proposing? That will help us better understand and address your needs. For your reference, I am sharing the contribution guide below. Thank you!
github-actions commentedon Jan 31, 2026
This issue is stale because it has been open for 180 days with no activity. It will be closed if no further activity occurs. Thank you.
Replace static recomputation op list with dynamic cost model in memor…
Replace static recomputation op list with dynamic cost model in memor…
Replace static recomputation op list with dynamic cost model in memor…
Replace static recomputation op list with dynamic cost model in memor…
Replace static recomputation op list with dynamic cost model in memor…
google-ml-butler commentedon Jul 16, 2026
Are you satisfied with the resolution of your issue?
Yes
No