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

[Nuphar] added Gemm-to-MatMul conversion in model editor #4691

Merged
merged 2 commits into from
Aug 5, 2020

Conversation

yangchen-MS
Copy link
Contributor

  • added a mode gemm_to_matmul that turns Gemm Ops into MatMul Ops

  • enabled model_quantizer to quantize MatMul inside a Loop op

  • this PR also included Gemm-11 support from Ke Deng

* added a mode gemm_to_matmul that turns Gemm Ops into MatMul Ops

* enabled model_quantizer to quantize MatMul inside a Loop op

* this PR also included Gemm-11 support from Ke Deng
@yangchen-MS yangchen-MS requested a review from ke1337 August 3, 2020 15:48
@yangchen-MS yangchen-MS requested a review from a team as a code owner August 3, 2020 15:48
ke1337
ke1337 previously approved these changes Aug 3, 2020
Copy link
Contributor

@ke1337 ke1337 left a comment

Choose a reason for hiding this comment

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

:shipit:

Fixed a couple of old bugs exposed by the newly-added tests and the support
of Gemm-11, including:

* correctly handle aliasing among states and outputs in Scan

* fixed a transpose issue in building tvm IR for MatMul

* fixed an issue related to generating IR for computing Gemm alpha

* disabled several tests that triggered some deep issue (likely) in
  the graph partitioner. I think it might be better to have a separate
  PR to address the issue.
Copy link
Contributor

@ke1337 ke1337 left a comment

Choose a reason for hiding this comment

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

:shipit:

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