code: def test_zero_config_deprecatedfields():
      config = DeepSpeedZeroConfig(**{"cpu_offload_param": True})
      assert isinstance(
          config.offload_param, DeepSpeedZeroOffloadParamConfig
      )
  
      config = DeepSpeedZeroConfig(**{"cpu_offload": True})
      assert isinstance(
          config.offload_optimizer, DeepSpeedZeroOffloadOptimizerConfig
      )
  
      config = DeepSpeedZeroConfig(
          **{"stage3_gather_fp16_weights_on_model_save": True}
      )
      assert config.gather_16bit_weights_on_model_save == True
  
imports: from deepspeed.runtime.zero.config import DeepSpeedZeroConfig, DeepSpeedZeroOffloadParamConfig, DeepSpeedZeroOffloadOptimizerConfig
label_desc: Use image node_id 1 for calling a global function with example usage: test_zero_config_deprecatedfields() without return types