← Back to events
ActiveAIRelease

viable/strict/1792450275: Fix shared JSON race in AOTI package loading (#201261) (#201261)

Photo: PyTorch Releases

What happened

Summary: Make load_json_file return a local JSON value. Concurrent package loads currently mutate the same static object and can corrupt the heap. Test Plan: buck build fbcode//caffe2:_libtorch Differential Revision: D125778988 Pull Request resolved: #201261 Approved by: https://github.com/Skylion007

Summary assembled by rule from the sources below

Why it's spreading

Sources