mirror of https://github.com/InternLM/InternLM
fix(optimizer/hybrid_zero_optim.py): remove redundant _accum_grad_buckets
parent
4c1cd5d49b
commit
6b843253eb
|
@ -133,7 +133,6 @@ class HybridZeroOptimizer(BaseOptimizer):
|
|||
self._fstp_handler = gpc.fstp_handler
|
||||
else:
|
||||
self._fstp_handler = None
|
||||
self._accum_grad_buckets: List[BucketStore] = []
|
||||
|
||||
# iterate over the param group in the optimizer
|
||||
# partition these param groups for data parallel training
|
||||
|
|
Loading…
Reference in New Issue