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
More aggressive memory freeing from TrainPipelineContext (#1967)
Summary:
X-link: facebookresearch/recipes#43
As users highlighted, TrainPipeline refactoring introduced memory regression ~2% due to more context management for code readability. This results in higher peak memory (takes longer for a context to drop out of refcount)
relatively easy to get a lot more aggressive about releasing memory stored in TrainPipelineContext.
broader internal discusion:
https://fb.workplace.com/groups/970281557043698/permalink/1664528510952329/
Differential Revision:
D57123339
Privacy Context Container: 1203980333745195
0 commit comments