trunk/43ddcfd68d4d908c34c5f821f2ab20027900af3b: [precompile] Keep one lifecycle state in Capture (#198423)
- PyTorch 近 90 天出现 2131 次
- PyTorch 近 90 天第 2102 次发版
- 上一次:同一天稍早 · trunk/375d0e1f3859f815a24ae260a5169e984fd130a6: [vision hash update] update the pinned vision hash (#200344)
发生了什么
Problem. Each tracer's capture ran its own with -block lifecycle from its own flags, so a Dynamo capture misused after its block gave different errors than a make_fx one, and a spent make_fx capture kept the pair its docstring says it drops. Fix. Capture owns the lifecycle as one state field under one lock, and the tracers implement only the hooks it calls. Summary. _MakeFxCapture tracked its block with two booleans…
摘要按规则整理自下方来源原文