From b2a71c6fe4e04aacf1d4767b067085ca81747949 Mon Sep 17 00:00:00 2001 From: HUANG TZU-CHUN Date: Fri, 25 Jul 2025 21:08:00 +0800 Subject: [PATCH] fix: Rename sync_cache_first to force_cache_sync in LeRobotDataset docstring (#1310) --- src/lerobot/datasets/lerobot_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lerobot/datasets/lerobot_dataset.py b/src/lerobot/datasets/lerobot_dataset.py index 72d1a722..617ac297 100644 --- a/src/lerobot/datasets/lerobot_dataset.py +++ b/src/lerobot/datasets/lerobot_dataset.py @@ -433,7 +433,7 @@ class LeRobotDataset(torch.utils.data.Dataset): multiples of 1/fps. Defaults to 1e-4. revision (str, optional): An optional Git revision id which can be a branch name, a tag, or a commit hash. Defaults to current codebase version tag. - sync_cache_first (bool, optional): Flag to sync and refresh local files first. If True and files + force_cache_sync (bool, optional): Flag to sync and refresh local files first. If True and files are already present in the local cache, this will be faster. However, files loaded might not be in sync with the version on the hub, especially if you specified 'revision'. Defaults to False.