benchmark
4e5c1d1b - Implement DELETE_DEREF (#189216)

Commit
93 days ago
Implement DELETE_DEREF (#189216) Summary: Dynamo previously had no handler for the DELETE_DEREF bytecode, which is emitted for `del x` when `x` is a cell variable (captured by a nested function) or a free variable. This models cell deletion the same way CPython does: CPython's DELETE_DEREF does `PyCell_SET(cell, NULL)`, leaving the cell object alive but clearing its contents. X-link: https://github.com/pytorch/pytorch/pull/189216 Approved by: https://github.com/rtimpe Reviewed By: jeanschmidt Differential Revision: D116788592 fbshipit-source-id: de2783a9bc501b746e30167a755527259352ad81
Author
generatedunixname499836121
Committer
Parents
Loading