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

RF backend: PyTorch code #1492

Open
albertz opened this issue Jan 9, 2024 · 0 comments
Open

RF backend: PyTorch code #1492

albertz opened this issue Jan 9, 2024 · 0 comments

Comments

@albertz
Copy link
Member

albertz commented Jan 9, 2024

For debugging, for dumping, but also as an alternative to torch.compile-support for the direct PyTorch backend (#1491), it could be useful to have another backend which outputs PyTorch code, instead of directly executing it (or maybe it could do both, similar to PyTorch tracing, but maybe more clever).

This would behave more like a graph-based backend.

Instead of implementing this backend "by hand", maybe this can automatically be done based on the existing PyTorch backend? Actually this is probably only really feasible if we can do it this way, otherwise it would maybe be too much overhead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant