arttry commited on
Commit
a3c83e2
·
verified ·
1 Parent(s): c4b1644

benchmark results

Browse files
control/benchmark_results.json ADDED
@@ -0,0 +1,477 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "caption": {
3
+ "engine": "transformers",
4
+ "precision": "fp16",
5
+ "layout": "shard",
6
+ "replicas": 1,
7
+ "mock": false,
8
+ "attn": "sdpa",
9
+ "model": "Qwen/Qwen3-VL-8B-Instruct",
10
+ "runs": [
11
+ {
12
+ "batch": 1,
13
+ "seconds": 25.622939433000056,
14
+ "img_per_s": 0.07805505707999211,
15
+ "tokens": 298,
16
+ "tokens_per_s": 11.630203504918825,
17
+ "peak_gb": 9.393143808,
18
+ "vram_frac": 0.600736838134517,
19
+ "oom": false
20
+ },
21
+ {
22
+ "batch": 2,
23
+ "seconds": 42.26332554099997,
24
+ "img_per_s": 0.09464470551706987,
25
+ "tokens": 724,
26
+ "tokens_per_s": 17.130691698589647,
27
+ "peak_gb": 9.714008064,
28
+ "vram_frac": 0.6212576544405185,
29
+ "oom": false
30
+ },
31
+ {
32
+ "batch": 4,
33
+ "seconds": 64.22577101600007,
34
+ "img_per_s": 0.1245605910749911,
35
+ "tokens": 1498,
36
+ "tokens_per_s": 23.323970678792083,
37
+ "peak_gb": 10.494148608,
38
+ "vram_frac": 0.6711514038904047,
39
+ "oom": false
40
+ },
41
+ {
42
+ "batch": 6,
43
+ "seconds": 81.348354492,
44
+ "img_per_s": 0.1475137398283835,
45
+ "tokens": 2262,
46
+ "tokens_per_s": 27.80633995765029,
47
+ "peak_gb": 11.34559232,
48
+ "vram_frac": 0.7256053347416247,
49
+ "oom": false
50
+ },
51
+ {
52
+ "batch": 8,
53
+ "seconds": 98.55856741599996,
54
+ "img_per_s": 0.1623400219736003,
55
+ "tokens": 2998,
56
+ "tokens_per_s": 30.418461617303358,
57
+ "peak_gb": 12.4780544,
58
+ "vram_frac": 0.7980317452333949,
59
+ "oom": false
60
+ },
61
+ {
62
+ "batch": 12,
63
+ "seconds": 133.739474847,
64
+ "img_per_s": 0.17945337401284375,
65
+ "tokens": 4500,
66
+ "tokens_per_s": 33.6475076274082,
67
+ "peak_gb": 14.17674752,
68
+ "vram_frac": 0.9066713609710504,
69
+ "oom": false
70
+ }
71
+ ],
72
+ "n_images": 32,
73
+ "avg_item_tokens": 1084.0,
74
+ "ok": true,
75
+ "best_batch": 8,
76
+ "best_img_per_s": 0.1623400219736003,
77
+ "knee_batch": 8,
78
+ "stable_batch": 6,
79
+ "max_tested_batch": 8,
80
+ "token_budget": 8672,
81
+ "peak_vram_gb": 12.4780544,
82
+ "tokens_per_s": 30.418461617303358,
83
+ "vram_cap": 0.85,
84
+ "pipeline_img_per_s": 0.15024092364010844,
85
+ "caption_ok_rate": 1.0,
86
+ "errors": 0,
87
+ "mean_words": 75.28125,
88
+ "flags": {
89
+ "no_lighting": 26,
90
+ "no_style": 3,
91
+ "generic_opening": 1
92
+ },
93
+ "oom_events": 0,
94
+ "retries": 0,
95
+ "flash_attn": {
96
+ "tested": false,
97
+ "reason": "غير قابل: flash-attn غير مثبّت أو GPU < Ampere أو دقة مكمّمة أو المحرك ليس Transformers"
98
+ },
99
+ "vllm": {
100
+ "tested": false,
101
+ "reason": "vllm غير مثبّت أو لا GPU"
102
+ },
103
+ "engine_final": "transformers",
104
+ "attn_final": "sdpa",
105
+ "img_per_s_total": 0.1623400219736003,
106
+ "seconds": 810.31
107
+ },
108
+ "qc_calibration": {
109
+ "lap_floor": 2.0,
110
+ "ten_floor": 20.0,
111
+ "n": 240,
112
+ "source": "benchmark"
113
+ },
114
+ "videos": {
115
+ "items": [
116
+ {
117
+ "video_id": "ia_AboutBan1935",
118
+ "duration": 664.030033,
119
+ "width": 640,
120
+ "height": 480,
121
+ "codec": "h264",
122
+ "avg_fps": 29.97002997002997,
123
+ "vfr": false,
124
+ "n_frames": 19901,
125
+ "n_candidates": 19901,
126
+ "n_selected": 7029,
127
+ "ratio_actual": 0.3531983317421235,
128
+ "size_mb": 68.512128,
129
+ "analysis_s": 0.4862076940000293,
130
+ "plan_s": 0.031052323000039905,
131
+ "hashes_per_s": 640886.0296852646,
132
+ "local": false,
133
+ "download_MBps": 11.567034875264293
134
+ },
135
+ {
136
+ "video_id": "ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012",
137
+ "duration": 708.440998,
138
+ "width": 640,
139
+ "height": 480,
140
+ "codec": "h264",
141
+ "avg_fps": 30.0,
142
+ "vfr": false,
143
+ "n_frames": 21253,
144
+ "n_candidates": 21253,
145
+ "n_selected": 7379,
146
+ "ratio_actual": 0.3471980426292759,
147
+ "size_mb": 65.458128,
148
+ "analysis_s": 0.49404504699998597,
149
+ "plan_s": 0.029231041000002733,
150
+ "hashes_per_s": 727069.5559558762,
151
+ "local": false,
152
+ "download_MBps": 13.501321190633963
153
+ }
154
+ ],
155
+ "notes": [],
156
+ "ok": true,
157
+ "seconds": 11.81
158
+ },
159
+ "decode": {
160
+ "agg": {
161
+ "ffmpeg_cpu": {
162
+ "videos": 2,
163
+ "videos_ok": 2,
164
+ "selected_fps": 34.90131106086326,
165
+ "source_fps": 93.32350505448144,
166
+ "startup_s": 0.1739195855000446,
167
+ "color_mad": 0.0,
168
+ "errors": [],
169
+ "valid": true
170
+ },
171
+ "pynvvideocodec": {
172
+ "videos": 2,
173
+ "videos_ok": 2,
174
+ "selected_fps": 654.3346911264864,
175
+ "source_fps": 1742.9682170655522,
176
+ "startup_s": 0.06082116700002871,
177
+ "color_mad": 0.6002027271412037,
178
+ "errors": [],
179
+ "valid": true
180
+ },
181
+ "ffmpeg_nvdec": {
182
+ "videos": 2,
183
+ "videos_ok": 2,
184
+ "selected_fps": 46.36280112694075,
185
+ "source_fps": 123.651117364138,
186
+ "startup_s": 0.37440584999995963,
187
+ "color_mad": 0.0,
188
+ "errors": [],
189
+ "valid": true
190
+ }
191
+ },
192
+ "per_video": {
193
+ "ffmpeg_cpu": {
194
+ "ia_AboutBan1935": {
195
+ "ok": true,
196
+ "frames": 480,
197
+ "seconds": 12.145097802000066,
198
+ "startup_s": 0.16673362800003133,
199
+ "selected_fps": 39.988765831623866,
200
+ "source_fps": 109.28036424550237,
201
+ "color_mad": 0.0,
202
+ "reference": true
203
+ },
204
+ "ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012": {
205
+ "ok": true,
206
+ "frames": 480,
207
+ "seconds": 16.247460574,
208
+ "startup_s": 0.18110554300005788,
209
+ "selected_fps": 29.81385629010265,
210
+ "source_fps": 77.36664586346052,
211
+ "color_mad": 0.0,
212
+ "reference": true
213
+ }
214
+ },
215
+ "pynvvideocodec": {
216
+ "ia_AboutBan1935": {
217
+ "ok": true,
218
+ "frames": 480,
219
+ "seconds": 0.7928080050000972,
220
+ "startup_s": 0.05909189700003026,
221
+ "selected_fps": 652.8410577023291,
222
+ "source_fps": 1784.0687777293294,
223
+ "color_mad": 0.44479365596064807
224
+ },
225
+ "ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012": {
226
+ "ok": true,
227
+ "frames": 480,
228
+ "seconds": 0.7929245029999947,
229
+ "startup_s": 0.06255043700002716,
230
+ "selected_fps": 655.8283245506437,
231
+ "source_fps": 1701.8676564017749,
232
+ "color_mad": 0.6002027271412037
233
+ }
234
+ },
235
+ "ffmpeg_nvdec": {
236
+ "ia_AboutBan1935": {
237
+ "ok": true,
238
+ "frames": 480,
239
+ "seconds": 10.254082523999955,
240
+ "startup_s": 0.3742346289999432,
241
+ "selected_fps": 48.482527776810414,
242
+ "source_fps": 132.4919182877763,
243
+ "color_mad": 0.0
244
+ },
245
+ "ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012": {
246
+ "ok": true,
247
+ "frames": 480,
248
+ "seconds": 11.201130280999905,
249
+ "startup_s": 0.37457707099997606,
250
+ "selected_fps": 44.2430744770711,
251
+ "source_fps": 114.81031644049973,
252
+ "color_mad": 0.0
253
+ }
254
+ }
255
+ },
256
+ "choice": {
257
+ "best": "pynvvideocodec",
258
+ "preference": null,
259
+ "disable": [],
260
+ "failing": [],
261
+ "gain_vs_default": 1.0,
262
+ "note": "الافتراضي (pynvvideocodec) هو الأسرع الصالح"
263
+ },
264
+ "frames_per_video": 480,
265
+ "ok": true,
266
+ "seconds": 51.48
267
+ },
268
+ "qc": {
269
+ "n_frames": 240,
270
+ "threads": 3,
271
+ "analyze_fps": 159.73580283907128,
272
+ "single_thread_ms": 11.944749499993653,
273
+ "parallel_speedup": 1.9080041510930814,
274
+ "decide_ms": 2.0870205791666763,
275
+ "accept_fraction": 0.7333333333333333,
276
+ "reasons": {
277
+ "near_duplicate": 53,
278
+ "blur": 11
279
+ },
280
+ "calibration": {
281
+ "lap_floor": 2.0,
282
+ "ten_floor": 20.0,
283
+ "n": 240,
284
+ "lap_p1": 7.2606225585937505,
285
+ "lap_p50": 2591.5782470703125,
286
+ "lap_p99": 7881.006249999999
287
+ },
288
+ "ok": true,
289
+ "seconds": 2.15,
290
+ "calibration_applied": true
291
+ },
292
+ "encode": {
293
+ "encoders": {
294
+ "pillow": {
295
+ "ms_per_image": 1.5003623749976214,
296
+ "psnr_vs_pillow": 99.0,
297
+ "avg_bytes": 23209.333333333332
298
+ },
299
+ "cv2": {
300
+ "ms_per_image": 2.4640366249997214,
301
+ "psnr_vs_pillow": 99.0,
302
+ "avg_bytes": 23209.333333333332
303
+ },
304
+ "chosen": "pillow"
305
+ },
306
+ "chosen": "pillow",
307
+ "enc_ms_single": 1.48817116666559,
308
+ "enc_fps_parallel": 696.6383816484913,
309
+ "enc_threads": 2,
310
+ "model_input_ms": 0.00231383333471058,
311
+ "avg_jpeg_bytes": 33661.125,
312
+ "n": 24,
313
+ "format": "jpg",
314
+ "quality": 95,
315
+ "ok": true,
316
+ "seconds": 0.26
317
+ },
318
+ "shard": {
319
+ "samples": 600,
320
+ "bytes": 21411840,
321
+ "write_MBps": 57.580763264551656,
322
+ "validate_MBps": 24.645039716147394,
323
+ "index_ms": 109.32031100003314,
324
+ "avg_json_bytes": 1469.555,
325
+ "ok": true,
326
+ "seconds": 1.37
327
+ },
328
+ "upload": {
329
+ "store": "huggingface",
330
+ "measured": true,
331
+ "MBps": 20.251722777854752,
332
+ "commit_latency_s": 0.5775477110000793,
333
+ "payload_MB": 20,
334
+ "verified": true,
335
+ "note": "الشظايا الأكبر عادةً أسرع من حمولة 20MB (تكلفة commit ثابتة)",
336
+ "ok": true,
337
+ "seconds": 2.0
338
+ },
339
+ "version": 1,
340
+ "created_at": 1794568105.3284638,
341
+ "duration_s": 879.6164739131927,
342
+ "env_fp": "d7c97efb10aa",
343
+ "bench_fp": "6a95155adc53",
344
+ "env": {
345
+ "gpus": [
346
+ "Tesla T4 15GB cc7.5",
347
+ "Tesla T4 15GB cc7.5"
348
+ ],
349
+ "cpu_cores": 4,
350
+ "ram_total_gb": 32.21225472,
351
+ "python": "3.13.16",
352
+ "torch": "2.11.0+cu130"
353
+ },
354
+ "params": {
355
+ "n_videos": 2,
356
+ "decode_frames": 480,
357
+ "qc_frames": 240,
358
+ "caption_images": 32,
359
+ "max_batch": 32,
360
+ "apply": true
361
+ },
362
+ "ok_core": true,
363
+ "applied": {
364
+ "disabled_decoders": [],
365
+ "decoder_health": {},
366
+ "decoder_preference": null,
367
+ "encoder_choice": "pillow",
368
+ "caption_batch": {
369
+ "stable": 6,
370
+ "max": 8,
371
+ "token_budget": 8672
372
+ }
373
+ },
374
+ "estimate": {
375
+ "assumptions": [
376
+ "معدل الإطارات المرشّحة (30.0/ث) من 2 فيديو قياس فقط؛ إن اختلفت FPS فيديوهاتك الأخرى (24/30/60) تتغير الأرقام",
377
+ "نسبة القبول 73% مقيسة على أول ~240 إطارًا من فيديوهات القياس فقط (تختلف مع المحتوى: مقدّمات سوداء/لقطات ثابتة)",
378
+ "سرعة الوصف مقسومة على 1.10 (هامش للتقلّب: أوصاف أطول، إعادة محاولات، حشو الدفعات)"
379
+ ],
380
+ "warnings": [
381
+ "الزمن المقدّر 62 ساعة ≈ 6 جلسة بطول 11.6h فعّالة ≈ 2.1 أسبوعًا من حصة 30h/أسبوع (افتراض). العنق: caption. لخفض الحجم: MAX_IMAGES_PER_VIDEO أو SAMPLING_RATIO (انظر الجدول)."
382
+ ],
383
+ "stages": {
384
+ "decode": {
385
+ "units": 128510.28112412317,
386
+ "rate": 1742.9682170655522,
387
+ "unit": "source-frames",
388
+ "hours": 0.021245957208469352,
389
+ "per_video_overhead_s": 0.5509475375000363
390
+ },
391
+ "qc": {
392
+ "units": 44978.5983934431,
393
+ "rate": 159.73580283907128,
394
+ "unit": "selected-frames",
395
+ "hours": 0.07821699886453828
396
+ },
397
+ "dedup/decide": {
398
+ "units": 44978.5983934431,
399
+ "rate": 479.15195948824265,
400
+ "unit": "selected-frames",
401
+ "hours": 0.026075350130330265
402
+ },
403
+ "encode": {
404
+ "units": 32984.30548852494,
405
+ "rate": 696.6383816484913,
406
+ "unit": "accepted-images",
407
+ "hours": 0.013152170941923377
408
+ },
409
+ "caption": {
410
+ "units": 32984.30548852494,
411
+ "rate": 0.14758183815781845,
412
+ "unit": "accepted-images",
413
+ "hours": 62.08289037806936
414
+ },
415
+ "validate": {
416
+ "units": 1158.7610811396132,
417
+ "rate": 24.645039716147394,
418
+ "unit": "MB",
419
+ "hours": 0.013060562360686437
420
+ },
421
+ "upload": {
422
+ "units": 1158.7610811396132,
423
+ "rate": 20.251722777854752,
424
+ "unit": "MB",
425
+ "hours": 0.016141728151934993
426
+ },
427
+ "download": {
428
+ "units": 334.92564000000004,
429
+ "rate": 12.534178032949129,
430
+ "unit": "MB",
431
+ "hours": 0.007422497091986024
432
+ }
433
+ },
434
+ "videos": 5,
435
+ "candidate_frames": 128510.28112412317,
436
+ "selected_frames": 44978.5983934431,
437
+ "accept_fraction": 0.7333333333333333,
438
+ "accepted_images": 32984.30548852494,
439
+ "dataset_gb": 1.1587610811396132,
440
+ "bottleneck": "caption",
441
+ "total_hours": 62.08289037806936,
442
+ "session_hours_usable": 11.55,
443
+ "sessions_needed": 6,
444
+ "weekly_gpu_hours_assumed": 30.0,
445
+ "weeks_of_gpu_quota": 2.069429679268979,
446
+ "effective_images_per_s": 0.14758183815781845,
447
+ "shard_count": 2,
448
+ "budgets": [
449
+ {
450
+ "gpu_hours": 10.0,
451
+ "images": 5312.946173681465,
452
+ "images_per_video": 1062.5892347362928,
453
+ "max_images_per_video": 1062,
454
+ "equivalent_sampling_ratio": 0.056376241162192524,
455
+ "dataset_gb": 0.18664741188482797
456
+ },
457
+ {
458
+ "gpu_hours": 30.0,
459
+ "images": 15938.838521044392,
460
+ "images_per_video": 3187.7677042088785,
461
+ "max_images_per_video": 3187,
462
+ "equivalent_sampling_ratio": 0.16912872348657754,
463
+ "dataset_gb": 0.5599422356544838
464
+ },
465
+ {
466
+ "gpu_hours": 100.0,
467
+ "images": 32984.30548852494,
468
+ "images_per_video": 6596.8610977049875,
469
+ "max_images_per_video": 6596,
470
+ "equivalent_sampling_ratio": 0.3499999999999999,
471
+ "dataset_gb": 1.1587610811396132
472
+ }
473
+ ],
474
+ "summary": "5 فيديو → ≈32,984 صورة مقبولة (~1.2 GB) | زمن مقدّر ≈ 62.1h (عنق الزجاجة: caption) ≈ 6 جلسة | 0.15 صورة/ث"
475
+ },
476
+ "updated_at": 1794568105.5999904
477
+ }
control/completed_shards.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
control/failed_videos.jsonl ADDED
File without changes
control/pipeline_config.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "VIDEO_MANIFEST": "/kaggle/working/auto_videos.jsonl",
4
+ "AUTO_FIND_VIDEOS": true,
5
+ "AUTO_FIND_QUERY": "",
6
+ "AUTO_FIND_LICENSES": "any",
7
+ "AUTO_PREFLIGHT": true,
8
+ "TOTAL_VIDEOS": 5,
9
+ "MODEL_ID": "Qwen/Qwen3-VL-8B-Instruct",
10
+ "TARGET_FPS": 30.0,
11
+ "SAMPLING_RATIO": 0.35,
12
+ "SAMPLING_SEED": 20261105,
13
+ "SAMPLING_METHOD": "deterministic_hash",
14
+ "EXACT_PER_VIDEO_SAMPLING": false,
15
+ "MIN_VIDEO_DURATION": 600.0,
16
+ "MAX_VIDEO_DURATION": 3600.0,
17
+ "ENFORCE_DURATION_LIMITS": true,
18
+ "MIN_IMAGE_WIDTH": 256,
19
+ "MIN_IMAGE_HEIGHT": 256,
20
+ "IMAGE_FORMAT": "jpg",
21
+ "IMAGE_QUALITY": 95,
22
+ "MAX_STORED_IMAGE_DIMENSION": 4096,
23
+ "CAPTION_LANGUAGE": "English",
24
+ "CAPTION_MAX_NEW_TOKENS": 384,
25
+ "CAPTION_BATCH_SIZE": "auto",
26
+ "CAPTION_PRECISION": "auto",
27
+ "ATTN_IMPLEMENTATION": "auto",
28
+ "CAPTION_ENGINE": "auto",
29
+ "MODEL_MIN_PIXELS": 65536,
30
+ "MODEL_MAX_PIXELS": 1048576,
31
+ "CAPTION_REPETITION_PENALTY": 1.05,
32
+ "CAPTION_VALIDATION": true,
33
+ "ENABLE_VLM_SECOND_REVIEW": false,
34
+ "SHARD_TARGET_SIZE_GB": 0.75,
35
+ "ENABLE_EXACT_DEDUPLICATION": true,
36
+ "ENABLE_PERCEPTUAL_DEDUPLICATION": true,
37
+ "ENABLE_IMAGE_QUALITY_FILTER": true,
38
+ "ENABLE_CAPTIONING": true,
39
+ "ENABLE_GPU_DECODING": true,
40
+ "ENABLE_RANDOM_SAMPLE_PREVIEW": true,
41
+ "PREVIEW_SAMPLES_PER_BATCH": 1,
42
+ "UPLOAD_AFTER_COMPLETED_SHARD": true,
43
+ "AUTO_RESUME": true,
44
+ "DRY_RUN": false,
45
+ "HF_DATASET_REPO": "arttry/foxingdatasit",
46
+ "HF_TOKEN": null,
47
+ "HF_PRIVATE_REPO": true,
48
+ "HF_XET_HIGH_PERFORMANCE": false,
49
+ "DEDUP_HAMMING_THRESHOLD": 5,
50
+ "DEDUP_WINDOW_SECONDS": 12.0,
51
+ "DEDUP_SSIM_VERIFY": true,
52
+ "DEDUP_SSIM_THRESHOLD": 0.985,
53
+ "CROSS_VIDEO_DEDUP": false,
54
+ "BLUR_THRESHOLD": null,
55
+ "MAX_JPEG_FAILS_PER_VIDEO": 50,
56
+ "WORK_DIR": "/kaggle/working",
57
+ "TEMP_DIR": "/tmp/vid2ds",
58
+ "MIN_FREE_DISK_GB": 6.0,
59
+ "DOWNLOAD_TIMEOUT": 30.0,
60
+ "DOWNLOAD_RETRIES": 5,
61
+ "DOWNLOAD_BACKOFF": 2.0,
62
+ "KEEP_VIDEOS": false,
63
+ "UPLOAD_RETRIES": 5,
64
+ "WORKER_ID": 0,
65
+ "NUM_WORKERS": 1,
66
+ "CHECKPOINT_EVERY_SECONDS": 120.0,
67
+ "DASHBOARD_REFRESH_SECONDS": 10.0,
68
+ "MAX_VIDEOS_THIS_RUN": 0,
69
+ "MAX_RUNTIME_HOURS": 0.0,
70
+ "DECODER_PREFERENCE": "auto",
71
+ "SKIP_HDR_VIDEOS": true,
72
+ "JPEG_SUBSAMPLING": -1,
73
+ "MAX_IMAGES_PER_VIDEO": 0,
74
+ "QC_ENABLE_SSIM_VERIFY": true,
75
+ "ALLOW_MOCK_CAPTIONER": false,
76
+ "CAPTION_MIN_WORDS": 18,
77
+ "CAPTION_REVIEW_SCORE": 0.55,
78
+ "FFMPEG_THREADS": 0,
79
+ "SHARD_MAX_AGE_MINUTES": 40.0,
80
+ "STOP_MARGIN_MINUTES": 12.0,
81
+ "UPLOAD_PATIENCE_MINUTES": 90.0,
82
+ "CHUNK_LINGER_SECONDS": 4.0,
83
+ "PREFETCH_VIDEOS": 1,
84
+ "DECODE_BYTE_BUDGET_GB": 0.0,
85
+ "DISK_WAIT_MINUTES": 15.0,
86
+ "REQUIRE_SMOKE_TEST": true,
87
+ "SMOKE_TEST_IMAGES": 24,
88
+ "MAX_UNEXPECTED_VIDEO_ERRORS": 5
89
+ },
90
+ "env": {
91
+ "python": "3.13.16",
92
+ "torch": "2.11.0+cu130",
93
+ "cuda_runtime": "13.0",
94
+ "gpus": [
95
+ {
96
+ "index": 0,
97
+ "name": "Tesla T4",
98
+ "vram_total_mb": 15360.0,
99
+ "vram_free_mb": 14805.0,
100
+ "driver": "580.178.04",
101
+ "compute_cap": "7.5"
102
+ },
103
+ {
104
+ "index": 1,
105
+ "name": "Tesla T4",
106
+ "vram_total_mb": 15360.0,
107
+ "vram_free_mb": 14909.0,
108
+ "driver": "580.178.04",
109
+ "compute_cap": "7.5"
110
+ }
111
+ ],
112
+ "cpu_cores": 4,
113
+ "ram_total_gb": 32.21225472
114
+ },
115
+ "updated_at": 1794568105.6262684
116
+ }
control/progress.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_videos": 5,
3
+ "completed_videos": 0,
4
+ "failed_videos": 0,
5
+ "total_candidate_frames": 0,
6
+ "selected_frames": 0,
7
+ "accepted_images": 0,
8
+ "rejected_images": 0,
9
+ "captioned_images": 0,
10
+ "uploaded_shards": 0,
11
+ "current_video": null,
12
+ "current_stage": "initialization",
13
+ "rejects_by_reason": {},
14
+ "bytes_uploaded": 0,
15
+ "sessions": 0,
16
+ "updated_at": 1794568105.6260037
17
+ }
control/videos_manifest.jsonl ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {"video_id": "ia_AboutBan1935", "state": "pending", "url": "https://archive.org/download/AboutBan1935/AboutBan1935.mp4", "source_name": "Internet Archive", "license": "http://creativecommons.org/licenses/publicdomain/", "source_reference": "https://archive.org/details/AboutBan1935", "expected_duration": 664.03, "sha256": null, "expected_size": 68512128.0, "download_status": "pending", "decode_status": "pending", "duration": null, "width": null, "height": null, "fps_avg": null, "fps_mode": null, "codec": null, "candidate_frames": 0, "selected_frames": 0, "sampling_ratio_actual": null, "accepted": 0, "rejected": 0, "rejected_by_reason": {}, "captioned": 0, "caption_failures": 0, "review_flagged": 0, "cursor": -1, "shards": [], "upload_status": "pending", "attempts": 0, "error": null, "updated_at": 1794567207.686382}
2
+ {"video_id": "ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012", "state": "pending", "url": "https://archive.org/download/vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012/Vietnam%20Travel%20Guide_%20Hanoi%2C%20Ha%20Long%20Bay%2C%20Ho%20Chi%20Minh.ia.mp4", "source_name": "Internet Archive", "license": "unspecified (Internet Archive)", "source_reference": "https://archive.org/details/vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012", "expected_duration": 708.47, "sha256": null, "expected_size": 65458128.0, "download_status": "pending", "decode_status": "pending", "duration": null, "width": null, "height": null, "fps_avg": null, "fps_mode": null, "codec": null, "candidate_frames": 0, "selected_frames": 0, "sampling_ratio_actual": null, "accepted": 0, "rejected": 0, "rejected_by_reason": {}, "captioned": 0, "caption_failures": 0, "review_flagged": 0, "cursor": -1, "shards": [], "upload_status": "pending", "attempts": 0, "error": null, "updated_at": 1794567207.686391}
3
+ {"video_id": "ia_Doctorin1946", "state": "pending", "url": "https://archive.org/download/Doctorin1946/Doctorin1946.mp4", "source_name": "Internet Archive", "license": "http://creativecommons.org/licenses/publicdomain/", "source_reference": "https://archive.org/details/Doctorin1946", "expected_duration": 1127.86, "sha256": null, "expected_size": 117249712.0, "download_status": "pending", "decode_status": "pending", "duration": null, "width": null, "height": null, "fps_avg": null, "fps_mode": null, "codec": null, "candidate_frames": 0, "selected_frames": 0, "sampling_ratio_actual": null, "accepted": 0, "rejected": 0, "rejected_by_reason": {}, "captioned": 0, "caption_failures": 0, "review_flagged": 0, "cursor": -1, "shards": [], "upload_status": "pending", "attempts": 0, "error": null, "updated_at": 1794567207.6863964}
4
+ {"video_id": "ia_HealthYo1953", "state": "pending", "url": "https://archive.org/download/HealthYo1953/HealthYo1953.mp4", "source_name": "Internet Archive", "license": "http://creativecommons.org/licenses/publicdomain/", "source_reference": "https://archive.org/details/HealthYo1953", "expected_duration": 640.44, "sha256": null, "expected_size": 66520877.0, "download_status": "pending", "decode_status": "pending", "duration": null, "width": null, "height": null, "fps_avg": null, "fps_mode": null, "codec": null, "candidate_frames": 0, "selected_frames": 0, "sampling_ratio_actual": null, "accepted": 0, "rejected": 0, "rejected_by_reason": {}, "captioned": 0, "caption_failures": 0, "review_flagged": 0, "cursor": -1, "shards": [], "upload_status": "pending", "attempts": 0, "error": null, "updated_at": 1794567207.6864002}
5
+ {"video_id": "ia_FromtheG1954", "state": "pending", "url": "https://archive.org/download/FromtheG1954/FromtheG1954.mp4", "source_name": "Internet Archive", "license": "http://creativecommons.org/licenses/publicdomain/", "source_reference": "https://archive.org/details/FromtheG1954", "expected_duration": 1145.04, "sha256": null, "expected_size": 119087429.0, "download_status": "pending", "decode_status": "pending", "duration": null, "width": null, "height": null, "fps_avg": null, "fps_mode": null, "codec": null, "candidate_frames": 0, "selected_frames": 0, "sampling_ratio_actual": null, "accepted": 0, "rejected": 0, "rejected_by_reason": {}, "captioned": 0, "caption_failures": 0, "review_flagged": 0, "cursor": -1, "shards": [], "upload_status": "pending", "attempts": 0, "error": null, "updated_at": 1794567207.6864038}