trunk/96c5e78ddd4918fab2bb4c795bde7fbcb1241d76: Avoid folding mutated buffer storages (#185077)
发生了什么
AOTInductor packages unlift exported module buffers into runtime-owned constants. For buffer mutation, export re-inserts a copy_ from the functional mutation output back into that buffer. The uniform-value constant folder could fold a singleton get_attr buffer into a compile-time full(...) value before that copy_, so generated packages wrote the same compile-time value into the buffer on every call. Loaded packages…
摘要按规则整理自下方来源原文
为什么在扩散
时间线
- PyTorch Releases 最先出现PyTorch Releases