← Back to events
ActiveAIRelease

ciflow/torchtitan/196847: [Inductor] Account NonOwningLayout storage in peak-memory planning

What happened

Summary: NonOwningLayout buffers do not allocate independent storage. Count scheduler-owned aliases as zero bytes, transfer their consumers to the ultimate storage owner, and keep owners of graph-output aliases live. Preserve conservative sizing when the owner is a graph input. Test Plan: python3 -m py_compile fbcode/caffe2/torch/_inductor/memory.py fbcode/caffe2/test/inductor/test_memory.py arc lint fbcode/caffe2/t…

Summary assembled by rule from the sources below

Why it's spreading

Sources