File size: 7,365 Bytes
30cbe4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
=== Avatar Training (fire-and-forget) ===
Script: train_pi0fast.py
Started: 2026-03-11 04:06:33 UTC

>>> [0/4] Raising file descriptor limit...
  ulimit -n = 65536
>>> [1/4] Setting environment...
  HF_TOKEN set: 37 chars
  WANDB_API_KEY set: 0 chars
>>> [2/4] Logging into HuggingFace...
The token has not been saved to the git credentials helper. Pass `add_to_git_credential=True` in this function directly or `--add-to-git-credential` if using via `hf`CLI if you want to set the git credential as well.
Token is valid (permission: write).
The token `beta-pc` has been saved to /root/.cache/huggingface/stored_tokens
Your token has been saved to /root/.cache/huggingface/token
Login successful.
Note: Environment variable`HF_TOKEN` is set and is the current active token independently from the token you've just configured.
⚠️  Warning: 'huggingface-cli login' is deprecated. Use 'hf auth login' instead.
>>> [3/4] Pre-downloading pretrained model...
  Downloading lerobot/pi0fast-base (default)...

Fetching 6 files:   0%|          | 0/6 [00:00<?, ?it/s]
Fetching 6 files:  50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ     | 3/6 [00:00<00:00, 16.33it/s]
Fetching 6 files:  83%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Ž | 5/6 [00:13<00:03,  3.28s/it]
Fetching 6 files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 6/6 [00:13<00:00,  2.25s/it]
  Cached at /root/.cache/huggingface/hub/models--lerobot--pi0fast-base/snapshots/0737e07fac1e63519c0bd38bd869934ecd9c3f86
  GPUs: 4x NVIDIA A100-SXM4-80GB
>>> [4/4] Launching accelerate with 4 GPUs...
  Script: train_pi0fast.py
  Train args: --dataset fixed_motion_simple --steps 5000 --batch-size 6 --lr 5e-5 --save-freq 1000 --push-to-hub --num-workers 8 --task-text move arm back and forth

The following values were not passed to `accelerate launch` and had defaults used instead:
	`--num_machines` was set to a value of `1`
	`--mixed_precision` was set to a value of `'no'`
	`--dynamo_backend` was set to a value of `'no'`
To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
usage: train_pi0fast.py [-h] --dataset
                        {fish_box_left_joint,simple_alpha_backforth}
                        [--steps STEPS] [--batch-size BATCH_SIZE] [--lr LR]
                        [--chunk-size CHUNK_SIZE] [--save-freq SAVE_FREQ]
                        [--log-freq LOG_FREQ] [--num-workers NUM_WORKERS]
                        [--seed SEED] [--push-to-hub]
                        [--pretrained-path PRETRAINED_PATH] [--wandb]
                        [--output-dir OUTPUT_DIR] --task-text TASK_TEXT
train_pi0fast.py: error: argument --dataset: invalid choice: 'fixed_motion_simple' (choose from 'fish_box_left_joint', 'simple_alpha_backforth')
usage: train_pi0fast.py [-h] --dataset
                        {fish_box_left_joint,simple_alpha_backforth}
                        [--steps STEPS] [--batch-size BATCH_SIZE] [--lr LR]
                        [--chunk-size CHUNK_SIZE] [--save-freq SAVE_FREQ]
                        [--log-freq LOG_FREQ] [--num-workers NUM_WORKERS]
                        [--seed SEED] [--push-to-hub]
                        [--pretrained-path PRETRAINED_PATH] [--wandb]
                        [--output-dir OUTPUT_DIR] --task-text TASK_TEXT
train_pi0fast.py: error: argument --dataset: invalid choice: 'fixed_motion_simple' (choose from 'fish_box_left_joint', 'simple_alpha_backforth')
usage: train_pi0fast.py [-h] --dataset
                        {fish_box_left_joint,simple_alpha_backforth}
                        [--steps STEPS] [--batch-size BATCH_SIZE] [--lr LR]
                        [--chunk-size CHUNK_SIZE] [--save-freq SAVE_FREQ]
                        [--log-freq LOG_FREQ] [--num-workers NUM_WORKERS]
                        [--seed SEED] [--push-to-hub]
                        [--pretrained-path PRETRAINED_PATH] [--wandb]
                        [--output-dir OUTPUT_DIR] --task-text TASK_TEXT
train_pi0fast.py: error: argument --dataset: invalid choice: 'fixed_motion_simple' (choose from 'fish_box_left_joint', 'simple_alpha_backforth')
usage: train_pi0fast.py [-h] --dataset
                        {fish_box_left_joint,simple_alpha_backforth}
                        [--steps STEPS] [--batch-size BATCH_SIZE] [--lr LR]
                        [--chunk-size CHUNK_SIZE] [--save-freq SAVE_FREQ]
                        [--log-freq LOG_FREQ] [--num-workers NUM_WORKERS]
                        [--seed SEED] [--push-to-hub]
                        [--pretrained-path PRETRAINED_PATH] [--wandb]
                        [--output-dir OUTPUT_DIR] --task-text TASK_TEXT
train_pi0fast.py: error: argument --dataset: invalid choice: 'fixed_motion_simple' (choose from 'fish_box_left_joint', 'simple_alpha_backforth')
E0311 04:06:54.963000 2395 torch/distributed/elastic/multiprocessing/api.py:874] failed (exitcode: 2) local_rank: 0 (pid: 2463) of binary: /usr/bin/python
Traceback (most recent call last):
  File "/usr/local/bin/accelerate", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/accelerate/commands/accelerate_cli.py", line 50, in main
    args.func(args)
  File "/usr/local/lib/python3.11/dist-packages/accelerate/commands/launch.py", line 1396, in launch_command
    multi_gpu_launcher(args)
  File "/usr/local/lib/python3.11/dist-packages/accelerate/commands/launch.py", line 1023, in multi_gpu_launcher
    distrib_run.run(args)
  File "/usr/local/lib/python3.11/dist-packages/torch/distributed/run.py", line 883, in run
    elastic_launch(
  File "/usr/local/lib/python3.11/dist-packages/torch/distributed/launcher/api.py", line 139, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/torch/distributed/launcher/api.py", line 270, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError: 
============================================================
/tmp/train_pi0fast.py FAILED
------------------------------------------------------------
Failures:
[1]:
  time      : 2026-03-11_04:06:54
  host      : ab6fe09eaab5
  rank      : 1 (local_rank: 1)
  exitcode  : 2 (pid: 2464)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[2]:
  time      : 2026-03-11_04:06:54
  host      : ab6fe09eaab5
  rank      : 2 (local_rank: 2)
  exitcode  : 2 (pid: 2465)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[3]:
  time      : 2026-03-11_04:06:54
  host      : ab6fe09eaab5
  rank      : 3 (local_rank: 3)
  exitcode  : 2 (pid: 2466)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2026-03-11_04:06:54
  host      : ab6fe09eaab5
  rank      : 0 (local_rank: 0)
  exitcode  : 2 (pid: 2463)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================

>>> Training finished with exit code 1
Ended: 2026-03-11 04:06:55 UTC
>>> Saving training log to HuggingFace...