mirror of
https://github.com/zebrajr/pytorch.git
synced 2026-01-15 12:15:51 +00:00
# Motivation This PR introduces stack context tracking support in the XPU caching allocator. The design remains straightforward and leverages `record_trace` appropriately to capture relevant allocation history for debugging and analysis. Pull Request resolved: https://github.com/pytorch/pytorch/pull/169280 Approved by: https://github.com/EikanWang, https://github.com/albanD ghstack dependencies: #168262