trunk/be904b2055a51551ceb3cc272b4d772bac22a470: Make sparse tensor validation state thread-local (#194751)
- PyTorch: 865 events in the last 90 days
- PyTorch: 854th Release in the last 90 days
- Previous: earlier the same day · ciflow/xpu/196712
What happened
Fixing an Issue Issue Fixes #194750 Summary QED Audit is proposing the thread-local fix requested by @malfet for #194750 . AI-assisted content (Codex): Move the deferred sparse-validation collector onto PyTorch's existing _SerializationLocal state so concurrent torch.load calls cannot validate or clear one another's tensors. Add a deterministic integration test that pauses a malformed weights-only load at validation…
Summary assembled by rule from the sources below