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

Refactor Node Lowering #914

Conversation

antoniojkim
Copy link
Collaborator

A follow up to pytorch/pytorch#78273 which refactors and provides a longer term, more maintainable way to support lowering for non-native ops.

CC: @ke1337 @henrytwo

@antoniojkim
Copy link
Collaborator Author

@silvasean Gentle reminder to please review

@antoniojkim antoniojkim merged commit f5a3c17 into llvm:torch_mlir_ltc_backend Jun 9, 2022
antoniojkim added a commit that referenced this pull request Jun 30, 2022
antoniojkim added a commit that referenced this pull request Jun 30, 2022
antoniojkim added a commit that referenced this pull request Jul 5, 2022
antoniojkim added a commit that referenced this pull request Jul 7, 2022
henrytwo pushed a commit that referenced this pull request Jul 8, 2022
henrytwo pushed a commit that referenced this pull request Jul 8, 2022
henrytwo pushed a commit that referenced this pull request Jul 12, 2022
antoniojkim added a commit that referenced this pull request Jul 15, 2022
antoniojkim added a commit that referenced this pull request Jul 19, 2022
antoniojkim added a commit that referenced this pull request Jul 22, 2022
henrytwo pushed a commit that referenced this pull request Jul 29, 2022
henrytwo pushed a commit that referenced this pull request Jul 29, 2022
henrytwo pushed 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
* Create files

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* temporary

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Fix loadDenseElementArrayValueAtIndex for scalar tensors

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* double-buffer

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* fix

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Correct algorithm

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* backend tests

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Support reverse mode

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Support exclusive mode

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* typos

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Add lit test

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* typos

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Change variable names

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Edit comments

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Check integers

Signed-off-by: Tung D. Le <tung@jp.ibm.com>

* Extract a common function to reduce code

Signed-off-by: Tung D. Le <tung@jp.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.

2 participants