class_docstr: We need access `V.kernel.removed_buffers` in DeferredLine class when there
  is no kernel in the context. This happens when codegening the wrapper.
  Initialize `removed_buffers` and `inplaced_to_remove` explicitly so we don't
  need call 'getattr' with default value which is error prone to typo in
  attribute name.
class_docstr_tok: ["We","need","access","`","V.kernel.removed_buffers","`","in","DeferredLine","class","when","there","is","no","kernel","in","the","context",".","This","happens","when","codegening","the","wrapper",".","Initialize","`","removed_buffers","`","and","`","inplaced_to_remove","`","explicitly","so","we","don't","need","call","'getattr","'","with","default","value","which","is","error","prone","to","typo","in","attribute","name","."]
code: def __init__(self):
      super().__init__()
      self.removed_buffers = set()
      self.inplaced_to_remove = set()
      self.index_dtype = "tl.int64"
  
imports: from __future__ import annotations
  import itertools
  from contextlib import contextmanager
  from itertools import chain
  from threading import local
  from typing import Any, Callable, TYPE_CHECKING, Union
  from unittest.mock import patch
  import sympy
  from torch._inductor.utils import IndentedBuffer
  from torch.fx.graph import inplace_methods, magic_methods
  from .utils import reduction_num_outputs, sympy_str, sympy_symbol
label_desc: Use image node_id 1 to create a new NullKernelHandler object from inherited base classes: NullHandler with example: obj = NullKernelHandler()