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

Revert updating mlir_native_functions.cpp signature #1281

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

henrytwo
Copy link
Member

pytorch/pytorch@a7edf71 has been reverted, so we need to also rollback our changes.

@henrytwo henrytwo self-assigned this Aug 25, 2022
@henrytwo henrytwo requested a review from ashay August 25, 2022 14:14
Copy link
Collaborator

@ashay ashay left a comment

Choose a reason for hiding this comment

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

Thanks much for the quick fix! This patch resolves the problem in my local build.

@henrytwo henrytwo marked this pull request as ready for review August 25, 2022 14:22
@henrytwo henrytwo merged commit a1ace06 into main Aug 25, 2022
@henrytwo henrytwo deleted the henrytu/revert_pt_sig_update branch August 25, 2022 17:00
henrytwo added a commit that referenced this pull request Aug 26, 2022
henrytwo added a commit that referenced this pull request Aug 26, 2022
qedawkins pushed a commit to nod-ai/torch-mlir that referenced this pull request Oct 3, 2022
This PR contains several changes/improvements to the Accelerator support code:

- use llvm::SmallVector rather than std::vector for accelerator list
- move initAccelerators() in the onnx_mlir::accel namespace (to avoid polluting the global namespace)
- add documentation to the public member function in the Accelerator class
- delete the nnpa pointers when ~NNPAAccelerator is invoked
- move createNNPA in the onnx_mlir::accel namespace
- initialize accelerator dialects also for onn-mlir-reduce

Signed-off-by: Ettore Tiotto etiotto@ca.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