code: def test_successive_inputs():
      """
      The CUTLASS MoE uses persistent state (expert counts) that is assumed to be cleared
      on each forward pass. This ensures that the module is clearing that metadata.
      """
      _cutlass_moe_testing_helper(
          tokens=876,
          in_channels=4096,
          intermediate_dim=2048,
          experts=64,
          dtype=DtypeEnum.fp16,
          activation_type=ActivationType.IDENTITY,
          use_bias=True,
          iters=10,
      )
  
imports: from typing import Tuple
  import pytest
  import torch
  from deepspeed.accelerator import get_accelerator
  from deepspeed.inference.v2.inference_utils import ActivationType, DtypeEnum
  from deepspeed.inference.v2.modules import ConfigBundle
  from deepspeed.inference.v2.modules.configs import DSMoEConfig
  from deepspeed.inference.v2.modules.interfaces import DSMoERegistry
  from ..kernels.ragged_ops.ragged_testing_utils import build_simple_batch
  from ...v2.inference_test_utils import allclose, get_dtypes
label_desc: Use image node_id 5 for calling a global function with example usage: test_successive_inputs() without return types