trunk/4348f05ceb07489efa0d2249efc06a49ee3c3085: [Dynamo] Clean up global state leaks in test/dynamo (#191931)
- PyTorch: 1578 events in the last 90 days
- PyTorch: 1559th Release in the last 90 days
- Previous: earlier the same day · trunk/67af8e140dce108c4c2fe6ffdec8317f2b93deb1: Fix AVX512 grid sampler mask gather (#197635)
What happened
Related Issue Fixes #146930 together with the infra fixes in #191930 Why pytest test/dynamo in one process fails tests that pass standalone individual tests mutate process-global state (type/pytree/polyfill registrations, function defaults, autocast nesting, env-dependent compile workers) and never restore it, breaking later tests How make every polluting test clean up after itself or become idempotent, so the whole…
Summary assembled by rule from the sources below