Skip to content

[python] Assemble LeRobot camera windows in parallel - #9850

Closed
XiaoHongbo-Hope wants to merge 1 commit into
apache:masterfrom
XiaoHongbo-Hope:codex/lerobot-window-stack
Closed

XiaoHongbo-Hope wants to merge 1 commit into
apache:masterfrom
XiaoHongbo-Hope:codex/lerobot-window-stack

Conversation

@XiaoHongbo-Hope

@XiaoHongbo-Hope XiaoHongbo-Hope commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Purpose

Parallelize multi-camera temporal-window stacking with up to eight threads when PyTorch intra-op threads are set to one. Preserve output layout and sample isolation. Independent of #9836.

Paired local CPU benchmark (ALOHA, four cameras, 8-frame windows, batch 32, eight workers): 130.4 → 170.6 samples/s (+30.8%), median of three seeds; only dataset.py differs between variants.

Tests

88 tests and Flake8 passed. Real-video pixel equality, boundary/repeated samples and mutation isolation verified.

@XiaoHongbo-Hope XiaoHongbo-Hope changed the title [python] Assemble LeRobot camera windows in parallel [python] Optimize LeRobot temporal window assembly Sep 15, 2026
@XiaoHongbo-Hope XiaoHongbo-Hope changed the title [python] Optimize LeRobot temporal window assembly [python] Assemble LeRobot camera windows in parallel Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant