DzAvril commented on pull request #10650:
URL: https://github.com/apache/tvm/pull/10650#issuecomment-1073011161


   There is one more limitation of the current patch. Case 3: 
   During task extraction subgraph is lowered by VMCompile, and pass 
`AlterOpLayout` is disabled, see 
[code](https://github.com/apache/tvm/blob/main/python/tvm/autotvm/task/relay_integration.py#:~:text=with%20tvm.transform.PassContext(opt_level%3Dopt_level%2C%20disabled_pass%3D%7B%22AlterOpLayout%22%7D)%3A).
 So during building phash we need to disable pass `AlterOpLayout` too, 
otherwise the subgraphs generated in the task extracting phase may be different 
from those generated in the building phase.
   


-- 
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]


Reply via email to