Commit 7adffe6
authored
Fix mutable buffer tagging in ExecuTorch (pytorch#11990)
This PR is intended to address
pytorch#11542. A mutable buffer is
tagged for consumption by the delegate, but the
graph_signature.output_spec keeps the mutable buffer there because it is
not in the state_dict (persistent=false), but instead inside of
constants.1 parent e9e5255 commit 7adffe6
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
603 | 606 | | |
604 | 607 | | |
605 | 608 | | |
| |||
612 | 615 | | |
613 | 616 | | |
614 | 617 | | |
615 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
616 | 622 | | |
617 | 623 | | |
618 | 624 | | |
| |||
0 commit comments