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 antoniojkim requested a review from silvasean June 7, 2022 18:56
@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 <[email protected]>

* temporary

Signed-off-by: Tung D. Le <[email protected]>

* Fix loadDenseElementArrayValueAtIndex for scalar tensors

Signed-off-by: Tung D. Le <[email protected]>

* double-buffer

Signed-off-by: Tung D. Le <[email protected]>

* fix

Signed-off-by: Tung D. Le <[email protected]>

* Correct algorithm

Signed-off-by: Tung D. Le <[email protected]>

* backend tests

Signed-off-by: Tung D. Le <[email protected]>

* Support reverse mode

Signed-off-by: Tung D. Le <[email protected]>

* Support exclusive mode

Signed-off-by: Tung D. Le <[email protected]>

* typos

Signed-off-by: Tung D. Le <[email protected]>

* Add lit test

Signed-off-by: Tung D. Le <[email protected]>

* typos

Signed-off-by: Tung D. Le <[email protected]>

* Change variable names

Signed-off-by: Tung D. Le <[email protected]>

* Edit comments

Signed-off-by: Tung D. Le <[email protected]>

* Check integers

Signed-off-by: Tung D. Le <[email protected]>

* Extract a common function to reduce code

Signed-off-by: Tung D. Le <[email protected]>
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