Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BYOC-OpenCLML] OpenCLML integration with TVM. #10243

Merged
merged 2 commits into from
Jun 14, 2022

Conversation

srkreddy1238
Copy link
Contributor

Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

@areusch
Copy link
Contributor

areusch commented Apr 8, 2022

@masahi can you take a look?

@masahi
Copy link
Member

masahi commented Apr 9, 2022

@srkreddy1238 Do you intend to get it merged? If so, please pass the CI

@srkreddy1238
Copy link
Contributor Author

@masahi working on it. Was occupied for some time.

@srkreddy1238 srkreddy1238 force-pushed the clml_upstream branch 3 times, most recently from 7e609ca to 222a74e Compare May 18, 2022 17:01
@srkreddy1238
Copy link
Contributor Author

@masahi good to go now :)

Copy link
Member

@masahi masahi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please go through your code and improve code quality.

python/tvm/relay/op/contrib/clml.py Outdated Show resolved Hide resolved
python/tvm/relay/op/contrib/clml.py Outdated Show resolved Hide resolved
python/tvm/relay/op/contrib/clml.py Outdated Show resolved Hide resolved
python/tvm/relay/op/contrib/clml.py Outdated Show resolved Hide resolved
python/tvm/relay/op/contrib/clml.py Outdated Show resolved Hide resolved
src/runtime/contrib/clml/clml_utils.h Outdated Show resolved Hide resolved
src/runtime/contrib/clml/clml_runtime.cc Outdated Show resolved Hide resolved
src/runtime/contrib/clml/clml_runtime.cc Outdated Show resolved Hide resolved
src/runtime/contrib/clml/clml_runtime.cc Outdated Show resolved Hide resolved
LOG(WARNING) << "CLML engine is not initialized. "
<< "Please build with USE_CLML_GRAPH_EXECUTOR.";
}
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a dummy runtime file for this case, rather than wrapping the entire 1k file under #ifdef TVM_GRAPH_EXECUTOR_CLML?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like clml_runtime_dummy.cc with bare min dependencies required for model compilation ? This is a common problem for all BYOC's. Do we create these stub sources under the same folder ?

@srkreddy1238 srkreddy1238 force-pushed the clml_upstream branch 3 times, most recently from 97c84b5 to 8a36c25 Compare June 7, 2022 06:09
@srkreddy1238
Copy link
Contributor Author

srkreddy1238 commented Jun 14, 2022

@masahi can you take another look ?

@masahi masahi merged commit 27b0aad into apache:main Jun 14, 2022
@Nick-infinity
Copy link

Thank you for your amazing contribution

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.

4 participants