Repository navigation
Merge main -> google - #2606
Merged
copybara-service[bot] merged 37 commits intoJul 21, 2020
Merged
Merge main -> google#2606
Conversation
This reverts commit 19e6574.
…-org#2545) - Move parsing method to vm_util. - Enable the feature for benchmark_module and run_module as well. Fixes iree-org#2304
Moves the bulk of our bazelrc to a separate directory and then imports it in the workspace bazelrc. This allows us to remove the workspace rc from CI build scripts, which means that when running them locally we're actually running with the same flags for reproducible builds and cache hits.
Submodule updates and markdown formatting. * d0a0981 Merge pull request iree-org#2549 from ScottTodd:main-to-google * bc2a087 Synchronize submodules * 4d7a87b Integrate TF at tensorflow/tensorflow@e36aca0132fb * 3d57584 Synchronize submodules * bb3c982 Integrate LLVM at llvm/llvm-project@de0c6bd56b41 * db1898c Synchronize submodules * 1d14c78 Integrate LLVM at llvm/llvm-project@e297006d6f02 * 1f41395 Synchronize submodules * 757ce14 Integrate LLVM at llvm/llvm-project@6bba95831e48 * 38617f1 Synchronize submodules * 11adbdc Integrate LLVM at llvm/llvm-project@8ef9e2bf355d * 71b5a11 Synchronize submodules * 6da6e43 Integrate LLVM at llvm/llvm-project@1d3f61f8a799
…-org#2484) This commit adds a Dockerfile for packing the NVIDIA driver and Vulkan SDK inside a docker image and redirects the CMake tests to use this docker image to enable testing Vulkan HAL backend. Co-authored-by: Geoffrey Martin-Noble <[email protected]>
…#2562) - `SavedModelTestCase` is renamed to `CompiledModuleTestCase`, since we have moved away from using `SavedModel`s as inputs to our e2e tests. - Now `tf_test_utils.compile_module` and `CompiledModule.create` both take a `tf.Module` subclass as their input. Previously we allowed either a "`tf.Module` subclass" or a "function which returns a `tf.Module` subclass instance" to be passed under the name `ctor`. This also allows us to assume that `module_class` has a `__name__` attribute, which we can use when saving compilation/benchmarking artifacts.
* Reworks some atomic syntactic things (I *think* what I did is legal, but this is skating pretty far into compiler specific territory). * Other misc fixes. * Passes most tests in debug builds (appears to be just GPU tests failing -- I don't have a GPU in this container). * Saw some evidence that release builds are segfaulting in iree-translate. Not yet triaged. * This makes iree building in dockcross manylinux2014-x64 (needed to build portable pips). Fixes iree-org#1269
* Found on gcc 9.1 Release build. * With this fix, non-GPU tests pass on gcc 9.1 (GPU tests not verified). Fixes iree-org#2570
…efs. This makes it easier to read and could be auto generated at some point. Progress on iree-org#2574.
…ree-org#2561) Adding size benchmark executable for measuring the total size of iree/vm. When properly trimmed this should only pull in the parts of the CRT that we use and nothing else. Today it's about ~30KB for the VM, ~30KB for iree/base logging/status, and 400KB for random abseil/STL junk. See issue iree-org#898 for details.
Still using absl::Now() to get the current time (as it does some magic) but that will be replaced in the future.
Our only use is now for querying the system time, which if the timezone stuff isn't stripped after this we can fork.
This makes it easier to support more types as now fewer locations have special-case logic on the exact typed global op and there's a single source of truth for rwdata placement.
These make it easier (though not yet easy enough) to access ref elements.
Though this (in theory) grows the ref<T> size by a word, that's fine. This avoids a bunch of additional code that would have been required to convert into and out-of the C handles.
…e C++ ref<T> wrapper
2d67f24 Synchronize submodules f852c25 Integrate LLVM at llvm/llvm-project@7ca9b58 d5c356d Synchronize submodules 6547ad7 Integrate LLVM at llvm/llvm-project@e3d646c 7e0194b Synchronize submodules 7eff048 Integrate LLVM at llvm/llvm-project@cf5df40 9017cb1 Synchronize submodules 0ad786d Integrate LLVM at llvm/llvm-project@5d06e8b b2a74d1 Adds a JNI wrapper around IREE Function
IREE doesn't support `python2`.
…k on pybindings (iree-org#2585) * Fixed vulkan errors for non-uninitialized lists. * Fixed VM error with incorrect error printing.
* Step 1 of creating multi-python bindings. * Adds the cmake machinery to configure the build to produce native modules for all specified python versions (should also work for python cross compile). * The default is as it has been (to use the identified default python config). * I had hoped to make a common library for this that I could share with LLVM, but IREE's use of CMake is too quirky and it would be easier to just adapt vs share. * This marks the end of the road for bazel_to_cmake support for python. I see no maintainable way to have a single sot that spans cmake, bazel and Google's bazel: they are all just too weird when it comes to shenanigans needed to built python extensions effectively. * I'm going to transition all of the python packages to more of a CMake-normal syntax (versus this weird dep naming and other stuff we do to make it look like Bazel): Python will be divergent forever and I don't care if it is a bit different from the rest (and more consistent with upstream, which I am also working on). * Also fixed some default device enumeration issues in tests that were keeping me from making progress (no GPU on this container). * I intend to remove/simplify the current machinery for this stuff but have left it in place for now (to simplify rollbacks and diffs). * Adopt name mangling scheme. * Fix PYEXT_DEPS on iree_py_library. * Remove obsolete files. * Fix typo. * Add pybind11 include dir.
* This will do the right thing when building from a directory that contains multiple version/platform specific extension modules.
Use the actual versioned extension suffix when building wheels.
This makes it possible to easily define the extension op tables and keep them in sync with the runtime dispatch code.
This was referenced Jul 21, 2020
Closed
Closed
Merged
Closed
rsuderman
added a commit
that referenced
this pull request
Jul 22, 2020
1629b84 Merge pull request #2623 from rsuderman:main-to-google ad2d973 Merge branch 'google' into main-to-google ab3ea3b Synchronize submodules bbfe1be Integrate LLVM at llvm/llvm-project@5623da5 92b0c5b Synchronize submodules 2b6b605 Integrate LLVM at llvm/llvm-project@82dbb1b a750dc5 Synchronize submodules 7a53ab7 Integrate LLVM at llvm/llvm-project@b258920 3d7c8aa Using llvm file utils instead of iree::file_io for LLVMAOTLinker 61a2fdd Integrate LLVM at llvm/llvm-project@8a268be 24d9dd8 Integrate TF at tensorflow/tensorflow@dca2939 6cbc838 Merge pull request #2606 from rsuderman:main-to-google e1feab1 Synchronize submodules 5c611ea Some formatting fixes 03a3754 Integrate LLVM at llvm/llvm-project@61dd481 9a14928 Integrate LLVM at llvm/llvm-project@becaa68 ccb96b9 Integrate LLVM at llvm/llvm-project@30371df 64115d6 Synchronize submodules 0b5edca Integrate LLVM at llvm/llvm-project@fc24d1e Updates LLVM usage to match [.. bc52b62 Synchronize submodules d51e2eb Integrate LLVM at llvm/llvm-project@78f543e d9fb171 Synchronize submodules b2b13eb Integrate LLVM at llvm/llvm-project@f959585
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
integrations/...#2564)SavedModelTestCase(Simplify module compilation and renameSavedModelTestCase#2562)