code: def test_uint4x2_mixed_mm_fail_to_match(self):
      def fn(a, b):
          return torch.mm(
              a,
              torch.cat((b & 0xF, b >> 4), 1)
              .reshape(-1, b.shape[1])
              .to(a.dtype)
              .sub(8),
          )
  
      args_list = [
          (  # cpu
              torch.randn(8, 8),
              torch.randint(0, 255, (4, 8), dtype=torch.uint8),
          ),
          (  # int8
              torch.randn(8, 8, device="cuda"),
              torch.randint(
                  -128, 127, (4, 8), dtype=torch.int8, device="cuda"
              ),
          ),  # we don't match for int8 since numerics
      ]  # for int8 bitshifts don't match between triton and pytorch
  
      for args in args_list:
          torch._dynamo.reset()
          counters.clear()
          ref = fn(*args)
          test, (code,) = run_and_get_code(torch.compile(fn), *args)
          torch.testing.assert_close(ref, test)
          self.assertFalse("uint4x2_mixed_mm" in code)
  
imports: import copy
  import unittest
  import torch
  import torch._dynamo.config
  import torch._inductor.config
  from torch._dynamo.test_case import run_tests, TestCase
  from torch._dynamo.utils import count_calls, counters
  from torch._higher_order_ops.out_dtype import out_dtype
  from torch._inductor.fx_passes import joint_graph
  from torch._inductor.fx_passes.serialized_patterns.central_index import get_serialized_pattern
  from torch._inductor.pattern_matcher import _TargetExpr, Arg, CallFunction, gen_pattern, KeywordArg, Match, PatternExpr, PatternMatcherPass, PatternPrettyPrinter, register_graph_pattern, stable_topological_sort
  from torch._inductor.utils import run_and_get_code
  from torch._inductor.virtualized import V
  from torch.testing import FileCheck
  from torch.testing._internal.common_cuda import SM80OrLater
  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 14 for calling the TestPatternMatcher obj's underlying member method code with example usage: obj.test_uint4x2_mixed_mm_fail_to_match() and returns: torch