code: def test_get_torch_version(self) -> None:
      with patch.object(torch, "__version__", "1.8.3"):
          self.assertEqual(
              version.get_torch_version(), Version("1.8.3")
          )
          self.assertNotEqual(
              version.get_torch_version(), Version("1.12.0")
          )
  
      with patch.object(torch, "__version__", "1.12.0"):
          self.assertNotEqual(
              version.get_torch_version(), Version("1.8.3")
          )
          self.assertEqual(
              version.get_torch_version(), Version("1.12.0")
          )
  
file_path: tnt/tests/utils/test_version.py
imports: import unittest
  from unittest.mock import MagicMock, patch
  import torch
  from packaging.version import Version
  from torchtnt.utils import version
label_desc: Use image node_id 3 for calling the TestVersion obj's underlying member method code with example usage: obj.test_get_torch_version() without return types