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
Error be like : File "/usr/local/miniconda3/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 2119, in _take_model_step self.optimizer.step() File "/usr/local/miniconda3/lib/python3.10/site-packages/deepspeed/runtime/fp16/fused_optimizer.py", line 255, in step self.timers(OVERFLOW_CHECK_TIMER).start() TypeError: 'NoneType' object is not callable
So may be we should initialize timer before line 1571?
Then I changed zero_optimization to stage 2, and the error didn't show up again. Or are there any other solutions?
The text was updated successfully, but these errors were encountered:
DeepSpeed/deepspeed/runtime/engine.py
Line 1571 in d095b18
Config:
`
deepspeed_config = {
"fp16": {
"enabled": "auto",
"loss_scale": 4,
"loss_scale_window": 1000,
"initial_scale_power": 16,
"hysteresis": 2,
"min_loss_scale": 0.00001,
"auto_cast": True
},
}
`
Error be like :
File "/usr/local/miniconda3/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 2119, in _take_model_step self.optimizer.step() File "/usr/local/miniconda3/lib/python3.10/site-packages/deepspeed/runtime/fp16/fused_optimizer.py", line 255, in step self.timers(OVERFLOW_CHECK_TIMER).start() TypeError: 'NoneType' object is not callable
So may be we should initialize timer before line 1571?
Then I changed zero_optimization to stage 2, and the error didn't show up again. Or are there any other solutions?
The text was updated successfully, but these errors were encountered: