From f71a4b762a37198c3af20d9f5ba460ed525513f3 Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Fri, 24 Jul 2026 13:17:42 +0200 Subject: [PATCH] chore(config): add libs note --- src/lerobot/configs/train.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lerobot/configs/train.py b/src/lerobot/configs/train.py index 2de140e08..e92247188 100644 --- a/src/lerobot/configs/train.py +++ b/src/lerobot/configs/train.py @@ -103,10 +103,10 @@ class TrainPipelineConfig(HubMixin): prefetch_factor: int = 4 persistent_workers: bool = True # DataLoader worker start method. "spawn" is safer than "fork" with - # non-fork-safe libs, but adds some worker-startup time per run - # since workers re-import modules instead of inheriting parent state. - # Override with `--dataloader_multiprocessing_context=fork` when appropriate, - # or set it to `null` to use Python's platform default. + # non-fork-safe libs (PyAV / torchcodec / ffmpeg), but adds some + # worker-startup time per run since workers re-import modules instead + # of inheriting parent state. Override with `--dataloader_multiprocessing_context=fork` + # when appropriate, or set it to `null` to use Python's platform default. dataloader_multiprocessing_context: str | None = "spawn" steps: int = 100_000 # Run policy in the simulation environment every N steps to measure reward/success (0 = disabled).