code: def test_invalid_world_size(ds_config):
      with pytest.raises(
          deepspeed.elasticity.config.ElasticityIncompatibleWorldSize
      ):
          (
              final_batch_size,
              valid_gpus,
              mbsize,
          ) = deepspeed.elasticity.compute_elastic_config(
              ds_config=ds_config,
              target_deepspeed_version=ds_version,
              world_size=128,
          )
  
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 6 for calling a global function with example usage: test_invalid_world_size(ds_config) without return types