Commit 8546ee4
Bug fix for dropping episodes in the GRPO
Summary:
## Bug Description:
meta-pytorch#580 had incorrect indentation
cuasing the input_ids, episodes varibles to be deleted inside the episodes
building loop, causing program to hang.
Next diff shall make background thread crashes to be surfaced to the main thread so that we know what thread crashed for what reason.
Reviewed By: daniellepintz
Differential Revision: D875545701 parent d8f420b commit 8546ee4
1 file changed
+17
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| |||
0 commit comments