Generic Vulkan object cache. (#42394)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/42394
Test Plan: Imported from OSS
Reviewed By: IvanKobzarev
Differential Revision: D23252340
Pulled By: AshkanAliabadi
fbshipit-source-id: 34e753964b94153ed6ed1fcaa7f3b4a7c6b5f340