File size: 14,234 Bytes
c637c80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
=== Avatar Training (fire-and-forget) ===
Script: train_on_hf.py
Started: 2026-03-13 15:36:05 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...
Traceback (most recent call last):
  File "<string>", line 9, in <module>
  File "/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_validators.py", line 106, in _inner_fn
    validate_repo_id(arg_value)
  File "/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_validators.py", line 160, in validate_repo_id
    raise HFValidationError(
huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'avatarrobotics/act-alpha-bot-right-resnet18-b256-20260313-0632:step-100000'.
  Downloading avatarrobotics/act-alpha-bot-right-resnet18-b256-20260313-0632:step-100000...
  GPUs: 8x NVIDIA H100 80GB HBM3
>>> [4/4] Launching accelerate with 8 GPUs...
  Script: train_on_hf.py
  Train args: python3 /tmp/train_on_hf.py --dataset alpha_bot_right_afternoon --steps 100000 --batch-size 32 --lr 1e-3 --backbone resnet18 --preload --mixed-precision bf16 --num-workers 8 --prefetch-factor 4 --save-freq 10000 --push-to-hub --pretrained-path avatarrobotics/act-alpha-bot-right-resnet18-b256-20260313-0632:step-100000 

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_on_hf.py [-h]
                      [--dataset {vacuum_pick,vacuum_pick_right,fish_box_left,fish_box_left_joint,simple_alpha_backforth,fixed_motion_simple,alpha_bot_right_afternoon}]
                      [--steps STEPS] [--batch-size BATCH_SIZE]
                      [--save-freq SAVE_FREQ] [--log-freq LOG_FREQ]
                      [--seed SEED] [--num-workers NUM_WORKERS]
                      [--output-dir OUTPUT_DIR] [--dataset-root DATASET_ROOT]
                      [--push-to-hub] [--no-push-to-hub] [--wandb]
                      [--image-augmentation] [--lr LR]
                      [--mixed-precision {no,fp16,bf16}]
                      [--video-backend {pyav,torchcodec}]
                      [--prefetch-factor PREFETCH_FACTOR] [--preload]
                      [--compile] [--chunk-size CHUNK_SIZE]
                      [--backbone {resnet18,resnet50}]
                      [--pretrained-path PRETRAINED_PATH]
usage: train_on_hf.py [-h]
                      [--dataset {vacuum_pick,vacuum_pick_right,fish_box_left,fish_box_left_joint,simple_alpha_backforth,fixed_motion_simple,alpha_bot_right_afternoon}]
                      [--steps STEPS] [--batch-size BATCH_SIZE]
                      [--save-freq SAVE_FREQ] [--log-freq LOG_FREQ]
                      [--seed SEED] [--num-workers NUM_WORKERS]
                      [--output-dir OUTPUT_DIR] [--dataset-root DATASET_ROOT]
                      [--push-to-hub] [--no-push-to-hub] [--wandb]
                      [--image-augmentation] [--lr LR]
                      [--mixed-precision {no,fp16,bf16}]
                      [--video-backend {pyav,torchcodec}]
                      [--prefetch-factor PREFETCH_FACTOR] [--preload]
                      [--compile] [--chunk-size CHUNK_SIZE]
                      [--backbone {resnet18,resnet50}]
                      [--pretrained-path PRETRAINED_PATH]
train_on_hf.py: error: unrecognized arguments: python3 /tmp/train_on_hf.py
train_on_hf.py: error: unrecognized arguments: python3 /tmp/train_on_hf.py
usage: train_on_hf.py [-h]
                      [--dataset {vacuum_pick,vacuum_pick_right,fish_box_left,fish_box_left_joint,simple_alpha_backforth,fixed_motion_simple,alpha_bot_right_afternoon}]
                      [--steps STEPS] [--batch-size BATCH_SIZE]
                      [--save-freq SAVE_FREQ] [--log-freq LOG_FREQ]
                      [--seed SEED] [--num-workers NUM_WORKERS]
                      [--output-dir OUTPUT_DIR] [--dataset-root DATASET_ROOT]
                      [--push-to-hub] [--no-push-to-hub] [--wandb]
                      [--image-augmentation] [--lr LR]
                      [--mixed-precision {no,fp16,bf16}]
                      [--video-backend {pyav,torchcodec}]
                      [--prefetch-factor PREFETCH_FACTOR] [--preload]
                      [--compile] [--chunk-size CHUNK_SIZE]
                      [--backbone {resnet18,resnet50}]
                      [--pretrained-path PRETRAINED_PATH]
train_on_hf.py: error: unrecognized arguments: python3 /tmp/train_on_hf.py
usage: train_on_hf.py [-h]
                      [--dataset {vacuum_pick,vacuum_pick_right,fish_box_left,fish_box_left_joint,simple_alpha_backforth,fixed_motion_simple,alpha_bot_right_afternoon}]
                      [--steps STEPS] [--batch-size BATCH_SIZE]
                      [--save-freq SAVE_FREQ] [--log-freq LOG_FREQ]
                      [--seed SEED] [--num-workers NUM_WORKERS]
                      [--output-dir OUTPUT_DIR] [--dataset-root DATASET_ROOT]
                      [--push-to-hub] [--no-push-to-hub] [--wandb]
                      [--image-augmentation] [--lr LR]
                      [--mixed-precision {no,fp16,bf16}]
                      [--video-backend {pyav,torchcodec}]
                      [--prefetch-factor PREFETCH_FACTOR] [--preload]
                      [--compile] [--chunk-size CHUNK_SIZE]
                      [--backbone {resnet18,resnet50}]
                      [--pretrained-path PRETRAINED_PATH]
train_on_hf.py: error: unrecognized arguments: python3 /tmp/train_on_hf.py
usage: train_on_hf.py [-h]
                      [--dataset {vacuum_pick,vacuum_pick_right,fish_box_left,fish_box_left_joint,simple_alpha_backforth,fixed_motion_simple,alpha_bot_right_afternoon}]
                      [--steps STEPS] [--batch-size BATCH_SIZE]
                      [--save-freq SAVE_FREQ] [--log-freq LOG_FREQ]
                      [--seed SEED] [--num-workers NUM_WORKERS]
                      [--output-dir OUTPUT_DIR] [--dataset-root DATASET_ROOT]
                      [--push-to-hub] [--no-push-to-hub] [--wandb]
                      [--image-augmentation] [--lr LR]
                      [--mixed-precision {no,fp16,bf16}]
                      [--video-backend {pyav,torchcodec}]
                      [--prefetch-factor PREFETCH_FACTOR] [--preload]
                      [--compile] [--chunk-size CHUNK_SIZE]
                      [--backbone {resnet18,resnet50}]
                      [--pretrained-path PRETRAINED_PATH]
usage: train_on_hf.py [-h]
                      [--dataset {vacuum_pick,vacuum_pick_right,fish_box_left,fish_box_left_joint,simple_alpha_backforth,fixed_motion_simple,alpha_bot_right_afternoon}]
                      [--steps STEPS] [--batch-size BATCH_SIZE]
                      [--save-freq SAVE_FREQ] [--log-freq LOG_FREQ]
                      [--seed SEED] [--num-workers NUM_WORKERS]
                      [--output-dir OUTPUT_DIR] [--dataset-root DATASET_ROOT]
                      [--push-to-hub] [--no-push-to-hub] [--wandb]
                      [--image-augmentation] [--lr LR]
                      [--mixed-precision {no,fp16,bf16}]
                      [--video-backend {pyav,torchcodec}]
                      [--prefetch-factor PREFETCH_FACTOR] [--preload]
                      [--compile] [--chunk-size CHUNK_SIZE]
                      [--backbone {resnet18,resnet50}]
                      [--pretrained-path PRETRAINED_PATH]
train_on_hf.py: error: unrecognized arguments: python3 /tmp/train_on_hf.py
train_on_hf.py: error: unrecognized arguments: python3 /tmp/train_on_hf.py
usage: train_on_hf.py [-h]
                      [--dataset {vacuum_pick,vacuum_pick_right,fish_box_left,fish_box_left_joint,simple_alpha_backforth,fixed_motion_simple,alpha_bot_right_afternoon}]
                      [--steps STEPS] [--batch-size BATCH_SIZE]
                      [--save-freq SAVE_FREQ] [--log-freq LOG_FREQ]
                      [--seed SEED] [--num-workers NUM_WORKERS]
                      [--output-dir OUTPUT_DIR] [--dataset-root DATASET_ROOT]
                      [--push-to-hub] [--no-push-to-hub] [--wandb]
                      [--image-augmentation] [--lr LR]
                      [--mixed-precision {no,fp16,bf16}]
                      [--video-backend {pyav,torchcodec}]
                      [--prefetch-factor PREFETCH_FACTOR] [--preload]
                      [--compile] [--chunk-size CHUNK_SIZE]
                      [--backbone {resnet18,resnet50}]
                      [--pretrained-path PRETRAINED_PATH]
train_on_hf.py: error: unrecognized arguments: python3 /tmp/train_on_hf.py
usage: train_on_hf.py [-h]
                      [--dataset {vacuum_pick,vacuum_pick_right,fish_box_left,fish_box_left_joint,simple_alpha_backforth,fixed_motion_simple,alpha_bot_right_afternoon}]
                      [--steps STEPS] [--batch-size BATCH_SIZE]
                      [--save-freq SAVE_FREQ] [--log-freq LOG_FREQ]
                      [--seed SEED] [--num-workers NUM_WORKERS]
                      [--output-dir OUTPUT_DIR] [--dataset-root DATASET_ROOT]
                      [--push-to-hub] [--no-push-to-hub] [--wandb]
                      [--image-augmentation] [--lr LR]
                      [--mixed-precision {no,fp16,bf16}]
                      [--video-backend {pyav,torchcodec}]
                      [--prefetch-factor PREFETCH_FACTOR] [--preload]
                      [--compile] [--chunk-size CHUNK_SIZE]
                      [--backbone {resnet18,resnet50}]
                      [--pretrained-path PRETRAINED_PATH]
train_on_hf.py: error: unrecognized arguments: python3 /tmp/train_on_hf.py
E0313 15:36:12.061000 2075 torch/distributed/elastic/multiprocessing/api.py:874] failed (exitcode: 2) local_rank: 0 (pid: 2143) 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_on_hf.py FAILED
------------------------------------------------------------
Failures:
[1]:
  time      : 2026-03-13_15:36:12
  host      : b9d6a316a396
  rank      : 1 (local_rank: 1)
  exitcode  : 2 (pid: 2144)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[2]:
  time      : 2026-03-13_15:36:12
  host      : b9d6a316a396
  rank      : 2 (local_rank: 2)
  exitcode  : 2 (pid: 2145)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[3]:
  time      : 2026-03-13_15:36:12
  host      : b9d6a316a396
  rank      : 3 (local_rank: 3)
  exitcode  : 2 (pid: 2146)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[4]:
  time      : 2026-03-13_15:36:12
  host      : b9d6a316a396
  rank      : 4 (local_rank: 4)
  exitcode  : 2 (pid: 2147)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[5]:
  time      : 2026-03-13_15:36:12
  host      : b9d6a316a396
  rank      : 5 (local_rank: 5)
  exitcode  : 2 (pid: 2148)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[6]:
  time      : 2026-03-13_15:36:12
  host      : b9d6a316a396
  rank      : 6 (local_rank: 6)
  exitcode  : 2 (pid: 2149)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
[7]:
  time      : 2026-03-13_15:36:12
  host      : b9d6a316a396
  rank      : 7 (local_rank: 7)
  exitcode  : 2 (pid: 2150)
  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-13_15:36:12
  host      : b9d6a316a396
  rank      : 0 (local_rank: 0)
  exitcode  : 2 (pid: 2143)
  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-13 15:36:12 UTC
>>> Saving training log to HuggingFace...