Fix periodic job by excluding check_graph_breaks (try 2) (#96803)
**note about second try**
First try (https://github.com/pytorch/pytorch/pull/96780) was reverted because while it fixed periodic,
it broke inductor cpu-accuracy (which strangely didn't show up as failures on this PR). This try keeps the cpu-accuracy filter and also adds the inductor filter to get rid of periodic jobs.
**the actual PR desc**
It's going to be harder to properly support check_graph_breaks across multiple baselines.
Periodic and Inductor workflows are different baselines since they include different sets of models.
It's not as simple as checking in the csv for the superset (periodic), becuase update_expected.py is designed to run given the sha of your failing PR and reset the baseline to that PR's artifacts. This is a nice workflow, and would be harder to manage if it had to always point to a periodic job.
For now just do the check on the inductor job and ignore the other models covered only on periodic.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/96803
Approved by: https://github.com/desertfire