Repository navigation
Merge main -> google - #3733
Merged
Merged
Merge main -> google#3733
Conversation
hanhanW
commented
Nov 5, 2020
Contributor
- 98aa56f Revert "Relax TorchIndexSelectOp to fuse with other ops. (Relax TorchIndexSelectOp to fuse with other ops. #3682)" (Revert "Relax TorchIndexSelectOp to fuse with other ops." #3731)
- a4ee4ff Add directory structure for kws streaming artifacts (Add directory structure for kws streaming artifacts. #3726)
- 436e5ef Miscellaneous fixes to address issues seen with vectorization. (Miscellaneous fixes to address issues seen with vectorization. #3681)
- 3b9a9f0 Relax TorchIndexSelectOp to fuse with other ops. (Relax TorchIndexSelectOp to fuse with other ops. #3682)
- e4b95e0 Refactor shared functionality out of IREE tools (Refactor shared functionality out of IREE tools #3727)
- 3e33d5d Move python test out of TF compiler directory (Move python test out of TF compiler directory #3725)
- 5251652 Run CSE after FusionOnTensor (Run CSE after FusionOnTensor #3722)
- 7c1e053 Add (disabled) tests of KWS external streaming (Add (disabled) tests of KWS external streaming. #3723)
- 4fc5a16 Enable 'svdf_resnet' and 'xception' kws tests on IREE (Enable newly passing 'svdf_resnet' and 'xception' kws tests on IREE #3721)
- f0d42ce Add missing dependency on tensorflow_hub to slim_vision_tests (Add missing dependency on tensorflow_hub to slim_vision_tests #3724)
- 881379c Force fetch tags from llvm-bazel (Force fetch tags from llvm-bazel #3720)
- 3e59369 Simplify model initialization for kws streaming tests (Simplify model initialization for kws streaming tests #3706)
- 8bfc7e9 Add support for stdin to iree-benchmark-module (Add support for stdin to iree-benchmark-module #3708)
- 9e7352d Merge google -> main (Merge google -> main #3719)
* 583c5ea Merge pull request iree-org#3718 from hanhanW:main-to-google * 81247d7 Synchronize submodules * 5734833 Synchronize submodules with LLVM at llvm/llvm-project@76313288cd7d * f842e2f Synchronize submodules * 09ebf2d Integrate LLVM at llvm/llvm-project@76313288cd7d * 73f5a7a Synchronize submodules * 58877ec Integrate LLVM at llvm/llvm-project@8475fa6ed6bb * 82bb128 Synchronize submodules * 527884d Integrate LLVM at llvm/llvm-project@33945cdd62c4 * fef7eda Update commit for kws_streaming in IREE OSS. * c9aaac5 **KWS Streaming Changes**
Now that we dynamically register benchmarks we don't need to worry about the input getting loaded multiple times by the benchmark framework, so we can support stdin. Did a little bit of test cleanup while I was in there.
Also generalizes the input shape specification to allow external streaming to be easily enabled after a keras bug is fixed.
llvm-bazel does not guarantee that flag refs will be stable, so we need to use `--force` to update them.
…rg#3724) This only affects the tests when they run internally.
A tensorflow bug prevents us from running these tests, but this will make it trivial to enable them once that bug is fixed, and allows me to monitor that by running the failing tests.
Make sure all hal.load.tensor are unique
This is the only Python file in this otherwise C++ compiler. It depends on the Python bindings and belongs better over there IMO.
After moving the op to tensors world, the ops can be fused with their consumer. The patch also allows the ops to live with their producers in the same dispatch function. This does not break any models. Go through some models and lowering from TF, the input of the ops usually are from constant or model input, which becomes a buffer in IREE. Fixes iree-org#3562
…org#3681) Propogate tile sizes to use on root operation to all dependent operations. This enables each operation can be tiled the same way if needed. Also modifies the allocation/deallocation callbacks to allocate workgroup memory at the entry of the function and not explicitly deallocate it. This better matches semantics of workgroup memory and also avoid complications arising from having to hoist the allocation.
Also adds the kws_streaming test suites to `get_e2e_artifacts.py`.
Directory structure:
```
/tmp/iree/modules/keyword_spotting
├── att_mh_rnn
│ ├── external_streaming
│ ├── internal_streaming
│ └── non_streaming
├── att_rnn
│ ├── external_streaming
│ ├── internal_streaming
│ └── non_streaming
├── cnn
│ ├── external_streaming
│ ├── internal_streaming
│ └── non_streaming
.
.
.
└── xception
├── external_streaming
├── internal_streaming
└── non_streaming
```
…)" (iree-org#3731) This reverts commit 3b9a9f0.
Merged
hanhanW
added a commit
that referenced
this pull request
Nov 5, 2020
* 1cd3a18 Merge pull request #3733 from hanhanW:main-to-google * 4809567 Synchronize submodules * 28f10b1 Synchronize submodules with LLVM at llvm/llvm-project@2f84b59a4cf9 * db2a762 Synchronize submodules * cd8ce40 Integrate LLVM at llvm/llvm-project@2f84b59a4cf9 * 40991d4 Synchronize submodules * 34db1a3 Integrate LLVM at llvm/llvm-project@b715fa330dfa * 6f307b4 Synchronize submodules * 90bc6ab Integrate LLVM at llvm/llvm-project@5b29d26b21bb * 5b5f8d6 fix type of makeInitializedUnrankedDescriptor
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.