Skip to content

Conversation

@azazhu
Copy link
Contributor

@azazhu azazhu commented May 28, 2021

We are porting our MLIR-based dynamic shape compiler to tf community (From OP def, Patttern, to Optimization pass, etc).
This is the third PR about tf2mhlo pattern conversion, which including ConvertSplitOpDynamic and ConvertSliceOpDynamic.
The rest pattern conversions we will add:

  • ConvertSqueezeOpxxx
  • ConvertStridedSliceOpxxx
  • ConvertTileOpxxx
  • ConvertTopKV2Opxxx
  • ConvertUnpackOpxxx
  • ConvertPrintOp
  • ConvertSigmoidGradOpxxx
  • ConvertSignOpxxx

@google-ml-butler google-ml-butler bot added the size:M CL Change Size: Medium label May 28, 2021
@google-cla google-cla bot added the cla: yes label May 28, 2021
@joker-eph
Copy link
Contributor

Can you add test coverage for this?

@gbaned gbaned self-assigned this May 28, 2021
@azazhu
Copy link
Contributor Author

azazhu commented May 29, 2021

Can you add test coverage for this?

added

auto loc = op.getLoc();
auto input = op.input();
auto begin_indices = op.begin();
auto sizes = op.size();
Copy link
Contributor

Choose a reason for hiding this comment

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

Please reverse auto for when the type is obvious from the immediate context and it improves readability.
(here and elsewhere)

(LG otherwise)

Copy link
Contributor

Choose a reason for hiding this comment

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

(sorry I wrote this 3 weeks ago but didn't send it properly...)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. BTW. If one commit fail on CI (such as "AMD ROCm -- Community CI Build"). The details link is unable to open usually. Is there any alternate method to get the failure information?

@google-cla
Copy link

google-cla bot commented Jun 18, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added cla: no and removed cla: yes labels Jun 18, 2021
@azazhu azazhu force-pushed the feature/disc_porting_tf_to_mhlo_pat_part2 branch from 35d5d63 to 65a0afd Compare June 18, 2021 13:11
@google-cla google-cla bot added cla: yes and removed cla: no labels Jun 18, 2021
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jun 21, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 21, 2021
@google-ml-butler google-ml-butler bot removed the ready to pull PR ready for merge process label Jun 22, 2021
@gbaned gbaned requested a review from joker-eph June 22, 2021 13:42
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jun 23, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 23, 2021
@joker-eph joker-eph added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Jun 24, 2021
@gbaned
Copy link
Contributor

gbaned commented Jun 24, 2021

@azazhu Can you please resolve conflicts? Thanks!

@gbaned gbaned removed the ready to pull PR ready for merge process label Jun 24, 2021
@azazhu
Copy link
Contributor Author

azazhu commented Jun 25, 2021

@azazhu Can you please resolve conflicts? Thanks!

Done

@gbaned gbaned requested a review from joker-eph June 25, 2021 13:44
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jun 26, 2021
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jun 26, 2021
@copybara-service copybara-service bot merged commit d5db8c0 into tensorflow:master Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes ready to pull PR ready for merge process size:M CL Change Size: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants