Skip to content

Merge main -> google - #2691

Merged
GMNGeoffrey merged 31 commits into
iree-org:googlefrom
antiagainst:merge-main
Jul 28, 2020
Merged

GMNGeoffrey merged 31 commits into
iree-org:googlefrom
antiagainst:merge-main

Conversation

@antiagainst

@antiagainst antiagainst commented Jul 28, 2020 •

Copy link
Copy Markdown
Member

antiagainst and others added 30 commits July 16, 2020 12:32
Similar to cmake-nvidia, this allows us to run Vulkan tests.
This commit adds a docker image to build Ubuntu 18.04 together
with the Vulkan SDK and SwiftShader ICD. With this docker image,
we should be able to build IREE itself and run all Vulkan tests.
These are leftover from when we had a single branch on which we were
running continous builds. Now that we've got two persistent branches,
we have configs named after the branch name.
For some reason iree-org#2566 made the
integrations build run three times as long. Reverting until we can
figure out the root cause.

See iree-org#2653

Confirmed presubmits now take 20 minutes
It wasn't building cleanly with our existing Bazel overlay files and MSVC.

Fixes iree-org#2456
79962b8 Merge pull request iree-org#2650 from rsuderman:main-to-google
36b257b Synchronize submodules
39e9328 Integrate TF at tensorflow/tensorflow@63b8670
8ce0251 Synchronize submodules
79ececc Integrate LLVM at llvm/llvm-project@f7ffb12
4f5117e Synchronize submodules
4bc8f2c Integrate LLVM at llvm/llvm-project@9d2da67
iree-org#2646)

This commit adds Dockerfile and Kokoro configuration to run
IREE's TensorFlow integration tests on SwiftShader.
* Some python versions/installations use trampoline headers at the root.
Tested running on Windows and building (partially) on Linux. May need a direct (non-SSH) Linux session to test there.
)

* [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro

Similar to cmake-nvidia, this allows us to run Vulkan tests.

* Fix docker names in comments

* Update to the new structure

* Add build.sh and update build_and_update_gcr.py

* Move file to proper place

* Shuffle file again

* Disable sliding window

* Fix format
Instead of mounting the user's existing Bazel cache, create a fake home
directory under the Kokoro root directory.

This is another attempt at iree-org#2566
which had to be rolled back for the Bazel integrations build because it
made it three times slower. It turns out the root cause there is that
the docker container volumes are by default mounted in /tmpfs which on
Kokoro is a local-ssd. The home directory, on the other hand, is a
persistent SSD. The integrations job is running Bazel with 64 cores,
which means it's IO bound. The difference turns out to be substantial.

Fixes iree-org#2653

Tested:
Ran simulate_kokoro on the core build locally to confirm this doesn't
break RBE cloud credentials.
The integrations presubmit on this PR takes 20 minutes, as before.
Makes first progress on iree-org#1173:

* Defines `IREE_HAVE_EMITC_DIALECT` to enable conditional builds, which are CMake only so far
* Enables the EmitC dialect in iree-opt and iree-translate
* Adds a VMToEmitC conversion (test) pass
* Adds a C target to the VM

So far an empty file is written. In a follow up, we will implement EmitC -> textual C, (re)using EmitC's CppTarget within the CModule target.
…-org#2676)

Reverts iree-org#2482

This was broken in several ways. I'll try fixing it up and resubmitting.
Now possible because we've made the VMs authorized to do this.
Previously this could result in failed verification without further info.
@google-cla google-cla Bot added the cla: yes label Jul 28, 2020
@antiagainst
antiagainst force-pushed the merge-main branch 2 times, most recently from f80864f to c404740 Compare July 28, 2020 22:00
copybara-service Bot pushed a commit that referenced this pull request Jul 28, 2020
* c404740 Merge pull request #2677 from antiagainst/google-to-main
* 300ea5e Report error message for type mismatch (#2666)
* 0a9b126 Upload integrations bazel invocation to result store (#2658)
* e84db55 Revert "Add GitHub action to create PRs merging google -> main" (#2676)
* 360e2f0 Add a VM to EmitC conversion and CModule Target (#2536)
* 7283cee Avoid running docker builds as root (#2663)
* ffc7080 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro (#2546)
* f536871 Enable iota.test on vulkan-spirv and llvm-ir backends. (#2670)
* 326a995 Update third_party/sdl2 submodule to latest. (#2657)
* 6326322 Include python headers even if nested. (#2669)
* 06ed2db Add matmul tile and vectorize lowering stratgy to LinalgToLLVM passes (#2608)
* a1914e7 Add a ZLIB find_package call for INSTALLED llvm builds.
* d7412e9 Merge remote-tracking branch 'origin/main' into bazel-gpu
* d687de8 Fix format
* 96e224c [ci] Add Dockerfile and Kokoro configuration for Bazel and SwiftShader (#2646)
* 6e5ddbc Test entry function conversion to LLVMIR (#2641)
* 314afa5 Disable sliding window
* 36f8551 Merge google -> main #2656
* 8baacad Disable SDL sensor support on Windows. (#2655)
* 2b91d9a Run integrations build as root (#2654)
* b784bf2 Delete unnecessary 'continuous' Kokoro configs (#2649)
* 84f52e1 Fixes dead getting started link. (#2652)
* 50d15b4 Shuffle file again
* a33973e [ci] Add docker and kokoro configuration for SwiftShader (#2628)
* 71dbd91 Move file to proper place
* c9cd5f0 Add build.sh and update build_and_update_gcr.py
* 1172972 Update to the new structure
* ac7d661 Merge remote-tracking branch 'origin/main' into bazel-gpu
* 1425737 Fix flatcc target name and binary path (#2599)
* 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp..
* 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct..
* eb53de3 Building bytecode_module_def with flatcc.
* a47b4bd Fix docker names in comments
* c8bc5aa Merge remote-tracking branch 'origin/main' into bazel-gpu
* 6622499 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro

COPYBARA_INTEGRATE_REVIEW=#2691 from antiagainst:merge-main c404740
PiperOrigin-RevId: 323662370
@GMNGeoffrey

Copy link
Copy Markdown
Member

Copybara screwed up and didn't actually merge this :-(

@GMNGeoffrey
GMNGeoffrey merged commit eba2e1f into iree-org:google Jul 28, 2020
@antiagainst
antiagainst deleted the merge-main branch July 28, 2020 23:03
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.

10 participants