-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Conversation
There was a problem hiding this 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
6d00683
to
96f43c2
Compare
96f43c2
to
0f02b3d
Compare
There was a problem hiding this 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, |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
* [AutoScheduler] Fix custom build func in PopenWorker * Add assertion
* [AutoScheduler] Fix custom build func in PopenWorker * Add assertion
Fixed an issue introduced in #8492