Skip to content

Merge main -> google - #5961

Merged
copybara-service[bot] merged 5 commits into
iree-org:googlefrom
hanhanW:main-to-google
May 20, 2021
Merged

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

Conversation

@hanhanW

@hanhanW hanhanW commented May 20, 2021

Copy link
Copy Markdown
Contributor

ScottTodd and others added 5 commits May 19, 2021 11:05
)

This walks through the process of importing a model from [TensorFlow Hub](https://tfhub.dev/) step by step, including debugging and fixing missing serving signatures. At the end of the notebook it zips up compilation artifacts and downloads them to the user's machine.

See also iree-org#5556 for ways to make the debugging shown here less necessary or at least more user friendly.

Progress on iree-org#5591
add_module was renamed to add_vm_module in iree-org#5697, so this PR updates the usage in colab
…5934)

The lowering of linalg operations to scalar/vector code is modified to
use dynamic pass pipelines. A new pass LowerExecutableTargetPass is
added that lowers an executable to the scalar/vector code. This pass
sets the configuration to use when lowering the module within the
target operation. At the time of setting the configuration, the pass
to use is also decided. This is used to dynamically select the pass
pipeline to use for the lowering.

Currently only two pipelines exist. One for vectorization based
lowering and other to lower to scalar code directly. The existing
pipeline is reordered to make the distinction between lowering a
Linalg operation to scalar/native-vector operations and the pipeline
needed to convert those into LLVM Dialect. The latter must be
re-usable across all pipelines used for CPU lowering.
@google-cla google-cla Bot added the cla: yes label May 20, 2021
@copybara-service
copybara-service Bot merged commit 875e1c4 into iree-org:google May 20, 2021
@hanhanW hanhanW mentioned this pull request May 20, 2021
hanhanW added a commit that referenced this pull request May 20, 2021
* 32a9ab3 Synchronize submodules with LLVM at llvm/llvm-project@0316f3e64972
* 875e1c4 Merge pull request #5961 from hanhanW:main-to-google
* 3ff51b8 [HLO] Adopt custom syntax for convolution dimensions and window attributes (HLO)
* 6cdfd2a Synchronize submodules with LLVM at llvm/llvm-project@0316f3e64972
* 73f3e2c Integrate LLVM at llvm/llvm-project@0316f3e64972
* dce54d3 Add rocm directory dropped by the merge (#5957)
* 42ee299 Merge main -> 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