+
    &j                        R t ^ RIHt . ROt^ RIt^ RIHt ]'       d   ^ RIHt  ! R R]	4      t
 ! R	 R
]4      t ! R R]4      t ! R R]4      tR# )zONNX exporter exceptions.)annotationsOnnxExporterWarningSymbolicValueErrorUnsupportedOperatorErrorN)TYPE_CHECKING)_Cc                      ] tR t^tRtRtR# )r   zWarnings in the ONNX exporter. N__name__
__module____qualname____firstlineno____doc____static_attributes__r	       i/Users/jameslopez/projects/CWCArchive/cwc-podcast/.venv/lib/python3.14/site-packages/torch/onnx/errors.pyr   r      s    (r   c                      ] tR t^tRtRtR# )OnnxExporterErrorzSErrors raised by the ONNX exporter. This is the base class for all exporter errors.r	   Nr
   r	   r   r   r   r      s    ]r   r   c                  2   a  ] tR t^tRtR V 3R lltRtV ;t# )r   z7Raised when an operator is unsupported by the exporter.c               (    V ^8  d   QhRRRRRRRR/# )	   namestrversionintsupported_versionz
int | NonereturnNoner	   )formats   "r   __annotate__%UnsupportedOperatorError.__annotate__!   s)      S 3 : RV r   c                	   < Ve   RV RV RV R2pM'VP                  R4      '       d   RV RV R2pMRV R2p\        SV `	  V4       R # )	NzExporting the operator 'z' to ONNX opset version zB is not supported. Support for this operator was added in version z!, try exporting with this versionz is not supportedz>ONNX export failed on an operator with unrecognized namespace zo. If you are trying to export a custom operator, make sure you registered it with the right domain and version.)zaten::zprim::zquantized::)
startswithsuper__init__)selfr   r   r   msg	__class__s   &&&& r   r%   !UnsupportedOperatorError.__init__!   s    (*4&0H	 RT$%%FH 
 __@AA*4&0H	 R# #  QQUPV W0 0  	r   r	   r   r   r   r   r   r%   r   __classcell__r(   s   @r   r   r      s    A r   c                  2   a  ] tR t^7tRtR V 3R lltRtV ;t# )r   z+Errors around TorchScript values and nodes.c               $    V ^8  d   QhRRRRRR/# )r   r'   r   valuez_C.Valuer   r   r	   )r   s   "r   r    SymbolicValueError.__annotate__<   s!     )" )"C )" )"T )"r   c                	  < V R V RVP                  4        RVP                  4       P                  4        R2pVP                  4       P                  4       pV'       d   VRV R2,          p VR,          pT\        P
                  ! RRP                  R	 \        VP                  4       P                  4       4       4       4      ;'       g    R
,           R,           R,           RP                  R \        VP                  4       P                  4       4       4       4      ;'       g    R
,           R4      ,          p\        SV `1  V4       R#   \         d    TR,          p L'i ; i)z  [Caused by the value 'z	' (type 'z;') in the TorchScript graph. The containing node has kind 'z'.] z
    (node defined in )z

zInputs:

c              3  Z   "   T F!  w  rR V RV RVP                  4        R2x  K#  	  R# 5iz    #z: z	  (type 'z')Ntype).0iinput_s   &  r   	<genexpr>.SymbolicValueError.__init__.<locals>.<genexpr>M   s4      "-M	 $A3b	&++-K-M   )+z	    Emptyz	Outputs:
c              3  Z   "   T F!  w  rR V RV RVP                  4        R2x  K#  	  R# 5ir5   r6   )r8   r9   outputs   &  r   r;   r<   V   s4      "-N	 $A3b	&++-K-Nr=   z    zv Failed to obtain its input and output for debugging. Please refer to the TorchScript graph for debugging information.N)r7   nodekindsourceRangetextwrapindentjoin	enumerateinputsoutputsAttributeErrorr$   r%   )r&   r'   r/   messagecode_locationr(   s   &&&  r   r%   SymbolicValueError.__init__<   sf   e+E7)EJJL> J@@E

@Q@Q@S?TTXZ 	
 

0020qAAG	vGx		 "-6uzz|7J7J7L-M"  ' ' '  #	# 		 "-6uzz|7K7K7M-N"  ' ' '$ ) G8 	!  	SG	s    .AE AE 'E E#"E#r	   r*   r,   s   @r   r   r   7   s    5)" )"r   )r   r   r   )r   
__future__r   __all__rC   typingr   torchr   UserWarningr   RuntimeErrorr   r   r   r	   r   r   <module>rS      sV     "    )+ )^ ^0 6."* ."r   