Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[aotindutor] Forward fix a performance regression (#110800)
Summary: Forward fix a performance regression caused by #110510. When a model is run once, all those kernel pointers are initialized and removing the if-nullptr check will cause those loadKernel be unnecessarily executed again when we rerun the foward function. Another way to do this is to codegen loadKernel in the initializer, which I may do in a later PR. Pull Request resolved: #110800 Approved by: https://github.com/jansel
- Loading branch information