Skip to content

Merge main -> google - #2462

Merged
copybara-service[bot] merged 15 commits into
iree-org:googlefrom
GMNGeoffrey:main-to-google
Jul 10, 2020
Merged

copybara-service[bot] merged 15 commits into
iree-org:googlefrom
GMNGeoffrey:main-to-google

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 9, 2020 •

Copy link
Copy Markdown
Member

GMNGeoffrey and others added 11 commits July 8, 2020 09:26
* 3ae105b Merge pull request iree-org#2445 from GMNGeoffrey:main-to-google                        
* 9e52b74 Synchronize submodules                                                          
* 0b20de8 Integrate LLVM at llvm/llvm-project@24b62f28c5da      
* 85489ac Synchronize submodules                                                          
* 45e5246 Integrate LLVM at llvm/llvm-project@1ea289681acf      
* e24ab78 Synchronize submodules                                                          
* d7d5441 Integrate LLVM at llvm/llvm-project@f54d0e36be6a      
* f5874c8 Merge pull request iree-org#2436 from GMNGeoffrey:main-to-google                        
* b25a01c Synchronize submodules                                                          
* 9476646 Integrate LLVM at llvm/llvm-project@8691544a2767      
* ccaccc5 Synchronize submodules                                                          
* e1caa65 Integrate LLVM at llvm/llvm-project@6cff71e92e64
…ree-org#2417)

Replaces all of the `gcr_update.sh` scripts that were in `build_tools/docker/...` with a script `build_tools/docker/build_and_update_gcr.py` which:

- builds the image specified by `--image` and any images dependent on it
- tags the images it builds with `--tag`, which defaults to `latest`
- and pushes the images to the Google Container Registry if the `--push` flag is provided.

This change makes it easier to update the images on GCR, and also allows the user to rebuild images and their dependencies without pushing for local development.
* Add hal/cts:command_queue_test.

Roughly forked from hal/host:async_command_queue_test, with generalizations made for testing across HAL backends. For example, I omitted failure tests without a clear way to trigger or simulate failures that would be recognized by all backends.

* Disable command_queue_test on Vulkan.

Several test cases fail for different reasons with timeline semaphore emulation.
…ree-org#2434)

This should fix the issue where our CMake presubmits would sometimes take twice as long as they should.

Explanation:
The problem was that (for some reason) `bash` was evaluating `rm -rf "${KOKORO_ARTIFACTS_DIR?}/*"` to `rm -rf '/tmpfs/src/*'`. The additional single quotes would cause `rm` to fail with a directory not found error, which would be swallowed by the `-f` flag.

Removing the double quotes around the `/*` expansion removes the single quotes that appear when `bash` + `rm` evaluates it. This gives a permission denied error, which we fix by adding `sudo`.
Adding initial vm.list implementation
* 86bdc68 Synchronize submodules                                                          
* ab93a55 Update TF Submodule                                                             
* b1ff789 Synchronize submodules                                                          
* 1104b71 Integrate LLVM at llvm/llvm-project@305b500eaf8c      
* 142c534 PR #40745: [MLIR] Add constant folder for xla_hlo.broadcast_in_dim op           
* 552d4e6 Cleanup build rule names in compiler/mlir/hlo to remove the redundant/obsolete..
* 8df9626 Synchronize submodules                                                          
* 8d23453 Update TF Submodule and LLVM BUILD files.                                       
* bb49781 Tag simple embedding test more specifically for CI exclusion                    
* 9d8c81c Run linalg tensor fusion twice to fuse linalg reshape ops                       
* fc9ce8b Rename XlaHloDialect class into MhloDialect following the recent dialect names..
* d949ea6 Rename xla_chlo dialect into chlo                                               
* a123ac8 Rename xla_lhlo dialect into lmhlo                                              
* a58ea86 Synchronize submodules                                                          
* e6ec52b Update TF submodule and LLVM BUILD files
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

asan leaks and timeouts on import :-(

benvanik added 2 commits July 9, 2020 17:13
Without being registered the destructor would not be called.
Fixes iree-org#2463.
If you just pass a VM bytecode module with no HAL module to `iree_vm_context_create_with_modules`, now the error message is:

```
Unable to resolve VM function 'hal.ex.shared_device'. Ensure modules are registered with the context.
```
@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.

@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 10, 2020
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Code already merged into main

…andQueue." (iree-org#2465)

Reverts iree-org#2431

This commit is causing mysterious timeouts in some vulkan configurations. We'll continue to investigate, but to unblock integration, going to revert for now. Lack of GPU testing in OSS is hurting us 😢

@ScottTodd confirmed that reverting eliminates the timeouts.
@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.

@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 10, 2020
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Yeah still already submitted commits googlebot...

@copybara-service
copybara-service Bot merged commit 07c9af5 into iree-org:google Jul 10, 2020
GMNGeoffrey added a commit that referenced this pull request Jul 10, 2020
* defa1d9 Synchronize submodules                                                          
* a626b68 Update TF Submodule and LLVM BUILD files.                                       
* ae90fc5 Synchronize submodules                                                          
* a29d6a9 Integrate LLVM at llvm/llvm-project@c2a61ef38850      
* 07c9af5 Merge pull request #2462 from GMNGeoffrey:main-to-google
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