Remove unused forward AD flag (#57058)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57058
Test Plan: Imported from OSS
Reviewed By: soulitzer
Differential Revision: D28071504
Pulled By: albanD
fbshipit-source-id: df694ac6b9fbb4aed269d61cd9522f8602fdae0c