diff --git a/python/tvm/meta_schedule/testing/dataset_sample_candidates.py b/python/tvm/meta_schedule/testing/dataset_sample_candidates.py index 3b599baafd870..c80d78173e2e4 100644 --- a/python/tvm/meta_schedule/testing/dataset_sample_candidates.py +++ b/python/tvm/meta_schedule/testing/dataset_sample_candidates.py @@ -128,7 +128,7 @@ def sample_candidates(task, task_name, model_name): context.initialize() context.pre_tuning( context.generate_design_space(), - database=ms.database.MemoryDatabase(), + database=ms.database.MemoryDatabase(), # type: ignore cost_model=ms.cost_model.RandomModel(), # type: ignore )