Skip to content

Commit 2a9eb5d

Browse files
authored
Keep _SingleThreadedMapper to continue using a daemon thread
Differential Revision: D74673949 Pull Request resolved: #1487
1 parent 8d97fbb commit 2a9eb5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchdata/nodes/map.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def __init__(
573573
self._sem,
574574
self._stop_event,
575575
),
576-
daemon=False,
576+
daemon=True,
577577
name=f"worker_thread(target={self.worker.__name__})",
578578
)
579579
self._thread.start()

0 commit comments

Comments
 (0)