code: def test_matches_pytorch_sync_every_step(self):
      self.test_matches_pytorch(use_nosync=False)
  
imports: from contextlib import contextmanager
  import io
  from typing import Callable, Optional, Tuple
  import unittest
  import warnings
  import torch
  from torch.testing._internal import common_utils
  from apex.transformer.testing.distributed_test_base import NcclDistributedTestBase
label_desc: Use image node_id 4 for calling the TestDistributedFusedAdam obj's underlying member method code with example usage: obj.test_matches_pytorch_sync_every_step() without return types