You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prevent calling next on exhausted dataloader in train pipeline (#1778)
Summary:
Pull Request resolved: #1778
calling `next` on an already exhausted dataloader can cause the dataloader to hang. this diff prevents this from occurring while respecting the train pipeline api which can allow user to send in a different pipeline.
Reviewed By: sarckk, lequytra
Differential Revision: D54753344
fbshipit-source-id: 64a5ec3b5fa39cbfe3206b7993608c42c81039ee
0 commit comments