pytorch
ff297223 - [inductor] Prevent reusing aliased buffers if aliases still have uses (#100332)

Commit
1 year ago
[inductor] Prevent reusing aliased buffers if aliases still have uses (#100332) Fixes #100314 In dependencies, we should track not only immediately used buffer, but also aliased buffers that point to it, otherwise we can reuse and overwrite the buffer while there are still pending uses. Pull Request resolved: https://github.com/pytorch/pytorch/pull/100332 Approved by: https://github.com/jansel
Author
Committer
Parents
Loading