Type runtime predicate inputs as object (#196175)
Summary:
## Summary
- replace `Any` with `object` for private Dynamo runtime predicates and identity-only helpers
- cover the scoped utility, SDPA, list, logging, and pytree sites
- correct the SDPA class-identity predicate to narrow to `type[SDPAParams]`
- leave wrapper unwrapping and callable invocation helpers unchanged
## Test plan
- `python -m py_compile torch/_dynamo/utils.py torch/_dynamo/variables/sdpa.py torch/_dynamo/variables/lists.py torch/_dynamo/variables/misc.py torch/_dynamo/polyfills/pytree.py`
- focused Pyrefly comparison: the same 20 pre-existing diagnostics before and after the change, with no new diagnostics
- focused `pyrefly check` for `torch/_dynamo/variables/sdpa.py`: 0 errors
- full CI: 374 passed, 4 skipped; TorchTitan models integration is a Dr. CI-classified broken-trunk failure (`qwen3_5_moe_fsdp+tp+ep: No module named fla`) reproduced on three attempts
Authored with assistance from an AI coding assistant.
X-link: https://github.com/pytorch/pytorch/pull/196175
Approved by: https://github.com/pytorchgreenlight
Reviewed By: izaitsevfb
Differential Revision: D119049499
fbshipit-source-id: 7a84de81ff2f36e1df996dc7e75997fa0695f93b