nhatchung commited on
Commit
b500766
Β·
verified Β·
1 Parent(s): 4e9cee9

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,9 @@
1
  ---
2
  license: cc-by-4.0
3
  ---
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-4.0
3
  ---
4
+
5
+ git lfs track "*.pt" "*.bin" "*.safetensors" "*.npy" "*.npz" "*.parquet" "*.mp4" "*.jpg" "*.png"
6
+
7
+ - gr00t-clean-i1000-basic
8
+ Is developed using 2x H100 at batchsize 60 for 1000 iterations on 2 sample datasets of robocasa.
9
+
gr00t-clean-i1000-basic/.gitattributes ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ *.pt filter=lfs diff=lfs merge=lfs -text
2
+ *.bin filter=lfs diff=lfs merge=lfs -text
3
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
4
+ *.jpg filter=lfs diff=lfs merge=lfs -text
5
+ *.png filter=lfs diff=lfs merge=lfs -text
6
+ *.npy filter=lfs diff=lfs merge=lfs -text
7
+ *.npz filter=lfs diff=lfs merge=lfs -text
8
+ *.parquet filter=lfs diff=lfs merge=lfs -text
9
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
gr00t-clean-i1000-basic/config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_dim": 32,
3
+ "action_head_cfg": {
4
+ "action_dim": 32,
5
+ "action_horizon": 16,
6
+ "add_pos_embed": true,
7
+ "backbone_embedding_dim": 2048,
8
+ "diffusion_model_cfg": {
9
+ "attention_head_dim": 48,
10
+ "cross_attention_dim": 2048,
11
+ "dropout": 0.2,
12
+ "final_dropout": true,
13
+ "interleave_self_attention": true,
14
+ "norm_type": "ada_norm",
15
+ "num_attention_heads": 32,
16
+ "num_layers": 16,
17
+ "output_dim": 1024,
18
+ "positional_embeddings": null
19
+ },
20
+ "hidden_size": 1024,
21
+ "input_embedding_dim": 1536,
22
+ "max_action_dim": 32,
23
+ "max_state_dim": 64,
24
+ "model_dtype": "float32",
25
+ "noise_beta_alpha": 1.5,
26
+ "noise_beta_beta": 1.0,
27
+ "noise_s": 0.999,
28
+ "num_inference_timesteps": 4,
29
+ "num_target_vision_tokens": 32,
30
+ "num_timestep_buckets": 1000,
31
+ "tune_diffusion_model": true,
32
+ "tune_projector": true,
33
+ "use_vlln": true,
34
+ "vl_self_attention_cfg": {
35
+ "attention_head_dim": 64,
36
+ "dropout": 0.2,
37
+ "final_dropout": true,
38
+ "num_attention_heads": 32,
39
+ "num_layers": 4,
40
+ "positional_embeddings": null
41
+ }
42
+ },
43
+ "action_horizon": 16,
44
+ "architectures": [
45
+ "GR00T_N1_5"
46
+ ],
47
+ "attn_implementation": null,
48
+ "backbone_cfg": {
49
+ "eagle_path": "NVEagle/eagle_er-qwen3_1_7B-Siglip2_400M_stage1_5_128gpu_er_v7_1mlp_nops",
50
+ "load_bf16": false,
51
+ "project_to_dim": null,
52
+ "reproject_vision": false,
53
+ "select_layer": 12,
54
+ "tune_llm": false,
55
+ "tune_visual": true,
56
+ "use_flash_attention": true
57
+ },
58
+ "compute_dtype": "bfloat16",
59
+ "hidden_size": 2048,
60
+ "model_dtype": "float32",
61
+ "model_type": "gr00t_n1_5",
62
+ "torch_dtype": "bfloat16",
63
+ "transformers_version": "4.51.3"
64
+ }
gr00t-clean-i1000-basic/experiment_cfg/metadata.json ADDED
@@ -0,0 +1,907 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "gr1": {
3
+ "statistics": {
4
+ "state": {
5
+ "left_arm": {
6
+ "max": [
7
+ 0.5512809753417969,
8
+ 1.0758819580078125,
9
+ 0.568432092666626,
10
+ -0.12999100983142853,
11
+ 1.2762179374694824,
12
+ 1.4768544435501099,
13
+ 0.9388740062713623
14
+ ],
15
+ "min": [
16
+ -1.6789460182189941,
17
+ -0.002663516905158758,
18
+ -0.6874591708183289,
19
+ -2.4753310680389404,
20
+ -1.0073922872543335,
21
+ -1.201701045036316,
22
+ -1.1686418056488037
23
+ ],
24
+ "mean": [
25
+ -0.6684470990362216,
26
+ 0.16243773781055018,
27
+ -0.11030297027679473,
28
+ -0.9595515673433321,
29
+ 0.3537386648748922,
30
+ 0.14932143814787588,
31
+ -0.2391239846846673
32
+ ],
33
+ "std": [
34
+ 0.55993009662463,
35
+ 0.1802953707140157,
36
+ 0.3056623218770658,
37
+ 0.5629843648729691,
38
+ 0.321369289322402,
39
+ 0.4674723826985848,
40
+ 0.3754873922405387
41
+ ],
42
+ "q01": [
43
+ -1.5023882920281202,
44
+ -5.228252884805965e-05,
45
+ -0.6284299559452811,
46
+ -2.19521789713104,
47
+ -0.23742075139411506,
48
+ -0.868481046378422,
49
+ -0.9281117095493074
50
+ ],
51
+ "q99": [
52
+ 0.2549849906224323,
53
+ 0.6325141190238135,
54
+ 0.3797612184937387,
55
+ -0.23073658984425555,
56
+ 0.9589285831259149,
57
+ 0.8052121864513008,
58
+ 0.3104352418805366
59
+ ]
60
+ },
61
+ "left_hand": {
62
+ "max": [
63
+ 1.6199543476104736,
64
+ 1.6390725374221802,
65
+ 1.7011533975601196,
66
+ 1.7056207656860352,
67
+ 0.7503100633621216,
68
+ 2.1111667156219482
69
+ ],
70
+ "min": [
71
+ -0.12186437845230103,
72
+ -0.014761261641979218,
73
+ -0.5676483511924744,
74
+ -0.0021717152558267117,
75
+ -0.4491494297981262,
76
+ -8.45161484903656e-05
77
+ ],
78
+ "mean": [
79
+ 0.4142602025531996,
80
+ 0.3901365215569085,
81
+ 0.35914231488507725,
82
+ 0.38263250737918286,
83
+ 0.009639826984918077,
84
+ 1.6754520769501062
85
+ ],
86
+ "std": [
87
+ 0.5707900175638255,
88
+ 0.5368584133907133,
89
+ 0.49405072738773714,
90
+ 0.5314923825874336,
91
+ 0.11696323202865286,
92
+ 0.21026655093581956
93
+ ],
94
+ "q01": [
95
+ -0.0010119781239185251,
96
+ -0.0012141694340095227,
97
+ -0.0014958955326491268,
98
+ -0.0012973491244694206,
99
+ -0.17684855509565867,
100
+ 0.69714892933118
101
+ ],
102
+ "q99": [
103
+ 1.4997083132852396,
104
+ 1.4904799762294445,
105
+ 1.3881880174472947,
106
+ 1.5103952912805785,
107
+ 0.5020640083630641,
108
+ 1.9684028178538933
109
+ ]
110
+ },
111
+ "left_leg": {
112
+ "max": [
113
+ 0.0,
114
+ 0.0,
115
+ 0.0,
116
+ 0.0,
117
+ 0.0,
118
+ 0.0
119
+ ],
120
+ "min": [
121
+ 0.0,
122
+ 0.0,
123
+ 0.0,
124
+ 0.0,
125
+ 0.0,
126
+ 0.0
127
+ ],
128
+ "mean": [
129
+ 0.0,
130
+ 0.0,
131
+ 0.0,
132
+ 0.0,
133
+ 0.0,
134
+ 0.0
135
+ ],
136
+ "std": [
137
+ 0.0,
138
+ 0.0,
139
+ 0.0,
140
+ 0.0,
141
+ 0.0,
142
+ 0.0
143
+ ],
144
+ "q01": [
145
+ 0.0,
146
+ 0.0,
147
+ 0.0,
148
+ 0.0,
149
+ 0.0,
150
+ 0.0
151
+ ],
152
+ "q99": [
153
+ 0.0,
154
+ 0.0,
155
+ 0.0,
156
+ 0.0,
157
+ 0.0,
158
+ 0.0
159
+ ]
160
+ },
161
+ "neck": {
162
+ "max": [
163
+ 0.0,
164
+ 0.0,
165
+ 0.0
166
+ ],
167
+ "min": [
168
+ 0.0,
169
+ 0.0,
170
+ 0.0
171
+ ],
172
+ "mean": [
173
+ 0.0,
174
+ 0.0,
175
+ 0.0
176
+ ],
177
+ "std": [
178
+ 0.0,
179
+ 0.0,
180
+ 0.0
181
+ ],
182
+ "q01": [
183
+ 0.0,
184
+ 0.0,
185
+ 0.0
186
+ ],
187
+ "q99": [
188
+ 0.0,
189
+ 0.0,
190
+ 0.0
191
+ ]
192
+ },
193
+ "right_arm": {
194
+ "max": [
195
+ 0.5763281583786011,
196
+ -0.00032954843482002616,
197
+ 0.37314075231552124,
198
+ -0.1637815684080124,
199
+ 1.329447627067566,
200
+ 0.6431512832641602,
201
+ 0.4189817011356354
202
+ ],
203
+ "min": [
204
+ -1.2306218147277832,
205
+ -0.5229626297950745,
206
+ -0.8094180822372437,
207
+ -2.4383761882781982,
208
+ -0.6305757761001587,
209
+ -0.8716709017753601,
210
+ -0.7293762564659119
211
+ ],
212
+ "mean": [
213
+ -0.10444240565490552,
214
+ -0.13695145797621294,
215
+ -0.16500887587493102,
216
+ -1.828367419539661,
217
+ 0.07705696715706638,
218
+ 0.12141103092339846,
219
+ 0.061788404017865145
220
+ ],
221
+ "std": [
222
+ 0.38636161304960903,
223
+ 0.0870939215352671,
224
+ 0.21988771523730752,
225
+ 0.5639602020526441,
226
+ 0.46544655177923533,
227
+ 0.2626440603024017,
228
+ 0.17959779789693425
229
+ ],
230
+ "q01": [
231
+ -1.055312667849845,
232
+ -0.3435189124668764,
233
+ -0.49846730434904085,
234
+ -2.255709007274927,
235
+ -0.45876916651402594,
236
+ -0.4342753595772687,
237
+ -0.5170315027013457
238
+ ],
239
+ "q99": [
240
+ 0.2689430456827284,
241
+ -0.030387398489686107,
242
+ 0.21867227328972055,
243
+ -0.2344489444042328,
244
+ 1.1082468866994197,
245
+ 0.5732940144188441,
246
+ 0.2946156737893951
247
+ ]
248
+ },
249
+ "right_hand": {
250
+ "max": [
251
+ 2.2101833820343018,
252
+ 1.5426517724990845,
253
+ 1.3720656633377075,
254
+ 1.5265506505966187,
255
+ 0.7259339690208435,
256
+ 1.8485523462295532
257
+ ],
258
+ "min": [
259
+ -0.9086290001869202,
260
+ -0.34328675270080566,
261
+ -0.18020564317703247,
262
+ -0.13265082240104675,
263
+ -0.5296226739883423,
264
+ -5.6692497309995815e-05
265
+ ],
266
+ "mean": [
267
+ 0.12714693451054038,
268
+ 0.12503929377932374,
269
+ 0.10490069723531753,
270
+ 0.12472590113347502,
271
+ 0.034942170566977064,
272
+ 1.7167837245701534
273
+ ],
274
+ "std": [
275
+ 0.36252322000476567,
276
+ 0.350845897957293,
277
+ 0.27983109926724054,
278
+ 0.35125261024045656,
279
+ 0.1608232623521163,
280
+ 0.16839015977418081
281
+ ],
282
+ "q01": [
283
+ -0.00021042507639985962,
284
+ -0.0003995920710135435,
285
+ -0.0006739105414028505,
286
+ -0.0005180151695061384,
287
+ -0.19756866555907762,
288
+ 0.7182265685693864
289
+ ],
290
+ "q99": [
291
+ 0.7909142020072821,
292
+ 0.6859716290777796,
293
+ 0.5278980906622204,
294
+ 0.6862907904293449,
295
+ 0.2971493462119935,
296
+ 1.7764400453176523
297
+ ]
298
+ },
299
+ "right_leg": {
300
+ "max": [
301
+ 0.0,
302
+ 0.0,
303
+ 0.0,
304
+ 0.0,
305
+ 0.0,
306
+ 0.0
307
+ ],
308
+ "min": [
309
+ 0.0,
310
+ 0.0,
311
+ 0.0,
312
+ 0.0,
313
+ 0.0,
314
+ 0.0
315
+ ],
316
+ "mean": [
317
+ 0.0,
318
+ 0.0,
319
+ 0.0,
320
+ 0.0,
321
+ 0.0,
322
+ 0.0
323
+ ],
324
+ "std": [
325
+ 0.0,
326
+ 0.0,
327
+ 0.0,
328
+ 0.0,
329
+ 0.0,
330
+ 0.0
331
+ ],
332
+ "q01": [
333
+ 0.0,
334
+ 0.0,
335
+ 0.0,
336
+ 0.0,
337
+ 0.0,
338
+ 0.0
339
+ ],
340
+ "q99": [
341
+ 0.0,
342
+ 0.0,
343
+ 0.0,
344
+ 0.0,
345
+ 0.0,
346
+ 0.0
347
+ ]
348
+ },
349
+ "waist": {
350
+ "max": [
351
+ 0.26695653796195984,
352
+ 0.08334966003894806,
353
+ 0.07216312736272812
354
+ ],
355
+ "min": [
356
+ -0.2275010198354721,
357
+ -0.05941028147935867,
358
+ -0.06632182747125626
359
+ ],
360
+ "mean": [
361
+ -0.009088211253845943,
362
+ 0.007008921900086949,
363
+ 4.676868188462503e-05
364
+ ],
365
+ "std": [
366
+ 0.056759031419906736,
367
+ 0.012396650749278731,
368
+ 0.004417266856814872
369
+ ],
370
+ "q01": [
371
+ -0.16332921097206202,
372
+ -0.015421461621350144,
373
+ -0.014630681697305624
374
+ ],
375
+ "q99": [
376
+ 0.13744005306247284,
377
+ 0.0457459559314255,
378
+ 0.014499899334143106
379
+ ]
380
+ }
381
+ },
382
+ "action": {
383
+ "left_arm": {
384
+ "max": [
385
+ 0.6280269026756287,
386
+ 1.0856059789657593,
387
+ 0.6198207139968872,
388
+ -0.11844536662101746,
389
+ 1.3322055339813232,
390
+ 1.4988164901733398,
391
+ 1.0346708297729492
392
+ ],
393
+ "min": [
394
+ -1.710237741470337,
395
+ -0.00013317583943717182,
396
+ -0.7454433441162109,
397
+ -2.586074113845825,
398
+ -1.0837091207504272,
399
+ -1.386093258857727,
400
+ -1.3439968824386597
401
+ ],
402
+ "mean": [
403
+ -0.6799247340918799,
404
+ 0.16721158422843546,
405
+ -0.11535343435745449,
406
+ -0.9436029222700912,
407
+ 0.36365068991117605,
408
+ 0.14380171903844655,
409
+ -0.25189810616483704
410
+ ],
411
+ "std": [
412
+ 0.5580639758450872,
413
+ 0.1859702340362971,
414
+ 0.309604801824786,
415
+ 0.5526759011102956,
416
+ 0.3240504237858667,
417
+ 0.48885415997601933,
418
+ 0.4003068966399253
419
+ ],
420
+ "q01": [
421
+ -1.5134614877838755,
422
+ -2.5443685204795374e-06,
423
+ -0.6358676054417707,
424
+ -2.204357498638983,
425
+ -0.24498171518011658,
426
+ -0.942773340424589,
427
+ -1.035041455892149
428
+ ],
429
+ "q99": [
430
+ 0.2667916973421422,
431
+ 0.6454377183089528,
432
+ 0.38861364754699357,
433
+ -0.218033515342701,
434
+ 0.964767691739352,
435
+ 0.8189856041001162,
436
+ 0.33063466549698206
437
+ ]
438
+ },
439
+ "left_hand": {
440
+ "max": [
441
+ 1.5,
442
+ 1.5,
443
+ 1.5,
444
+ 1.5,
445
+ 3.0,
446
+ 3.0
447
+ ],
448
+ "min": [
449
+ -1.5,
450
+ -1.5,
451
+ -1.5,
452
+ -1.5,
453
+ -3.0,
454
+ 3.0
455
+ ],
456
+ "mean": [
457
+ -0.5786756382498892,
458
+ -0.5786756382498892,
459
+ -0.5786756382498892,
460
+ -0.5786756382498892,
461
+ -1.1573512764997784,
462
+ 3.0
463
+ ],
464
+ "std": [
465
+ 1.3824728122552283,
466
+ 1.3824728122552283,
467
+ 1.3824728122552283,
468
+ 1.3824728122552283,
469
+ 2.7649456245104567,
470
+ 0.0
471
+ ],
472
+ "q01": [
473
+ -1.5,
474
+ -1.5,
475
+ -1.5,
476
+ -1.5,
477
+ -3.0,
478
+ 3.0
479
+ ],
480
+ "q99": [
481
+ 1.5,
482
+ 1.5,
483
+ 1.5,
484
+ 1.5,
485
+ 3.0,
486
+ 3.0
487
+ ]
488
+ },
489
+ "left_leg": {
490
+ "max": [
491
+ 0.0,
492
+ 0.0,
493
+ 0.0,
494
+ 0.0,
495
+ 0.0,
496
+ 0.0
497
+ ],
498
+ "min": [
499
+ 0.0,
500
+ 0.0,
501
+ 0.0,
502
+ 0.0,
503
+ 0.0,
504
+ 0.0
505
+ ],
506
+ "mean": [
507
+ 0.0,
508
+ 0.0,
509
+ 0.0,
510
+ 0.0,
511
+ 0.0,
512
+ 0.0
513
+ ],
514
+ "std": [
515
+ 0.0,
516
+ 0.0,
517
+ 0.0,
518
+ 0.0,
519
+ 0.0,
520
+ 0.0
521
+ ],
522
+ "q01": [
523
+ 0.0,
524
+ 0.0,
525
+ 0.0,
526
+ 0.0,
527
+ 0.0,
528
+ 0.0
529
+ ],
530
+ "q99": [
531
+ 0.0,
532
+ 0.0,
533
+ 0.0,
534
+ 0.0,
535
+ 0.0,
536
+ 0.0
537
+ ]
538
+ },
539
+ "neck": {
540
+ "max": [
541
+ 0.0,
542
+ 0.0,
543
+ 0.0
544
+ ],
545
+ "min": [
546
+ 0.0,
547
+ 0.0,
548
+ 0.0
549
+ ],
550
+ "mean": [
551
+ 0.0,
552
+ 0.0,
553
+ 0.0
554
+ ],
555
+ "std": [
556
+ 0.0,
557
+ 0.0,
558
+ 0.0
559
+ ],
560
+ "q01": [
561
+ 0.0,
562
+ 0.0,
563
+ 0.0
564
+ ],
565
+ "q99": [
566
+ 0.0,
567
+ 0.0,
568
+ 0.0
569
+ ]
570
+ },
571
+ "right_arm": {
572
+ "max": [
573
+ 0.6127371191978455,
574
+ -1.6477421013405547e-05,
575
+ 0.4337724447250366,
576
+ -0.14424720406532288,
577
+ 1.3389023542404175,
578
+ 0.7028171420097351,
579
+ 0.4681946039199829
580
+ ],
581
+ "min": [
582
+ -1.2969703674316406,
583
+ -0.5395581126213074,
584
+ -0.8482951521873474,
585
+ -2.5016884803771973,
586
+ -0.6966005563735962,
587
+ -0.8142121434211731,
588
+ -0.6397610306739807
589
+ ],
590
+ "mean": [
591
+ -0.1257694364404631,
592
+ -0.1403044185423642,
593
+ -0.171435831635647,
594
+ -1.7994682294504503,
595
+ 0.08708710077479287,
596
+ 0.1152459722228435,
597
+ 0.059168436029387705
598
+ ],
599
+ "std": [
600
+ 0.41746839497758625,
601
+ 0.09696209157254876,
602
+ 0.22371379835887534,
603
+ 0.5992303437519901,
604
+ 0.4728355056664524,
605
+ 0.2717111152639662,
606
+ 0.1838782359995852
607
+ ],
608
+ "q01": [
609
+ -1.1308325960278425,
610
+ -0.39055236037646557,
611
+ -0.5096971352429109,
612
+ -2.2875073070732066,
613
+ -0.48236051571076577,
614
+ -0.44360634162481666,
615
+ -0.5050743762152768
616
+ ],
617
+ "q99": [
618
+ 0.2835734607154647,
619
+ -0.02060332786507896,
620
+ 0.23447717075834373,
621
+ -0.20894701428878745,
622
+ 1.1111591014596471,
623
+ 0.5910172348058318,
624
+ 0.31546917249035067
625
+ ]
626
+ },
627
+ "right_hand": {
628
+ "max": [
629
+ 1.5,
630
+ 1.5,
631
+ 1.5,
632
+ 1.5,
633
+ 3.0,
634
+ 3.0
635
+ ],
636
+ "min": [
637
+ -1.5,
638
+ -1.5,
639
+ -1.5,
640
+ -1.5,
641
+ -3.0,
642
+ 3.0
643
+ ],
644
+ "mean": [
645
+ -1.2304898876696215,
646
+ -1.2304898876696215,
647
+ -1.2304898876696215,
648
+ -1.2304898876696215,
649
+ -2.460979775339243,
650
+ 3.0
651
+ ],
652
+ "std": [
653
+ 0.8576662841652352,
654
+ 0.8576662841652352,
655
+ 0.8576662841652352,
656
+ 0.8576662841652352,
657
+ 1.7153325683304703,
658
+ 0.0
659
+ ],
660
+ "q01": [
661
+ -1.5,
662
+ -1.5,
663
+ -1.5,
664
+ -1.5,
665
+ -3.0,
666
+ 3.0
667
+ ],
668
+ "q99": [
669
+ -0.13731355515489263,
670
+ -0.13731355515489263,
671
+ -0.13731355515489263,
672
+ -0.13731355515489263,
673
+ -0.27462711030978526,
674
+ 3.0
675
+ ]
676
+ },
677
+ "right_leg": {
678
+ "max": [
679
+ 0.0,
680
+ 0.0,
681
+ 0.0,
682
+ 0.0,
683
+ 0.0,
684
+ 0.0
685
+ ],
686
+ "min": [
687
+ 0.0,
688
+ 0.0,
689
+ 0.0,
690
+ 0.0,
691
+ 0.0,
692
+ 0.0
693
+ ],
694
+ "mean": [
695
+ 0.0,
696
+ 0.0,
697
+ 0.0,
698
+ 0.0,
699
+ 0.0,
700
+ 0.0
701
+ ],
702
+ "std": [
703
+ 0.0,
704
+ 0.0,
705
+ 0.0,
706
+ 0.0,
707
+ 0.0,
708
+ 0.0
709
+ ],
710
+ "q01": [
711
+ 0.0,
712
+ 0.0,
713
+ 0.0,
714
+ 0.0,
715
+ 0.0,
716
+ 0.0
717
+ ],
718
+ "q99": [
719
+ 0.0,
720
+ 0.0,
721
+ 0.0,
722
+ 0.0,
723
+ 0.0,
724
+ 0.0
725
+ ]
726
+ },
727
+ "waist": {
728
+ "max": [
729
+ 0.28079351782798767,
730
+ 0.08561733365058899,
731
+ 0.010531757026910782
732
+ ],
733
+ "min": [
734
+ -0.2570103704929352,
735
+ -0.027002524584531784,
736
+ -0.011262396350502968
737
+ ],
738
+ "mean": [
739
+ -0.005877676509634281,
740
+ 0.008748791934722366,
741
+ 0.0003977272501223699
742
+ ],
743
+ "std": [
744
+ 0.06327422492010919,
745
+ 0.013447482891182102,
746
+ 0.002021672243637192
747
+ ],
748
+ "q01": [
749
+ -0.16770933762652512,
750
+ -0.01066351753788231,
751
+ -0.0050679656371188505
752
+ ],
753
+ "q99": [
754
+ 0.16618256699461764,
755
+ 0.04434403312116081,
756
+ 0.0055399245253749275
757
+ ]
758
+ }
759
+ }
760
+ },
761
+ "modalities": {
762
+ "video": {
763
+ "ego_view": {
764
+ "resolution": [
765
+ 256,
766
+ 256
767
+ ],
768
+ "channels": 3,
769
+ "fps": 20.0
770
+ }
771
+ },
772
+ "state": {
773
+ "left_arm": {
774
+ "absolute": true,
775
+ "rotation_type": null,
776
+ "shape": [
777
+ 7
778
+ ],
779
+ "continuous": true
780
+ },
781
+ "left_hand": {
782
+ "absolute": true,
783
+ "rotation_type": null,
784
+ "shape": [
785
+ 6
786
+ ],
787
+ "continuous": true
788
+ },
789
+ "left_leg": {
790
+ "absolute": true,
791
+ "rotation_type": null,
792
+ "shape": [
793
+ 6
794
+ ],
795
+ "continuous": true
796
+ },
797
+ "neck": {
798
+ "absolute": true,
799
+ "rotation_type": null,
800
+ "shape": [
801
+ 3
802
+ ],
803
+ "continuous": true
804
+ },
805
+ "right_arm": {
806
+ "absolute": true,
807
+ "rotation_type": null,
808
+ "shape": [
809
+ 7
810
+ ],
811
+ "continuous": true
812
+ },
813
+ "right_hand": {
814
+ "absolute": true,
815
+ "rotation_type": null,
816
+ "shape": [
817
+ 6
818
+ ],
819
+ "continuous": true
820
+ },
821
+ "right_leg": {
822
+ "absolute": true,
823
+ "rotation_type": null,
824
+ "shape": [
825
+ 6
826
+ ],
827
+ "continuous": true
828
+ },
829
+ "waist": {
830
+ "absolute": true,
831
+ "rotation_type": null,
832
+ "shape": [
833
+ 3
834
+ ],
835
+ "continuous": true
836
+ }
837
+ },
838
+ "action": {
839
+ "left_arm": {
840
+ "absolute": true,
841
+ "rotation_type": null,
842
+ "shape": [
843
+ 7
844
+ ],
845
+ "continuous": true
846
+ },
847
+ "left_hand": {
848
+ "absolute": true,
849
+ "rotation_type": null,
850
+ "shape": [
851
+ 6
852
+ ],
853
+ "continuous": true
854
+ },
855
+ "left_leg": {
856
+ "absolute": true,
857
+ "rotation_type": null,
858
+ "shape": [
859
+ 6
860
+ ],
861
+ "continuous": true
862
+ },
863
+ "neck": {
864
+ "absolute": true,
865
+ "rotation_type": null,
866
+ "shape": [
867
+ 3
868
+ ],
869
+ "continuous": true
870
+ },
871
+ "right_arm": {
872
+ "absolute": true,
873
+ "rotation_type": null,
874
+ "shape": [
875
+ 7
876
+ ],
877
+ "continuous": true
878
+ },
879
+ "right_hand": {
880
+ "absolute": true,
881
+ "rotation_type": null,
882
+ "shape": [
883
+ 6
884
+ ],
885
+ "continuous": true
886
+ },
887
+ "right_leg": {
888
+ "absolute": true,
889
+ "rotation_type": null,
890
+ "shape": [
891
+ 6
892
+ ],
893
+ "continuous": true
894
+ },
895
+ "waist": {
896
+ "absolute": true,
897
+ "rotation_type": null,
898
+ "shape": [
899
+ 3
900
+ ],
901
+ "continuous": true
902
+ }
903
+ }
904
+ },
905
+ "embodiment_tag": "gr1"
906
+ }
907
+ }
gr00t-clean-i1000-basic/model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa4f89289eb7a6c06eae90de1c0ad44efc1d8344b3ff1447ccc84bc33dd17d45
3
+ size 4999367032
gr00t-clean-i1000-basic/model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7ec8b3a1c2a5d0a6262849277b5c5ef028ea5d9a00fc43cbdb061ed50faa5a4
3
+ size 2586705312
gr00t-clean-i1000-basic/model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
gr00t-clean-i1000-basic/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0df1c267e9083b4fdfe6eeaf38d1be3fb7d2312cedc7e327a687e067104da909
3
+ size 8550720062
gr00t-clean-i1000-basic/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c95faa5dad260d03a77803a97484b5c2b23071e317ad7b37ab77ea476f3132f
3
+ size 14512
gr00t-clean-i1000-basic/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c05f197fb759abe78afb451e955857a4ee46d7b06e799a23946897f0d381e882
3
+ size 14512
gr00t-clean-i1000-basic/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:781e2c9904dbb05cf39e30bd4a8df87b4423f34c8cfa52f09047699a0f625734
3
+ size 1064
gr00t-clean-i1000-basic/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
hf_upload_192894.err ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "<stdin>", line 28, in <module>
3
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
4
+ return fn(*args, **kwargs)
5
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 3705, in create_repo
6
+ raise ValueError("Invalid repo type")
7
+ ValueError: Invalid repo type
hf_upload_192894.out ADDED
@@ -0,0 +1 @@
 
 
1
+ [info] Creating/using repo nhatcm/gr00t-models (type=datasets, private=False)
hf_upload_192896.err ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 407, in hf_raise_for_status
3
+ response.raise_for_status()
4
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
5
+ raise HTTPError(http_error_msg, response=self)
6
+ requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/api/repos/create
7
+
8
+ The above exception was the direct cause of the following exception:
9
+
10
+ Traceback (most recent call last):
11
+ File "<stdin>", line 28, in <module>
12
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
13
+ return fn(*args, **kwargs)
14
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 3779, in create_repo
15
+ raise err
16
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 3766, in create_repo
17
+ hf_raise_for_status(r)
18
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 471, in hf_raise_for_status
19
+ raise _format(HfHubHTTPError, message, response) from e
20
+ huggingface_hub.errors.HfHubHTTPError: (Request ID: Root=1-68f179a0-5cc2801c3573674011bc7714;e24a57dc-0a18-4b48-a481-1db774f2e268)
21
+
22
+ 403 Forbidden: You don't have the rights to create a dataset under the namespace "nhatcm".
23
+ Cannot access content at: https://huggingface.co/api/repos/create.
24
+ Make sure your token has the correct permissions.
hf_upload_192896.out ADDED
@@ -0,0 +1 @@
 
 
1
+ [info] Creating/using repo nhatcm/gr00t-models (type=dataset, private=False)
hf_upload_192897.err ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "<stdin>", line 33, in <module>
3
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
4
+ return fn(*args, **kwargs)
5
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1669, in _inner
6
+ return fn(self, *args, **kwargs)
7
+ TypeError: HfApi.upload_folder() got an unexpected keyword argument 'multi_commits'
hf_upload_192897.out ADDED
@@ -0,0 +1 @@
 
 
1
+ [upload] Uploading from /home/n/nhatcm/dataspace/gr00t_models
hf_upload_192898.err ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "<stdin>", line 33, in <module>
3
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
4
+ return fn(*args, **kwargs)
5
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1669, in _inner
6
+ return fn(self, *args, **kwargs)
7
+ TypeError: HfApi.upload_folder() got an unexpected keyword argument 'num_threads'
hf_upload_192898.out ADDED
@@ -0,0 +1 @@
 
 
1
+ [upload] Uploading from /home/n/nhatcm/dataspace/gr00t_models
hf_upload_192899.err ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 407, in hf_raise_for_status
3
+ response.raise_for_status()
4
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
5
+ raise HTTPError(http_error_msg, response=self)
6
+ requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/datasets/nhatcm/gr00t-models/preupload/main
7
+
8
+ The above exception was the direct cause of the following exception:
9
+
10
+ Traceback (most recent call last):
11
+ File "<stdin>", line 33, in <module>
12
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
13
+ return fn(*args, **kwargs)
14
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1669, in _inner
15
+ return fn(self, *args, **kwargs)
16
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4993, in upload_folder
17
+ commit_info = self.create_commit(
18
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
19
+ return fn(*args, **kwargs)
20
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1669, in _inner
21
+ return fn(self, *args, **kwargs)
22
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4250, in create_commit
23
+ self.preupload_lfs_files(
24
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4476, in preupload_lfs_files
25
+ _fetch_upload_modes(
26
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
27
+ return fn(*args, **kwargs)
28
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/_commit_api.py", line 692, in _fetch_upload_modes
29
+ hf_raise_for_status(resp)
30
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 457, in hf_raise_for_status
31
+ raise _format(RepositoryNotFoundError, message, response) from e
32
+ huggingface_hub.errors.RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68f17a6f-13328d863504779f257ca937;f5192c30-d7e1-469c-9226-9d69a7dc70df)
33
+
34
+ Repository Not Found for url: https://huggingface.co/api/datasets/nhatcm/gr00t-models/preupload/main.
35
+ Please make sure you specified the correct `repo_id` and `repo_type`.
36
+ If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
37
+ Note: Creating a commit assumes that the repo already exists on the Huggingface Hub. Please use `create_repo` if it's not the case.
hf_upload_192899.out ADDED
@@ -0,0 +1 @@
 
 
1
+ [upload] Uploading from /home/n/nhatcm/dataspace/gr00t_models
hf_upload_192900.err ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Traceback (most recent call last):
2
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 407, in hf_raise_for_status
3
+ response.raise_for_status()
4
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
5
+ raise HTTPError(http_error_msg, response=self)
6
+ requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/datasets/nhatchung/gr00t-models/preupload/main
7
+
8
+ The above exception was the direct cause of the following exception:
9
+
10
+ Traceback (most recent call last):
11
+ File "<stdin>", line 33, in <module>
12
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
13
+ return fn(*args, **kwargs)
14
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1669, in _inner
15
+ return fn(self, *args, **kwargs)
16
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4993, in upload_folder
17
+ commit_info = self.create_commit(
18
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
19
+ return fn(*args, **kwargs)
20
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1669, in _inner
21
+ return fn(self, *args, **kwargs)
22
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4250, in create_commit
23
+ self.preupload_lfs_files(
24
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4476, in preupload_lfs_files
25
+ _fetch_upload_modes(
26
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
27
+ return fn(*args, **kwargs)
28
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/_commit_api.py", line 692, in _fetch_upload_modes
29
+ hf_raise_for_status(resp)
30
+ File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 457, in hf_raise_for_status
31
+ raise _format(RepositoryNotFoundError, message, response) from e
32
+ huggingface_hub.errors.RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68f17b15-1831778e262a37dd1ebe72b3;0cc7bfcf-3bf7-492c-9514-9f526cb91e24)
33
+
34
+ Repository Not Found for url: https://huggingface.co/api/datasets/nhatchung/gr00t-models/preupload/main.
35
+ Please make sure you specified the correct `repo_id` and `repo_type`.
36
+ If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
37
+ Note: Creating a commit assumes that the repo already exists on the Huggingface Hub. Please use `create_repo` if it's not the case.
hf_upload_192900.out ADDED
@@ -0,0 +1 @@
 
 
1
+ [upload] Uploading from /home/n/nhatcm/dataspace/gr00t_models
hf_upload_192901.err ADDED
The diff for this file is too large to render. See raw diff
 
hf_upload_192901.out ADDED
@@ -0,0 +1 @@
 
 
1
+ [upload] Uploading from /home/n/nhatcm/dataspace/gr00t_models
hf_upload_gr00t_models.sbatch ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ #SBATCH --job-name=hf_upload_gr00t_models
3
+ #SBATCH --nodes=1
4
+ #SBATCH --cpus-per-task=32
5
+ #SBATCH --time=00:30:00 # 30 minutes max
6
+ #SBATCH --output=/home/n/nhatcm/dataspace/gr00t_models/hf_upload_%j.out
7
+ #SBATCH --error=/home/n/nhatcm/dataspace/gr00t_models/hf_upload_%j.err
8
+ #SBATCH --signal=B:TERM@60
9
+ set -euo pipefail
10
+
11
+ # ── EDITABLE SETTINGS ────────────────────────────────────────────────
12
+ export REPO_ID="nhatchung/gr00t_models"
13
+ export REPO_TYPE="dataset" # "model" | "dataset" | "space"
14
+ export SRC_DIR="/home/n/nhatcm/dataspace/gr00t_models"
15
+ export README_PATH="/home/n/nhatcm/dataspace/gr00t_models/README.md"
16
+ export PRIVATE="false"
17
+ export COMMIT_MSG="Upload gr00t_models"
18
+ export PATH_IN_REPO=""
19
+ export MAX_WORKERS="${SLURM_CPUS_PER_TASK:-8}"
20
+ # ─────────────────────────────────────────────────────────────────────
21
+
22
+ # Temporary/cache dirs
23
+ export PIP_CACHE_DIR="/home/n/nhatcm/_pip_cache"
24
+ export TMPDIR="/home/n/nhatcm/_pip_tmp"
25
+ mkdir -p "$PIP_CACHE_DIR" "$TMPDIR"
26
+
27
+ # Activate Conda
28
+ source /home/n/nhatcm/miniforge3/etc/profile.d/conda.sh
29
+ conda activate gr00t || true
30
+
31
+ # Enable parallel transfer
32
+ export HF_HUB_ENABLE_HF_TRANSFER=1
33
+ export HUGGINGFACE_HUB_MAX_WORKERS="${MAX_WORKERS}"
34
+
35
+ python - <<'PY'
36
+ import os, sys
37
+ from pathlib import Path
38
+ from huggingface_hub import HfApi, create_repo, upload_folder, upload_file
39
+
40
+ REPO_ID = os.environ["REPO_ID"]
41
+ REPO_TYPE = os.environ.get("REPO_TYPE","model")
42
+ SRC_DIR = os.environ["SRC_DIR"]
43
+ README_PATH = os.environ["README_PATH"]
44
+ PRIVATE = os.environ.get("PRIVATE","true").lower() == "true"
45
+ COMMIT_MSG = os.environ.get("COMMIT_MSG","Upload via SLURM")
46
+ PATH_IN_REPO = os.environ.get("PATH_IN_REPO","")
47
+ MAX_WORKERS = int(os.environ.get("HUGGINGFACE_HUB_MAX_WORKERS","8"))
48
+ TOKEN = os.environ.get("HF_TOKEN")
49
+
50
+ def fail(msg):
51
+ print(f"[ERROR] {msg}", file=sys.stderr)
52
+ sys.exit(2)
53
+
54
+ if not TOKEN:
55
+ fail("Missing HF_TOKEN. Run: export HF_TOKEN=hf_xxx")
56
+ if not Path(SRC_DIR).exists():
57
+ fail(f"SRC_DIR not found: {SRC_DIR}")
58
+ if not Path(README_PATH).exists():
59
+ print(f"[WARN] README not found at {README_PATH}")
60
+
61
+ api = HfApi(token=TOKEN)
62
+ ignore_patterns = [
63
+ "**/__pycache__/**", "**/.git/**", "**/*.tmp",
64
+ "**/*.log", "**/.DS_Store", "**/._*", "**/*.pth",
65
+ ]
66
+
67
+ print(f"[upload] Uploading from {SRC_DIR}")
68
+ api.upload_folder(
69
+ repo_id=REPO_ID,
70
+ repo_type=REPO_TYPE,
71
+ folder_path=SRC_DIR,
72
+ path_in_repo=PATH_IN_REPO
73
+ )
74
+
75
+ if Path(README_PATH).is_file():
76
+ print("[upload] Uploading README.md")
77
+ api.upload_file(
78
+ repo_id=REPO_ID,
79
+ repo_type=REPO_TYPE,
80
+ path_or_fileobj=README_PATH,
81
+ )
82
+
83
+ print("[done] Upload finished successfully.")
84
+ PY