[Static Runtime] Check unsupported up when enabling static runtime (#61613)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61613
Reviewed By: ajyu, movefast1990
Differential Revision: D29663466
fbshipit-source-id: d819903b7227f534c0a4fffa5eeea2b5c0c04750