Skip to content
Snippets Groups Projects
Commit 2fa0b16a authored by Yifan Zhao's avatar Yifan Zhao
Browse files

Finished piped binary support

parent f68e7c0f
No related branches found
No related tags found
No related merge requests found
Subproject commit 65165fafe9ea011bd172d869ca424d7a4d648a48
Subproject commit 6ff4237cf4386ebb4fcaeb5e448ef6eac8a41c91
......@@ -53,5 +53,7 @@ if not binary_file.is_file() or not metadata_file.is_file():
model, bin_tuneset, bin_testset, codegen_dir, target="hpvm_tensor_inspect"
)
exporter.generate(batch_size=batch_size).compile(binary_file, build_dir)
app = PipedBinaryApp("test", codegen_dir, "ops.json", f"build/{pathname}", "hpvm_fifo")
app.measure_qos_perf({}, False)
app = PipedBinaryApp("test", binary_file, metadata_file)
tuner = app.get_tuner()
tuner.tune(100, 3.0, is_threshold_relative=True, perf_model="perf_linear", qos_model="qos_p1")
tuner.dump_configs("configs.json")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment