Commit e5ef99a
authored
Update PP to release memory earlier (#1922)
Uses the API added in pytorch/pytorch#165822,
since we do not return any output from PP step(). This allows us to
release the memory earlier,1 parent b1644a4 commit e5ef99a
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
| 470 | + | |
469 | 471 | | |
470 | 472 | | |
471 | 473 | | |
| |||
0 commit comments