Revert "[Dynamo] cache_size policy (#107496)"
This reverts commit 4175a6e9443c58d57e0fc595f506c43aec8cb477.
Reverted https://github.com/pytorch/pytorch/pull/107496 on behalf of https://github.com/ZainRizvi due to Breaking internal builds ([comment](https://github.com/pytorch/pytorch/pull/107496#issuecomment-1693590121))