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
Analyze and implement lifetime behavior of DeviceSpecificArg, per device op states, etc. #905
How do we make sure that ptr actually gets deallocated eventually (don't fix this this PR, but add an issue or just think about it as we'll need to solve this in the future)
structDeviceSpecificArg {
private:
T *ptr;
size_t device_idx;
}
changed the title [-]Ensure ptr deallocation[/-][+]Analyze and implement lifetime behavior of `DeviceSpecificArg`, per device op states, etc.[/+]on Aug 10, 2023
In general, we need to ensure proper deallocation for all of the objects during training that exist across iterations and are not explicitly destroyed by the C ffi (such as flexflow_stop_training and any flexflow_<something>_destroy methods)
Activity
[-]Ensure ptr deallocation[/-][+]Analyze and implement lifetime behavior of `DeviceSpecificArg`, per device op states, etc.[/+]lockshaw commentedon Aug 10, 2023
In general, we need to ensure proper deallocation for all of the objects during training that exist across iterations and are not explicitly destroyed by the C ffi (such as
flexflow_stop_trainingand anyflexflow_<something>_destroymethods)