Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add native PyTorch support #349

Closed
janekb04 opened this issue Apr 15, 2023 · 3 comments
Closed

Add native PyTorch support #349

janekb04 opened this issue Apr 15, 2023 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@janekb04
Copy link

Similar to #224, which is about numpy.

Codon seems very promising in its ability to accelerate computationally-heavy Python applications. However, its adoption currently faces an important issue - the lack of native support for important Python computational frameworks and libraries.

Maybe it would be useful to have one issue that would aggregate the most important libraries to port?

@elisbyberi
Copy link

elisbyberi commented Apr 20, 2023

@janekb04 In my opinion, that may not be the most appropriate approach. Porting all the necessary libraries to make PyTorch Codon native would be a never-ending process since there are so many libraries involved:

  1. astunparse
  2. expecttest
  3. hypothesis
  4. numpy
  5. psutil
  6. pyyaml
  7. requests
  8. setuptools
  9. types-dataclasses
  10. typing-extensions
  11. sympy
  12. filelock
  13. networkx
  14. jinja2
  15. fsspec

Also, Codon performance is on par with Numpy performance. Perhaps the best approach is to port the program from NumPy to Codon. The same goes for PyTorch.

@inumanag
Copy link
Contributor

Please see https://docs.exaloop.io/codon/general/roadmap for details. Definitely planned for the future.

@inumanag
Copy link
Contributor

Merging into #608 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants