code: def configure_seed(self) -> None:
      seed = self.config.training.seed
      if seed is None:
          return
  
      torch.backends.cudnn.deterministic = True
      torch.backends.cudnn.benchmark = (
          self.config.training.cudnn_benchmark
      )
  
file_path: mmf/mmf/trainers/core/device.py
imports: import logging
  import warnings
  from abc import ABC
  import torch
  from mmf.common.registry import registry
  from mmf.utils.distributed import broadcast_xla_master_model_param, get_world_size, is_xla
  from omegaconf import open_dict
label_desc: Use image node_id 1 for calling the TrainerDeviceMixin obj's underlying member method code with example usage: obj.configure_seed() without return types