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

[AutoScheduler] Fix custom build func in PopenWorker #8939

Merged
merged 2 commits into from
Sep 8, 2021

Conversation

vinx13
Copy link
Member

@vinx13 vinx13 commented Sep 6, 2021

Fixed an issue introduced in #8492

Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

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

LGTM. Please fix the lint

@vinx13 vinx13 force-pushed the fix/auto_scheduler_custom_build branch 2 times, most recently from 6d00683 to 96f43c2 Compare September 7, 2021 01:55
@vinx13 vinx13 force-pushed the fix/auto_scheduler_custom_build branch from 96f43c2 to 0f02b3d Compare September 7, 2021 16:59
@vinx13 vinx13 merged commit 332afae into apache:main Sep 8, 2021
Copy link
Contributor

@shingjan shingjan left a comment

Choose a reason for hiding this comment

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

LGTM. Some nit

@@ -701,7 +700,7 @@ def local_builder_build(inputs, timeout, n_parallel, build_func="default", verbo
[
(
i.serialize(),
build_func,
BuildFunc.build_func,
Copy link
Contributor

@shingjan shingjan Sep 8, 2021

Choose a reason for hiding this comment

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

If we are passing the callable function here, should we also change the type of this argument from str to callable at line 655?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, could you send a PR?

ylc pushed a commit to ylc/tvm that referenced this pull request Sep 29, 2021
* [AutoScheduler] Fix custom build func in PopenWorker

* Add assertion
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
* [AutoScheduler] Fix custom build func in PopenWorker

* Add assertion
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.

3 participants