code: def __init__(self, experts_per_rank: int) -> None:
      self._num_experts = experts_per_rank
  
imports: import pytest
  import torch
  from deepspeed.inference.v2.allocator import on_device
  from deepspeed.inference.v2.inference_parameter import InferenceParameter
  from deepspeed.inference.v2.model_implementations.parameter_base import ParameterBase, ParamList
  from deepspeed.inference.v2.model_implementations.layer_container_base import LayerContainer
  from deepspeed.inference.v2.model_implementations.common_parameters import *
  from .utils import validate_device
label_desc: Use image node_id 1 to create a new DummyInferenceModel object  with example: obj = DummyInferenceModel(experts_per_rank)