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

Added example Torch MLIR LTC Backend #725

Conversation

henrytwo
Copy link
Member

@henrytwo henrytwo commented Mar 31, 2022

Added example vendor implementation of MLIR LTC backend, which shows what information is exposed at the compile stage. Also included is a script which uses this backend implementation to demonstrate the full end-to-end flow from PyTorch model to MLIR.

Note: This PR is based on #724, but GitHub does not allow for setting the base to a fork while keeping this PR in the upstream repo, so there are several shared commits. Only the last three are specifically part of this PR.

Marked as draft while waiting for a dependency PR to land: #724

cc: @antoniojkim @ke1337

@henrytwo henrytwo requested a review from silvasean March 31, 2022 19:09
@henrytwo henrytwo self-assigned this Mar 31, 2022
examples/ltc_backend/CMakeLists.txt Outdated Show resolved Hide resolved
examples/ltc_backend/CMakeLists.txt Outdated Show resolved Hide resolved
examples/ltc_backend/CMakeLists.txt Outdated Show resolved Hide resolved
examples/ltc_backend/CMakeLists.txt Outdated Show resolved Hide resolved
@henrytwo henrytwo force-pushed the henrytu/example_torch_mlir_ltc_backend branch 3 times, most recently from eb1737d to 615b593 Compare April 1, 2022 18:01
@henrytwo henrytwo force-pushed the henrytu/example_torch_mlir_ltc_backend branch 2 times, most recently from e159311 to 40295bf Compare April 5, 2022 20:21
@henrytwo henrytwo force-pushed the henrytu/example_torch_mlir_ltc_backend branch 4 times, most recently from 0a7fdc3 to 196963d Compare April 14, 2022 16:38
@henrytwo henrytwo force-pushed the henrytu/example_torch_mlir_ltc_backend branch from 196963d to 51b1f5e Compare April 14, 2022 16:47
@henrytwo henrytwo marked this pull request as ready for review April 14, 2022 16:52
@henrytwo henrytwo merged commit e57a581 into llvm:torch_mlir_ltc_backend Apr 14, 2022
@henrytwo henrytwo deleted the henrytu/example_torch_mlir_ltc_backend branch April 14, 2022 16:53
antoniojkim pushed a commit that referenced this pull request May 26, 2022
antoniojkim pushed a commit that referenced this pull request Jun 30, 2022
antoniojkim pushed a commit that referenced this pull request Jun 30, 2022
antoniojkim pushed a commit that referenced this pull request Jul 5, 2022
antoniojkim pushed a commit that referenced this pull request Jul 7, 2022
henrytwo added a commit that referenced this pull request Jul 8, 2022
henrytwo added a commit that referenced this pull request Jul 8, 2022
henrytwo added a commit that referenced this pull request Jul 12, 2022
antoniojkim pushed a commit that referenced this pull request Jul 15, 2022
antoniojkim pushed a commit that referenced this pull request Jul 19, 2022
antoniojkim pushed a commit that referenced this pull request Jul 22, 2022
henrytwo added a commit that referenced this pull request Jul 29, 2022
henrytwo added a commit that referenced this pull request Jul 29, 2022
henrytwo added a commit that referenced this pull request Jul 30, 2022
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>

Co-authored-by: Alexandre Eichenberger <alexe@us.ibm.com>
Co-authored-by: chentong319 <chentong@us.ibm.com>
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

Successfully merging this pull request may close these issues.

3 participants