Files
lerobot/tests/training
Pepijn 3aabd135d3 fix(tests): port the multi-GPU FSDP test off the superseded accelerate YAML flow (#4370)
The FSDP multi-GPU test still generated an `accelerate launch --config_file`
FSDP1 YAML, which exports ACCELERATE_USE_FSDP into the workers. Since the
FSDP2/parallelism rewrite, `guard_against_env_interference()` hard-errors on
exactly that variable, so the test failed on every rank. Its assertions were
stale too: sharded runs now write DCP optimizer shards, not a gathered
`optimizer_state.safetensors`.

Drop the YAML generation entirely and use `accelerate launch` as the plain
launcher the docs describe, with the topology coming from `--parallelism.*`.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 20:54:14 +08:00
..