lhutton1 commented on PR #11208: URL: https://github.com/apache/tvm/pull/11208#issuecomment-1280579669
Hi @zhaoyang-star, yes I was able to reproduce the issue with your script. The script I have would be the same as yours just with the a different pass order as mentioned above. Placing `FuseOps` before `AnnotateUsedMemory` seems like the correct thing to do here; if you print out the module (`mod`) after the `AnnotateUsedMemory` pass you should be able to see the `used_memory` annotations. The `Check failed: (tensor_type) is false:` error comes later in the compilation so it seems as though some later optimization passes cannot deal with ANF yet. -- 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]
