Skip to content

Merge main -> google - #3733

Merged
copybara-service[bot] merged 14 commits into
iree-org:googlefrom
hanhanW:main-to-google
Nov 5, 2020
Merged

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

Conversation

@hanhanW

@hanhanW hanhanW commented Nov 5, 2020

Copy link
Copy Markdown
Contributor

hanhanW and others added 14 commits November 4, 2020 10:03
* 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
```
@google-cla google-cla Bot added the cla: yes label Nov 5, 2020
@copybara-service
copybara-service Bot merged commit 1cd3a18 into iree-org:google Nov 5, 2020
@hanhanW hanhanW mentioned this pull request Nov 5, 2020
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
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