foxingdatasit / control /benchmark_results.json
arttry's picture
benchmark results
a3c83e2 verified
Raw History Blame Contribute Delete
13.9 kB
{
"caption": {
"engine": "transformers",
"precision": "fp16",
"layout": "shard",
"replicas": 1,
"mock": false,
"attn": "sdpa",
"model": "Qwen/Qwen3-VL-8B-Instruct",
"runs": [
{
"batch": 1,
"seconds": 25.622939433000056,
"img_per_s": 0.07805505707999211,
"tokens": 298,
"tokens_per_s": 11.630203504918825,
"peak_gb": 9.393143808,
"vram_frac": 0.600736838134517,
"oom": false
},
{
"batch": 2,
"seconds": 42.26332554099997,
"img_per_s": 0.09464470551706987,
"tokens": 724,
"tokens_per_s": 17.130691698589647,
"peak_gb": 9.714008064,
"vram_frac": 0.6212576544405185,
"oom": false
},
{
"batch": 4,
"seconds": 64.22577101600007,
"img_per_s": 0.1245605910749911,
"tokens": 1498,
"tokens_per_s": 23.323970678792083,
"peak_gb": 10.494148608,
"vram_frac": 0.6711514038904047,
"oom": false
},
{
"batch": 6,
"seconds": 81.348354492,
"img_per_s": 0.1475137398283835,
"tokens": 2262,
"tokens_per_s": 27.80633995765029,
"peak_gb": 11.34559232,
"vram_frac": 0.7256053347416247,
"oom": false
},
{
"batch": 8,
"seconds": 98.55856741599996,
"img_per_s": 0.1623400219736003,
"tokens": 2998,
"tokens_per_s": 30.418461617303358,
"peak_gb": 12.4780544,
"vram_frac": 0.7980317452333949,
"oom": false
},
{
"batch": 12,
"seconds": 133.739474847,
"img_per_s": 0.17945337401284375,
"tokens": 4500,
"tokens_per_s": 33.6475076274082,
"peak_gb": 14.17674752,
"vram_frac": 0.9066713609710504,
"oom": false
}
],
"n_images": 32,
"avg_item_tokens": 1084.0,
"ok": true,
"best_batch": 8,
"best_img_per_s": 0.1623400219736003,
"knee_batch": 8,
"stable_batch": 6,
"max_tested_batch": 8,
"token_budget": 8672,
"peak_vram_gb": 12.4780544,
"tokens_per_s": 30.418461617303358,
"vram_cap": 0.85,
"pipeline_img_per_s": 0.15024092364010844,
"caption_ok_rate": 1.0,
"errors": 0,
"mean_words": 75.28125,
"flags": {
"no_lighting": 26,
"no_style": 3,
"generic_opening": 1
},
"oom_events": 0,
"retries": 0,
"flash_attn": {
"tested": false,
"reason": "غير قابل: flash-attn غير مثبّت أو GPU < Ampere أو دقة مكمّمة أو المحرك ليس Transformers"
},
"vllm": {
"tested": false,
"reason": "vllm غير مثبّت أو لا GPU"
},
"engine_final": "transformers",
"attn_final": "sdpa",
"img_per_s_total": 0.1623400219736003,
"seconds": 810.31
},
"qc_calibration": {
"lap_floor": 2.0,
"ten_floor": 20.0,
"n": 240,
"source": "benchmark"
},
"videos": {
"items": [
{
"video_id": "ia_AboutBan1935",
"duration": 664.030033,
"width": 640,
"height": 480,
"codec": "h264",
"avg_fps": 29.97002997002997,
"vfr": false,
"n_frames": 19901,
"n_candidates": 19901,
"n_selected": 7029,
"ratio_actual": 0.3531983317421235,
"size_mb": 68.512128,
"analysis_s": 0.4862076940000293,
"plan_s": 0.031052323000039905,
"hashes_per_s": 640886.0296852646,
"local": false,
"download_MBps": 11.567034875264293
},
{
"video_id": "ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012",
"duration": 708.440998,
"width": 640,
"height": 480,
"codec": "h264",
"avg_fps": 30.0,
"vfr": false,
"n_frames": 21253,
"n_candidates": 21253,
"n_selected": 7379,
"ratio_actual": 0.3471980426292759,
"size_mb": 65.458128,
"analysis_s": 0.49404504699998597,
"plan_s": 0.029231041000002733,
"hashes_per_s": 727069.5559558762,
"local": false,
"download_MBps": 13.501321190633963
}
],
"notes": [],
"ok": true,
"seconds": 11.81
},
"decode": {
"agg": {
"ffmpeg_cpu": {
"videos": 2,
"videos_ok": 2,
"selected_fps": 34.90131106086326,
"source_fps": 93.32350505448144,
"startup_s": 0.1739195855000446,
"color_mad": 0.0,
"errors": [],
"valid": true
},
"pynvvideocodec": {
"videos": 2,
"videos_ok": 2,
"selected_fps": 654.3346911264864,
"source_fps": 1742.9682170655522,
"startup_s": 0.06082116700002871,
"color_mad": 0.6002027271412037,
"errors": [],
"valid": true
},
"ffmpeg_nvdec": {
"videos": 2,
"videos_ok": 2,
"selected_fps": 46.36280112694075,
"source_fps": 123.651117364138,
"startup_s": 0.37440584999995963,
"color_mad": 0.0,
"errors": [],
"valid": true
}
},
"per_video": {
"ffmpeg_cpu": {
"ia_AboutBan1935": {
"ok": true,
"frames": 480,
"seconds": 12.145097802000066,
"startup_s": 0.16673362800003133,
"selected_fps": 39.988765831623866,
"source_fps": 109.28036424550237,
"color_mad": 0.0,
"reference": true
},
"ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012": {
"ok": true,
"frames": 480,
"seconds": 16.247460574,
"startup_s": 0.18110554300005788,
"selected_fps": 29.81385629010265,
"source_fps": 77.36664586346052,
"color_mad": 0.0,
"reference": true
}
},
"pynvvideocodec": {
"ia_AboutBan1935": {
"ok": true,
"frames": 480,
"seconds": 0.7928080050000972,
"startup_s": 0.05909189700003026,
"selected_fps": 652.8410577023291,
"source_fps": 1784.0687777293294,
"color_mad": 0.44479365596064807
},
"ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012": {
"ok": true,
"frames": 480,
"seconds": 0.7929245029999947,
"startup_s": 0.06255043700002716,
"selected_fps": 655.8283245506437,
"source_fps": 1701.8676564017749,
"color_mad": 0.6002027271412037
}
},
"ffmpeg_nvdec": {
"ia_AboutBan1935": {
"ok": true,
"frames": 480,
"seconds": 10.254082523999955,
"startup_s": 0.3742346289999432,
"selected_fps": 48.482527776810414,
"source_fps": 132.4919182877763,
"color_mad": 0.0
},
"ia_vietnam-travel-guide-hanoi-ha-long-bay-ho-chi-minh_202012": {
"ok": true,
"frames": 480,
"seconds": 11.201130280999905,
"startup_s": 0.37457707099997606,
"selected_fps": 44.2430744770711,
"source_fps": 114.81031644049973,
"color_mad": 0.0
}
}
},
"choice": {
"best": "pynvvideocodec",
"preference": null,
"disable": [],
"failing": [],
"gain_vs_default": 1.0,
"note": "الافتراضي (pynvvideocodec) هو الأسرع الصالح"
},
"frames_per_video": 480,
"ok": true,
"seconds": 51.48
},
"qc": {
"n_frames": 240,
"threads": 3,
"analyze_fps": 159.73580283907128,
"single_thread_ms": 11.944749499993653,
"parallel_speedup": 1.9080041510930814,
"decide_ms": 2.0870205791666763,
"accept_fraction": 0.7333333333333333,
"reasons": {
"near_duplicate": 53,
"blur": 11
},
"calibration": {
"lap_floor": 2.0,
"ten_floor": 20.0,
"n": 240,
"lap_p1": 7.2606225585937505,
"lap_p50": 2591.5782470703125,
"lap_p99": 7881.006249999999
},
"ok": true,
"seconds": 2.15,
"calibration_applied": true
},
"encode": {
"encoders": {
"pillow": {
"ms_per_image": 1.5003623749976214,
"psnr_vs_pillow": 99.0,
"avg_bytes": 23209.333333333332
},
"cv2": {
"ms_per_image": 2.4640366249997214,
"psnr_vs_pillow": 99.0,
"avg_bytes": 23209.333333333332
},
"chosen": "pillow"
},
"chosen": "pillow",
"enc_ms_single": 1.48817116666559,
"enc_fps_parallel": 696.6383816484913,
"enc_threads": 2,
"model_input_ms": 0.00231383333471058,
"avg_jpeg_bytes": 33661.125,
"n": 24,
"format": "jpg",
"quality": 95,
"ok": true,
"seconds": 0.26
},
"shard": {
"samples": 600,
"bytes": 21411840,
"write_MBps": 57.580763264551656,
"validate_MBps": 24.645039716147394,
"index_ms": 109.32031100003314,
"avg_json_bytes": 1469.555,
"ok": true,
"seconds": 1.37
},
"upload": {
"store": "huggingface",
"measured": true,
"MBps": 20.251722777854752,
"commit_latency_s": 0.5775477110000793,
"payload_MB": 20,
"verified": true,
"note": "الشظايا الأكبر عادةً أسرع من حمولة 20MB (تكلفة commit ثابتة)",
"ok": true,
"seconds": 2.0
},
"version": 1,
"created_at": 1794568105.3284638,
"duration_s": 879.6164739131927,
"env_fp": "d7c97efb10aa",
"bench_fp": "6a95155adc53",
"env": {
"gpus": [
"Tesla T4 15GB cc7.5",
"Tesla T4 15GB cc7.5"
],
"cpu_cores": 4,
"ram_total_gb": 32.21225472,
"python": "3.13.16",
"torch": "2.11.0+cu130"
},
"params": {
"n_videos": 2,
"decode_frames": 480,
"qc_frames": 240,
"caption_images": 32,
"max_batch": 32,
"apply": true
},
"ok_core": true,
"applied": {
"disabled_decoders": [],
"decoder_health": {},
"decoder_preference": null,
"encoder_choice": "pillow",
"caption_batch": {
"stable": 6,
"max": 8,
"token_budget": 8672
}
},
"estimate": {
"assumptions": [
"معدل الإطارات المرشّحة (30.0/ث) من 2 فيديو قياس فقط؛ إن اختلفت FPS فيديوهاتك الأخرى (24/30/60) تتغير الأرقام",
"نسبة القبول 73% مقيسة على أول ~240 إطارًا من فيديوهات القياس فقط (تختلف مع المحتوى: مقدّمات سوداء/لقطات ثابتة)",
"سرعة الوصف مقسومة على 1.10 (هامش للتقلّب: أوصاف أطول، إعادة محاولات، حشو الدفعات)"
],
"warnings": [
"الزمن المقدّر 62 ساعة ≈ 6 جلسة بطول 11.6h فعّالة ≈ 2.1 أسبوعًا من حصة 30h/أسبوع (افتراض). العنق: caption. لخفض الحجم: MAX_IMAGES_PER_VIDEO أو SAMPLING_RATIO (انظر الجدول)."
],
"stages": {
"decode": {
"units": 128510.28112412317,
"rate": 1742.9682170655522,
"unit": "source-frames",
"hours": 0.021245957208469352,
"per_video_overhead_s": 0.5509475375000363
},
"qc": {
"units": 44978.5983934431,
"rate": 159.73580283907128,
"unit": "selected-frames",
"hours": 0.07821699886453828
},
"dedup/decide": {
"units": 44978.5983934431,
"rate": 479.15195948824265,
"unit": "selected-frames",
"hours": 0.026075350130330265
},
"encode": {
"units": 32984.30548852494,
"rate": 696.6383816484913,
"unit": "accepted-images",
"hours": 0.013152170941923377
},
"caption": {
"units": 32984.30548852494,
"rate": 0.14758183815781845,
"unit": "accepted-images",
"hours": 62.08289037806936
},
"validate": {
"units": 1158.7610811396132,
"rate": 24.645039716147394,
"unit": "MB",
"hours": 0.013060562360686437
},
"upload": {
"units": 1158.7610811396132,
"rate": 20.251722777854752,
"unit": "MB",
"hours": 0.016141728151934993
},
"download": {
"units": 334.92564000000004,
"rate": 12.534178032949129,
"unit": "MB",
"hours": 0.007422497091986024
}
},
"videos": 5,
"candidate_frames": 128510.28112412317,
"selected_frames": 44978.5983934431,
"accept_fraction": 0.7333333333333333,
"accepted_images": 32984.30548852494,
"dataset_gb": 1.1587610811396132,
"bottleneck": "caption",
"total_hours": 62.08289037806936,
"session_hours_usable": 11.55,
"sessions_needed": 6,
"weekly_gpu_hours_assumed": 30.0,
"weeks_of_gpu_quota": 2.069429679268979,
"effective_images_per_s": 0.14758183815781845,
"shard_count": 2,
"budgets": [
{
"gpu_hours": 10.0,
"images": 5312.946173681465,
"images_per_video": 1062.5892347362928,
"max_images_per_video": 1062,
"equivalent_sampling_ratio": 0.056376241162192524,
"dataset_gb": 0.18664741188482797
},
{
"gpu_hours": 30.0,
"images": 15938.838521044392,
"images_per_video": 3187.7677042088785,
"max_images_per_video": 3187,
"equivalent_sampling_ratio": 0.16912872348657754,
"dataset_gb": 0.5599422356544838
},
{
"gpu_hours": 100.0,
"images": 32984.30548852494,
"images_per_video": 6596.8610977049875,
"max_images_per_video": 6596,
"equivalent_sampling_ratio": 0.3499999999999999,
"dataset_gb": 1.1587610811396132
}
],
"summary": "5 فيديو → ≈32,984 صورة مقبولة (~1.2 GB) | زمن مقدّر ≈ 62.1h (عنق الزجاجة: caption) ≈ 6 جلسة | 0.15 صورة/ث"
},
"updated_at": 1794568105.5999904
}