tqchen opened a new issue #7548:
URL: https://github.com/apache/tvm/issues/7548
```
=================================== FAILURES
===================================
__________ test_correctness_layout_rewrite_rewrite_for_preTransformed
__________
@tvm.testing.requires_llvm
def test_correctness_layout_rewrite_rewrite_for_preTransformed():
N = 128
target = tvm.target.Target("llvm")
task = auto_scheduler.SearchTask(func=matmul_auto_scheduler_test,
args=(N, N, N), target=target)
dag = task.compute_dag
with tempfile.NamedTemporaryFile() as fp:
log_file = fp.name
search_policy = auto_scheduler.SketchPolicy(task)
measure_ctx = auto_scheduler.LocalRPCMeasureContext()
tuning_options = auto_scheduler.TuningOptions(
num_measure_trials=2,
runner=measure_ctx.runner,
verbose=2,
measure_callbacks=[auto_scheduler.RecordToFile(log_file)],
)
task.tune(tuning_options, search_policy=search_policy)
inp, _ = auto_scheduler.load_best_record(log_file,
task.workload_key, target)
s, bufs = dag.apply_steps_from_state(
> inp.state,
layout_rewrite=auto_scheduler.LayoutRewriteOption.REWRITE_FOR_PRE_TRANSFORMED
)
E AttributeError: 'NoneType' object has no attribute 'state'
tests/python/unittest/test_auto_scheduler_layout_rewrite.py:89:
AttributeError
=============================== warnings summary
===============================
```
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/625/pipeline
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]