code: def test_valid_world_size(ds_config):
      (
          final_batch_size,
          valid_gpus,
          mbsize,
      ) = deepspeed.elasticity.compute_elastic_config(
          ds_config=ds_config,
          target_deepspeed_version=ds_version,
          world_size=64,
      )
      assert mbsize == 17
  
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 5 for calling a global function with example usage: test_valid_world_size(ds_config) without return types