Commit e0fca38
Add input Reset in ExperimentalDecodeProgram at "end" of decoding infeed. This seems release some memory since currently after switching away from decode programs, some memories is still hold for their input pipeline in trainer host, which is not necessary for resettable case, but can cause OOM.
PiperOrigin-RevId: 4890232081 parent 5e4b7fd commit e0fca38
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1798 | 1798 | | |
1799 | 1799 | | |
1800 | 1800 | | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
1801 | 1807 | | |
1802 | 1808 | | |
1803 | 1809 | | |
| |||
0 commit comments