Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/meta_schedule/space_generator/post_order_apply.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,9 @@ class PostOrderApplyNode : public SpaceGeneratorNode {
ann.defined() ? runtime::Registry::Get(ann.value()) : nullptr;
const bool has_schedule_rule = custom_schedule_fn != nullptr;

if (ann.defined() && !has_schedule_rule) {
TVM_PY_LOG(WARNING, this->logging_func)
<< "Custom schedule rule not found, ignoring schedule_rule annotation: "
<< ann.value();
if (ann.defined() && ann.value() != "None" && !has_schedule_rule) {
LOG(WARNING) << "Custom schedule rule not found, ignoring schedule_rule annotation: "
<< ann.value();
}

if ((has_schedule_rule && sch_rule.defined()) ||
Expand Down