code: def test_mm_dup_args(self):
      @torch.compile
      def foo(a):
          return torch.mm(a, a)
  
      foo(torch.randn(32, 32, device="cuda"))
      self.assertEqual(
          counters["inductor"]["select_algorithm_autotune"], 1
      )
  
imports: import functools
  from unittest.mock import patch
  import torch
  import torch._dynamo.config
  import torch._inductor.config
  import torch._inductor.select_algorithm
  import torch.nn.functional
  from torch._dynamo.test_case import run_tests, TestCase
  from torch._dynamo.testing import expectedFailureDynamicWrapper
  from torch._dynamo.utils import counters
  from torch._inductor.autotune_process import TritonBenchmarkRequest
  from torch.testing._internal.common_utils import IS_LINUX, skipIfRocm
  from torch.testing._internal.inductor_utils import HAS_CUDA
label_desc: Use image node_id 12 for calling the TestSelectAlgorithm obj's underlying member method code with example usage: obj.test_mm_dup_args() and returns: torch