code: def test_mlp(self):
      torch._logging.set_logs(
          dynamo=logging.DEBUG,
          inductor=logging.DEBUG,
          aot=logging.DEBUG,
      )
  
      mlp = torch.compile(MLP().cuda())
      for _ in range(3):
          mlp(torch.randn(1, device="cuda"))
  
      # set back to defaults
      torch._logging.set_logs()
  
file_path: pytorch/test/inductor/test_smoke.py
imports: import logging
  import unittest
  import torch
  import torch._logging
  from torch.testing._internal.common_utils import IS_LINUX, TestCase
  from torch.testing._internal.inductor_utils import HAS_CUDA
label_desc: Use image node_id 1 for calling the SmokeTest obj's underlying member method code with example usage: obj.test_mlp() without return types