Hi community, I am porting pytorch with my hardware accelerator.
I can register native impl with native_functions.yaml using my dispatchkey.
However when doing isclose and isfinite function call, python complains missing kernel from DIspatchStub. Kind of no clue here…
Problem solved. This is just a dispatch kernel missing inside a kernel. In the defs of general kernel under directory aten/src/ATen/native, you must ensure that all the functions called must be dealt with in your backend.