code: def test_disable_saved_tensors_hooks_graph_break(self):
      def fn(x):
          with torch.autograd.graph.disable_saved_tensors_hooks(
              "This is not supported"
          ):
              y = x + 1
              torch._dynamo.graph_break()
              return y * 2
  
      eager = EagerAndRecordGraphs()
      torch.compile(fn, backend=eager, fullgraph=False)(torch.randn(()))
  
      def check_graph(actual, expected):
          self.assertExpectedInline(actual, expected)
  
      expected = """\
  class GraphModule(torch.nn.Module):
      def forward(self, L_x_ : torch.Tensor):
          l_x_ = L_x_
  
          _saved_tensors_hooks_disable = torch._C._autograd._saved_tensors_hooks_disable('This is not supported')
  
          y = l_x_ + 1;  l_x_ = None
  
          _saved_tensors_hooks_enable = torch._C._autograd._saved_tensors_hooks_enable()
          return (y,)
  """
      graph = eager.graphs[0]
      actual = normalize_gm(graph.print_readable(False))
      check_graph(actual, expected)
  
      expected = """\
  class GraphModule(torch.nn.Module):
      def forward(self, L_y_ : torch.Tensor):
          l_y_ = L_y_
  
          _saved_tensors_hooks_disable = torch._C._autograd._saved_tensors_hooks_disable('This is not supported')
  
          mul = l_y_ * 2;  l_y_ = None
  
          _saved_tensors_hooks_enable = torch._C._autograd._saved_tensors_hooks_enable()
          return (mul,)
  """
      graph = eager.graphs[1]
      actual = normalize_gm(graph.print_readable(False))
      check_graph(actual, expected)
  
imports: import unittest
  import torch
  import torch._dynamo.test_case
  import torch._dynamo.testing
  import torch.onnx.operators
  from torch._dynamo.testing import EagerAndRecordGraphs, normalize_gm, same
  from torch.nn import functional
  from torch.testing._internal.common_cuda import PLATFORM_SUPPORTS_FLASH_ATTENTION
  from torch.testing._internal.common_utils import TEST_WITH_ROCM
label_desc: Use image node_id 35 for calling the CtxManagerTests obj's underlying member method code with example usage: obj.test_disable_saved_tensors_hooks_graph_break() and returns: unknown