Skip to content

Commit

Permalink
Revert evil work around.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxybazh committed Jan 13, 2022
1 parent 1ee1c68 commit 214db44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/meta_schedule/space_generator/post_order_apply.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PostOrderApplyNode : public SpaceGeneratorNode {
tir::Schedule sch = tir::Schedule::Traced( //
/*mod=*/mod_, //
/*rand_state=*/ForkSeed(&this->rand_state_), //
/*debug_mode=*/0, // tir::kVerifySRefTree | tir::kVerifyCachedFlags
/*debug_mode=*/tir::kVerifySRefTree | tir::kVerifyCachedFlags,
/*error_render_level=*/tir::ScheduleErrorRenderLevel::kDetail);

std::vector<ScheduleAndUnvisitedBlocks> stack;
Expand Down
4 changes: 2 additions & 2 deletions tests/python/unittest/test_meta_schedule_tune_relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
logging.getLogger("tvm.meta_schedule").setLevel(logging.DEBUG)


@pytest.mark.skip("Integration test")
@pytest.mark.parametrize("model_name", ["bert_base"])
# @pytest.mark.skip("Integration test")
@pytest.mark.parametrize("model_name", ["resnet18", "mobilenet_v2", "bert_base"])
@pytest.mark.parametrize("batch_size", [1])
@pytest.mark.parametrize("target", ["llvm --num-cores=16", "nvidia/geforce-rtx-3070"])
def test_meta_schedule_tune_relay(model_name: str, batch_size: int, target: str):
Expand Down

0 comments on commit 214db44

Please sign in to comment.