Fix Vulkan empty (and family) breakage as a result of API update. (#47937)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47937
Test Plan: Imported from OSS
Reviewed By: IvanKobzarev
Differential Revision: D25032738
Pulled By: AshkanAliabadi
fbshipit-source-id: 8ee573033f7c9c7abcb9c08e4c80ca91da9f422f