Describe the bug
https://github.com/microsoft/DeepSpeed/blob/master/deepspeed/runtime/engine.py#L3736 In offloading states of zero3 engine, the assertion 'self.zero_offload_param()' return a config class but not bool, why check it as not?
'assert not self.zero_offload_param()' will always raise an error when the ds_config set as:
"offload_optimizer": {
"device": "none"
}