Fix build error caused by recent commits. (#29056)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29056
There are a couple of recent published diffs break the internal pytorch build, so fix it here.
ghstack-source-id: 93101569
Test Plan:
buck install -r aidemos-android
buck install -r fb4a
Reviewed By: iseeyuan
Differential Revision: D18236331
fbshipit-source-id: e1cecae8c30fd9b23b6bf379f652b4926542618d