Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inference: fix missing LimitedAccuracy markers (#55362)
If the LimitedAccuracy was supposed to resolve against the top-most frame (or hypothetically a non-InferenceState frame), it would not have a parentframe, preventing it from reaching the subsequent poison_callstack line that is required for reliable inference (avoiding caching bad results). This should restore the original intent of this code (pre #48913) (cherry picked from commit d1b1a5d)
- Loading branch information