junrushao commented on code in PR #12895:
URL: https://github.com/apache/tvm/pull/12895#discussion_r990232401
##########
tests/python/contrib/test_hexagon/test_meta_schedule.py:
##########
@@ -303,23 +309,20 @@ def test_vrmpy_dense_auto_tensorize(hexagon_launcher):
if True:
with tempfile.TemporaryDirectory() as work_dir:
- config = ms.TuneConfig(
- strategy="replay_trace",
+ target = get_hexagon_target("v68")
+ database = ms.tir_integration.tune_tir(
Review Comment:
this should work:
```
target = get_hexagon_target("v68")
database = ms.tir_integration.tune_tir(
mod=workload,
target=target,
max_trials_global=8,
num_trials_per_iter=8,
max_trials_per_task=8,
work_dir=work_dir,
space=ms.space_generator.PostOrderApply(
f_block_filter=None,
sch_rules=sch_rules,
postprocs=postprocs,
mutator_probs={},
),
builder=get_hexagon_local_builder(),
runner=get_hexagon_rpc_runner(hexagon_launcher, number=10),
)
sch = ms.tir_integration.compile_tir(database, workload, target)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]