masahi opened a new pull request, #13397:
URL: https://github.com/apache/tvm/pull/13397
The `static` qualifier on the constant index causes a problem, when
`TECompiler` is invoked on the same module multiple times. Since the names of
constants become different in each call to `TECompiler`, anything that depends
on the consistency of constant names is broken.
In practice, MetaSchedule tuning is affected by this issue, since task
extraction and the final `relay.build(...)` both invoke `TECompiler`. So if we
do `get_block("fused_constant_0_global")` during tuning, trace application
after tuning will fail because there would be no longer a block with the name
"fused_constant_0_global" .
--
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]