Skip to content

[CLML][RUNTIME] Enable more ops support in runtime#13825

Closed
krishnaraj36 wants to merge 29 commits intoapache:mainfrom
krishnaraj36:clml_ops_update
Closed

[CLML][RUNTIME] Enable more ops support in runtime#13825
krishnaraj36 wants to merge 29 commits intoapache:mainfrom
krishnaraj36:clml_ops_update

Conversation

@krishnaraj36
Copy link
Copy Markdown
Contributor

Enable more clml ops (DepthToSpace, Resize bilinear) and update in concat layer in runtime.

@tvm-bot
Copy link
Copy Markdown
Collaborator

tvm-bot commented Jan 23, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

krishnaraj36 and others added 27 commits January 23, 2023 05:27
apache#13812)

This PR separates the CRT template project for microTVM from CRT standalone library build. The CRT template project would move to build/microtvm_template_projects.

It also adds uploading microtvm_template_projects to S3 in few images that were missing this previously.
This PR adds ObjectPath to LiteralDoc to allow integer/float/string/...
literals to have their own object path. This is a final preparation
towards structural error rendering when SEqual fails.
…13824)

* [Metaschedule] get_top_k should not return not built records

* [Metaschedule][NFC] GetTopK extra polishing
This PR is the follow up of apache#13813. We simplify the printing output of `T.allocate` with `T.decl_buffer`. For example, we have a code snippet as 

```python
buffer_data = T.allocate(...)
buffer = T.decl_buffer(..., data=buffer_data)
T.evaluate(buffer_data)
```

Originally, we skip the `T.allocate` only if the var `buffer_data` defined by `T.allocate` is used only once by the following `T.decl_buffer`. This was due to the limitation of the old printer design. 

But in the new printer, we may automatically replace the `buffer_data` with `buffer.data` if skipping the definition of `buffer_data`. We are able to link all `buffer_data` usages together. So the new output result will be like

```python
buffer = T.decl_buffer(...)
T.evaluate(buffer.data)
```
@krishnaraj36 krishnaraj36 deleted the clml_ops_update branch January 2, 2024 08:42
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.

6 participants