Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions include/tvm/meta_schedule/database.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <tvm/tir/schedule/schedule.h>
#include <tvm/tir/schedule/trace.h>

#include <filesystem>
#include <memory>

namespace tvm {
Expand Down
1 change: 1 addition & 0 deletions src/relax/transform/meta_schedule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Pass MetaScheduleApplyDatabase(ffi::Optional<ffi::String> work_dir, bool enable_
database = Database::Current().value();
} else {
ICHECK(work_dir.has_value());
std::filesystem::create_directories(work_dir.value().c_str());
ffi::String path_workload = work_dir.value() + "/database_workload.json";
ffi::String path_tuning_record = work_dir.value() + "/database_tuning_record.json";
LOG(WARNING) << "Creating JSONDatabase. Workload at: " << path_workload
Expand Down