code: def test_zero_partial_offload_config():
      config = DeepSpeedZeroOffloadOptimizerConfig(**{"ratio": 0.3})
      assert config.ratio == 0.3
  
file_path: DeepSpeed/tests/unit/runtime/zero/test_zero_offloadpp.py
imports: import pytest
  import deepspeed.comm
  from unit.common import DistributedTest
  from unit.simple_model import random_dataloader
  import deepspeed
  from deepspeed.runtime.zero.offload_config import DeepSpeedZeroOffloadOptimizerConfig
  import torch.nn
label_desc: Use image node_id 1 for calling a global function with example usage: test_zero_partial_offload_config() without return types