mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-10-05 00:56:17 +00:00
[Gemini] update API of the chunkmemstatscollector. (#2129)
This commit is contained in:
@@ -32,6 +32,8 @@ class GeminiZeROHook(ColoParamOpHook):
|
||||
self._gemini_manager.adjust_layout(chunks)
|
||||
for chunk in chunks:
|
||||
self._chunk_manager.access_chunk(chunk)
|
||||
|
||||
# record cuda model data of the current OP
|
||||
self._gemini_manager.record_model_data_volume()
|
||||
|
||||
def post_op(self, params):
|
||||
|
Reference in New Issue
Block a user