[static runtime] Swap to out-variant compatible nodes (#44127)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/44127
Test Plan: Imported from OSS
Reviewed By: hlu1
Differential Revision: D23604306
Pulled By: bwasti
fbshipit-source-id: 18ccfb9b466b822e28130be3d5c4fae36c76820b