You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "mshr-h (via GitHub)" <gi...@apache.org> on 2024/09/08 11:09:37 UTC

[I] [Relax][PyTorch] `torch.export.ExportedProgram` support [tvm]

mshr-h opened a new issue, #17346:
URL: https://github.com/apache/tvm/issues/17346

   This is a tracking issue for supporting PyTorch's `torch.export.ExportedProgram` importer in the Relax PyTorch frontend.
   
   refs:
   - #16531 
   - [torch.export IR Specification](https://pytorch.org/docs/stable/export.ir_spec.html)
   - [torch.export Nightly Tutorial](https://pytorch.org/tutorials/intermediate/torch_export_nightly_tutorial.html)
   - [Definition of the Core ATen Operator Set](https://pytorch.org/executorch/stable/ir-ops-set-definition.html)
   - [IRs](https://pytorch.org/docs/stable/torch.compiler_ir.html)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Relax][PyTorch] Support `torch.export.ExportedProgram` in Relax PyTorch Frontend [tvm]

Posted by "mshr-h (via GitHub)" <gi...@apache.org>.
mshr-h commented on issue #17346:
URL: https://github.com/apache/tvm/issues/17346#issuecomment-2336645265

   This is a comparison of the number of lines of source code.
   
   Current `fx_graph_translator`.
   ```
   $ tokei fx_translator.py 
   ===============================================================================
    Language            Files        Lines         Code     Comments       Blanks
   ===============================================================================
    Python                  1         1947         1691           48          208
   ===============================================================================
    Total                   1         1947         1691           48          208
   ===============================================================================
   ```
   
   New `fx_graph_translator` and`exportedprogram_translator`
   ```
   $ tokei base_fx_graph_translator.py exportedprogram_translator.py fx_translator.py 
   ===============================================================================
    Language            Files        Lines         Code     Comments       Blanks
   ===============================================================================
    Python                  3         2342         1975          113          254
   ===============================================================================
    Total                   3         2342         1975          113          254
   ===============================================================================
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Relax][PyTorch] Support `torch.export.ExportedProgram` in Relax PyTorch Frontend [tvm]

Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen commented on issue #17346:
URL: https://github.com/apache/tvm/issues/17346#issuecomment-2350992486

   we can decouple  TVMC support here, since the new relax flow focuses on more modular python based flow. So we can conclude as long as the importer part finishes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org