Skip to content

Merge google -> main - #2419

Merged
GMNGeoffrey merged 25 commits into
iree-org:mainfrom
GMNGeoffrey:google-to-main
Jul 7, 2020
Merged

GMNGeoffrey merged 25 commits into
iree-org:mainfrom
GMNGeoffrey:google-to-main

Conversation

@GMNGeoffrey

Copy link
Copy Markdown
Member

joker-eph and others added 25 commits July 1, 2020 12:20
…ir/hlo

We're preparing to restructure the MLIR HLO ecosystem with 5 dialects:

- chlo: client dialect with explicit broadcast and multiple composite operations
- mhlo: hlo with dynamic shape, decouple from XLA for evolution purpose
- lmhlo: same as above, but after buffer assignment.
- xla_hlo: mapping 1:1 to the XLA HloInstruction class.
- xla_lhlo: same as above, but after buffer assignment.

The first three dialects are intended to live in the new tensorflow/compiler/mlir/hlo
path, the latter two will be created in tensorflow/compiler/mlir/xla.

This patch only moves the directory, will followup with other transformations and tests.

The structure of the new directory follows: https://llvm.discourse.group/t/rfc-canonical-file-paths-to-dialects/621 as we intend to make it a standalone buildable component (see also https://github.com/google/mlir-npcomp as another example).

PiperOrigin-RevId: 319273229
Automated submodule bump from .github/workflows/update_tf.yml

COPYBARA_INTEGRATE_REVIEW=iree-org#2398 from google:auto_submodule_update 7289a00
PiperOrigin-RevId: 319786007
This is as straighforward as possible, more cleanup/rewrite to come.

PiperOrigin-RevId: 319849713
The parts of the XLA dialects that we use have moved to a new directory in tensorflow (soon to be a separate repo). This updates the TF submodule to pick up these changes (including some fixes since last time that unbreak the integrations build) and fix the CMake files to match. We no longer need the XLA cmake file at all. Just the MLIR HLO CMake file.

Commits of note from TF:
 - tensorflow/tensorflow@2a248d7
 - tensorflow/tensorflow@bbcc0cc

COPYBARA_INTEGRATE_REVIEW=iree-org#2416 from GMNGeoffrey:submodule-update 23b7317
PiperOrigin-RevId: 319889540
@googlebot

Copy link
Copy Markdown

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

All commits have already been contributed to the repo

@googlebot

Copy link
Copy Markdown

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@googlebot googlebot removed the cla: no label Jul 7, 2020
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

So... should we trim the commit history? Some potential thoughts:

  1. Reverse the history so it's chronological top->bottom instead of bottom->top (earliest commit first).
  2. Strip all "synchronize submodules" commits
  3. Strip all but the most recent LLVM integrate commits
  4. Strip merge commits

With all of those, this would look like:

@marbre

marbre commented Jul 7, 2020 •

Copy link
Copy Markdown
Member

I think earliest commit first already is chronological and should be fine or not ? Regarding point 2, 3 and 4, this defensively leaves the history much cleaner.

@ScottTodd

Copy link
Copy Markdown
Member

Are you talking about editing the actual commits included, or just updating the message used in the merge commit?

  • I'm skeptical of any processing on the commits as part of the merge. While those proposed changes (except the ordering) do make the diff slimmer, we should be able to merge branches with as little effort as possible (that means no scripts, just a few git commands :P).
  • The merge commit message isn't that important IMO - all the information in it is already contained in the commits it includes.

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

I'm just talking about the message. Rewriting the commit history would screw up the merging process. I agree the message information is already contained in the history, but that history isn't bisectable. I think making git log --first-parent usable is a good goal, since it's easier to look at and captures the bisectable history. You can then explore merge commit history in addition if you want

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Going to merge this as-is for now, as it is approved. We can discuss further description cleanup.

@GMNGeoffrey
GMNGeoffrey merged commit 32fed9d into iree-org:main Jul 7, 2020
@GMNGeoffrey
GMNGeoffrey deleted the google-to-main branch July 7, 2020 17:21
@GMNGeoffrey GMNGeoffrey mentioned this pull request Jul 8, 2020
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.

9 participants