Don't look at TESTING_ONLY in fuzzer (#146870)

Lots of configs aren't meant to be set because they're testing only

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146870
Approved by: https://github.com/masnesral
This commit is contained in:
Gabriel Ferns 2025-03-11 05:32:25 +00:00 committed by PyTorch MergeBot
parent bed92a8523
commit 1fcc4bc109

View File

@ -811,6 +811,7 @@ class ConfigFuzzer:
if (
field_name not in config
and not field_name.startswith("_")
and "TESTING_ONLY" not in field_name
and random.random() < p
):
value = self.sample(