code: def reset_random(self, seed=1234):
      random.seed(seed)
      np.random.seed(seed)
      torch.manual_seed(seed)
      torch.cuda.manual_seed_all(seed)
  
imports: import os
  import torch
  import deepspeed
  import pytest
  import random
  import numpy
  import deepspeed.comm
  from unit.common import DistributedTest, DistributedFixture
  from unit.megatron_model import get_gpt2_model, get_megatron_version
label_desc: Use image node_id 1 for calling the ConfigurableMP obj's underlying member method code with example usage: obj.reset_random(seed) without return types