mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-09 21:09:18 +00:00
[bug] workaround for idx fix
This commit is contained in:
@@ -57,6 +57,7 @@ class GeminiManager:
|
||||
self._comp_cuda_demand_time = 0
|
||||
|
||||
def reset_attributes(self):
|
||||
assert self._compute_idx + 1 == len(self._compute_list)
|
||||
self._compute_idx = -1
|
||||
self._h2d_volume = 0
|
||||
self._d2h_volume = 0
|
||||
|
Reference in New Issue
Block a user