trunk/4348f05ceb07489efa0d2249efc06a49ee3c3085: [Dynamo] Clean up global state leaks in test/dynamo (#191931)
- PyTorch 近 90 天出现 1578 次
- PyTorch 近 90 天第 1559 次发版
- 上一次:同一天稍早 · trunk/67af8e140dce108c4c2fe6ffdec8317f2b93deb1: Fix AVX512 grid sampler mask gather (#197635)
发生了什么
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…
摘要按规则整理自下方来源原文