+
    –°³jY  ã                   ó–   € R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RI	t	^ RI	H
t
 ^RIHt ^RIHt ]]RR/R	 R
 ll4       4       tR R ltR# )a8  
This module provides TVM backend integration for TorchDynamo.

Apache TVM is a deep learning compiler framework that can optimize and execute
models on various hardware backends. The backend compiles graphs through TVM's
relax frontend and can be used with torch.compile():

    model = torch.compile(model, backend="tvm")

Tuning and target selection are configured through a TVM pipeline:

    pipeline = tvm.relax.get_pipeline("static_shape_tuning", target="llvm", total_trials=2000)
    model = torch.compile(model, backend="tvm", options={"pipeline": pipeline})
N)ÚCallable)ÚMappingProxyType)ÚAny)Úfx)Úfake_tensor_unsupported)Úregister_backendÚoptionsc          
      óÐ   € V ^8„  d   QhR\         P                  R\        \        P                  ,          R\
        \        \        3,          R,          R\        R\        3,          /# )é   ÚgmÚexample_inputsr   NÚreturn.)	r   ÚGraphModuleÚlistÚtorchÚTensorr   Ústrr   r   )Úformats   "Ú[/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/_dynamo/backends/tvm.pyÚ__annotate__r      sT   € ÷ ?ñ ?Ü
�‰ð?äœŸ™Õ&ð?ô œc¤3˜hÕ'¨$Õ.ð	?ô
 ˆc”3ˆhÕñ?ó    c                ó¤   €  ^ RI Hp T'       d   TP                  RR4      MRpT! TR7      ! Y4      #   \         d   p\        R4      ThRp?ii ; i)é    )Úrelax_dynamozvPlease install apache-tvm to use the tvm backend. See https://tvm.apache.org/docs/install/index.html for instructions.NÚpipeline)r   )Útvm.relax.frontend.torchr   ÚImportErrorÚget)r   r   r   r   Úer   s   &&$   r   Útvmr      sZ   € ðÝ9÷ 18ˆw�{‰{˜: tÔ,¸T€HÙ Õ*¨2Ó>Ð>øô ô ÜðSó
ð ð	ûðús   ‚3 ³A¾A
Á
Ac                ó$   € V ^8„  d   QhR\         /# )r
   r   )Úbool)r   s   "r   r   r   0   s   € ÷ 7ñ 7”ñ 7r   c                  óD   € \         P                  P                  R 4      RJ# )r   N)Ú	importlibÚutilÚ	find_spec© r   r   Úhas_tvmr'   0   s   € ä�>‰>×#Ñ# EÓ*°$Ð6Ð6r   )Ú__doc__Úimportlib.utilr#   Úcollections.abcr   Útypesr   Útypingr   r   r   Úcommonr   Úregistryr   r   r'   r&   r   r   Ú<module>r/      sO   ðñó Ý $Ý "Ý ã Ý å +Ý &ð Øð?ð 26ö	?ó ó ð?÷$7r   