
    ȅi{                     n    S r SSKrSSKJrJr  SSKJr  SSKJrJ	r	  \R                   " S S5      5       rg)	a  Hook system for Dynamo's guard functionality.

This module provides a way to register callback functions that are triggered during
guard-related operations.

The Hooks class manages two types of hook functions:
- guard_export_fn: Called when guards need to be exported, taking a GuardsSet as input
- guard_fail_fn: Called when a guard check fails, taking a GuardFail object as input
These hooks enable customization of guard export and failure handling behaviors.
    N)CallableSequence)	GuardsSet   )	GuardFailGuardFilterEntryc                       \ rS rSr% Sr\\/S4   S-  \S'   Sr\\	/S4   S-  \S'   Sr
\\\   /\\   4   S-  \S'   Srg)Hooks   Nguard_export_fnguard_fail_fnguard_filter_fn )__name__
__module____qualname____firstlineno__r   r   r   __annotations__r   r   r   r   r   bool__static_attributes__r       M/home/james-whalen/.local/lib/python3.13/site-packages/torch/_dynamo/hooks.pyr
   r
      sc    :>OXyk4/047>8<M8YK-.5< Xx(89:HTNJKdR r   r
   )__doc__dataclassescollections.abcr   r   torch._guardsr   typesr   r   	dataclassr
   r   r   r   <module>r      s7   	  . # .   r   