code: def test_model_parallel_v2_valid(ds_config):
      ds_config["elasticity"]["model_parallel_size"] = 4
      ds_config["elasticity"]["num_gpus_per_node"] = 8
      ds_config["elasticity"]["version"] = 0.2
  
      os.environ["WORLD_SIZE"] = str(16)
      deepspeed.elasticity.compute_elastic_config(
          ds_config=ds_config, target_deepspeed_version=ds_version
      )
      os.environ.pop("WORLD_SIZE")
  
imports: import pytest
  import deepspeed
  from unit.common import DistributedTest
  from deepspeed.git_version_info import version
  import os
  from unit.simple_model import SimpleModel
label_desc: Use image node_id 13 for calling a global function with example usage: test_model_parallel_v2_valid(ds_config) without return types