mirror of
https://github.com/huggingface/lerobot.git
synced 2026-08-08 17:39:44 +00:00
3aabd135d3
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>