
    Vh                     $    d Z ddlmZ ed        Zy)a  
This module provides the TorchInductor backend integration for TorchDynamo.

TorchInductor is a compiler backend that generates optimized code for both CPU and GPU.
This module lazily imports and registers the TorchInductor compiler to avoid loading it
into memory when it is not being used. This helps reduce memory overhead when using
other backends.

The inductor backend can be used with torch.compile():
    model = torch.compile(model, backend="inductor")
    )register_backendc                      ddl m}  || i |S )Nr   )
compile_fx)torch._inductor.compile_fxr   )argskwargsr   s      O/home/dcms/DCMS/lib/python3.12/site-packages/torch/_dynamo/backends/inductor.pyinductorr
      s     6t&v&&    N)__doc__torch._dynamor   r
    r   r	   <module>r      s#   
 + ' 'r   