Add deterministic mode for benchmark perf tests (#178233)
Summary:
The CI perf benchmarks already run accuracy tests with deterministic mode enabled `setup_determinism_for_accuracy_test()`. This PR adds a `--deterministic` CLI flag and a `deterministic_perf` dashboard tag variant so that performance benchmarks can also run with deterministic mode.
This will establish a deterministic performance baseline tracked on the inductor perf dashboard alongside existing variants.
Fixes #177269
X-link: https://github.com/pytorch/pytorch/pull/178233
Approved by: https://github.com/jansel
Reviewed By: georgehong
Differential Revision: D98314065
fbshipit-source-id: 0dd1fff1980b4ed48ccb18d749c46662cb68a252