
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a512868
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"model_type": "resnet50", | |
"model": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": false, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": true, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 831.56992, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.70235693359375, | |
"mean": 7.70235693359375, | |
"stdev": 0.0, | |
"p50": 7.70235693359375, | |
"p90": 7.70235693359375, | |
"p95": 7.70235693359375, | |
"p99": 7.70235693359375, | |
"values": [ | |
7.70235693359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.387340733333921e-06, | |
"ram": 2.388798590478222e-06, | |
"gpu": 6.460282945999762e-06, | |
"total": 1.3236422269811906e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1021.566976, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.001936766147613, | |
"mean": 0.006957894209358427, | |
"stdev": 0.00032936288264784287, | |
"p50": 0.006957055807113647, | |
"p90": 0.007249510526657105, | |
"p95": 0.0074569216728210454, | |
"p99": 0.008197416815757749, | |
"values": [ | |
0.007413760185241699, | |
0.007422976016998291, | |
0.007131135940551757, | |
0.007085055828094483, | |
0.007144447803497315, | |
0.00709222412109375, | |
0.0071188478469848635, | |
0.007080959796905518, | |
0.006988800048828125, | |
0.006960127830505371, | |
0.0070594558715820314, | |
0.006996992111206054, | |
0.007011328220367432, | |
0.006882304191589355, | |
0.0069027838706970214, | |
0.006919167995452881, | |
0.006944767951965332, | |
0.007053311824798584, | |
0.0070553598403930665, | |
0.007017471790313721, | |
0.00695091199874878, | |
0.006946815967559815, | |
0.006938591957092285, | |
0.007000063896179199, | |
0.00698367977142334, | |
0.007012351989746094, | |
0.007017471790313721, | |
0.007047167778015137, | |
0.007144447803497315, | |
0.007217152118682861, | |
0.007000063896179199, | |
0.006985727787017822, | |
0.007001088142395019, | |
0.00694377613067627, | |
0.006856704235076904, | |
0.00687820816040039, | |
0.00689251184463501, | |
0.006897664070129395, | |
0.006923264026641846, | |
0.006990848064422607, | |
0.006972415924072266, | |
0.0071987838745117185, | |
0.0070358400344848636, | |
0.007277567863464355, | |
0.0074629120826721195, | |
0.007303232192993164, | |
0.007164927959442138, | |
0.0071740798950195315, | |
0.006976511955261231, | |
0.007068640232086182, | |
0.006969344139099121, | |
0.006986752033233643, | |
0.0069847040176391605, | |
0.007044095993041993, | |
0.0068915200233459475, | |
0.006892543792724609, | |
0.006965248107910156, | |
0.007143424034118652, | |
0.007322624206542969, | |
0.007186399936676025, | |
0.007193600177764893, | |
0.006971392154693603, | |
0.006994944095611572, | |
0.00694271993637085, | |
0.006895616054534912, | |
0.00692633581161499, | |
0.006999040126800537, | |
0.007013376235961914, | |
0.007012351989746094, | |
0.007206912040710449, | |
0.007307263851165771, | |
0.0074711041450500485, | |
0.007222271919250488, | |
0.007194623947143554, | |
0.006953983783721924, | |
0.006927360057830811, | |
0.007582719802856445, | |
0.007162879943847656, | |
0.007149631977081299, | |
0.00704307222366333, | |
0.007059487819671631, | |
0.007208896160125732, | |
0.0070215358734130855, | |
0.006862847805023193, | |
0.006876160144805908, | |
0.006864895820617676, | |
0.006887423992156983, | |
0.0070256638526916505, | |
0.007935999870300293, | |
0.008372223854064942, | |
0.008551424026489257, | |
0.00796569585800171, | |
0.007261184215545655, | |
0.0071833600997924804, | |
0.0077209601402282715, | |
0.0069723520278930666, | |
0.006586368083953857, | |
0.0066119680404663084, | |
0.006624256134033203, | |
0.006574079990386963, | |
0.006599679946899414, | |
0.006595583915710449, | |
0.006560768127441406, | |
0.0066447358131408694, | |
0.006583295822143555, | |
0.00653926420211792, | |
0.006546432018280029, | |
0.006519775867462158, | |
0.0065136637687683106, | |
0.006551551818847656, | |
0.006529024124145508, | |
0.006550528049468994, | |
0.006554624080657959, | |
0.006536191940307618, | |
0.006524928092956543, | |
0.006533120155334473, | |
0.006524928092956543, | |
0.006549503803253174, | |
0.006586368083953857, | |
0.006510591983795166, | |
0.006550528049468994, | |
0.006510591983795166, | |
0.006523871898651123, | |
0.006602752208709717, | |
0.006519839763641357, | |
0.006521920204162598, | |
0.0065474557876586915, | |
0.006525951862335205, | |
0.00672870397567749, | |
0.006852608203887939, | |
0.006845439910888672, | |
0.006846399784088135, | |
0.0068577280044555666, | |
0.00682806396484375, | |
0.00683622407913208, | |
0.006817791938781738, | |
0.006862847805023193, | |
0.006823967933654785, | |
0.006823935985565186, | |
0.006849535942077637, | |
0.006838272094726563, | |
0.006811647891998291, | |
0.0068321280479431154, | |
0.006854656219482422 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.7216447837036 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.827085958516282e-08, | |
"ram": 4.2795391689194726e-08, | |
"gpu": 1.6653704843420991e-07, | |
"total": 2.876032997085675e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3477011.5677160667 | |
} | |
} | |
} | |
} |