Skip to content

[BUG] Prefetcher is unrecoverable from exceptions in reset()#1550

Open
alexdremov wants to merge 1 commit into
meta-pytorch:mainfrom
alexdremov:patch-2
Open

[BUG] Prefetcher is unrecoverable from exceptions in reset()#1550
alexdremov wants to merge 1 commit into
meta-pytorch:mainfrom
alexdremov:patch-2

Conversation

@alexdremov

@alexdremov alexdremov commented Jun 8, 2026

Copy link
Copy Markdown

If _SingleThreadedMapper fails for whatever reason, Prefetcher ends up in inconsistent state where self._it is deleted.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 8, 2026
@alexdremov

Copy link
Copy Markdown
Author

@ramanishsingh @divyanshk please take a look. This is an annoying bug that does not allow to recover from problems of state restoration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant