Open Kangmo opened 1 year ago
Yes, the new version of the architecture has not yet completed the entire development. There may be some logic loopholes in the process of ending the program and destructing. We expect to complete the repair before February. By the way, the management of GPU memory is uniformly held by the MemoryManager module. https://github.com/bytedance/lightseq/blob/master/lightseq/csrc/lsflow/manager.cpp
got it, thanks! will see the MemoryManager module.
The constructor creates new objects without shared_ptrs, but the destructor is empty.
In cpp:
In header:
virtual ~DecSelfAttentionLayer() {}
Not sure if this is by design or missing delete calls in the destructor.