Skip to content

Conversation

@stellaraccident
Copy link
Collaborator

  • There is still some work on some of the ops to annotate correct types.
  • The ODS is not actually included into the dialect yet, but I'd like to commit it so that we can track changes.
  • Will reconcile this with the ops produced by the existing script in a followup. I can either attempt to do that in one step or simply include these into the dialect for now and transition all of it over the course of several commits (they do not have colliding names). I'm leaning towards the latter.

* There is still some work on some of the ops to annotate correct types.
* The ODS is not actually included into the dialect yet, but I'd like to commit it so that we can track changes.
* Will reconcile this with the ops produced by the existing script in a followup. I can either attempt to do that in one step or simply include these into the dialect for now and transition all of it over the course of several commits (they do not have colliding names). I'm leaning towards the latter.
Copy link
Contributor

@silvasean silvasean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. Left some ideas for improvements.

ATenAnyRefTensor:$out
);
let results = (outs
ATenAnyRefTensor:$result
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it intentional that this returns a ref? I would expect either an out param or a result, but not both.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks. The Python API does indeed return the out ref but there is no reason for these ops to be structured that way.

Copy link
Collaborator

@powderluv powderluv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nits.

@stellaraccident stellaraccident merged commit a74a980 into master Sep 16, 2020
@silvasean silvasean deleted the aten_ods branch June 15, 2021 22:31
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
* Fix a bug in createArrayAttribute

* Use size_t

* Use const auto&
@renxida renxida mentioned this pull request Mar 1, 2024
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.

5 participants