
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
f7d05c2
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 867.008512, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.3130107421875, | |
"mean": 8.3130107421875, | |
"stdev": 0.0, | |
"p50": 8.3130107421875, | |
"p90": 8.3130107421875, | |
"p95": 8.3130107421875, | |
"p99": 8.3130107421875, | |
"values": [ | |
8.3130107421875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.800005930557796e-06, | |
"ram": 3.1600028648702692e-06, | |
"gpu": 8.06611756399428e-06, | |
"total": 1.7026126359422345e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.976768, | |
"max_global_vram": 790.102016, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.9974308795928953, | |
"mean": 0.007024161123893632, | |
"stdev": 0.0001674479043504508, | |
"p50": 0.007004640102386475, | |
"p90": 0.007138300609588624, | |
"p95": 0.007278588914871215, | |
"p99": 0.007851701502799988, | |
"values": [ | |
0.007280640125274658, | |
0.007367680072784424, | |
0.007323647975921631, | |
0.0073359360694885255, | |
0.007796703815460205, | |
0.007950335979461669, | |
0.007239615917205811, | |
0.006755328178405762, | |
0.006799359798431396, | |
0.006717440128326416, | |
0.006729728221893311, | |
0.006722559928894043, | |
0.006715392112731934, | |
0.0067686400413513184, | |
0.006723584175109864, | |
0.006710271835327148, | |
0.006760479927062989, | |
0.0067686400413513184, | |
0.006713344097137451, | |
0.007046144008636474, | |
0.007007232189178467, | |
0.0070348801612854, | |
0.006993919849395752, | |
0.007060480117797851, | |
0.007035903930664063, | |
0.007070720195770264, | |
0.007030784130096435, | |
0.007039999961853028, | |
0.007051263809204102, | |
0.006996992111206054, | |
0.0072120318412780765, | |
0.007143424034118652, | |
0.007035967826843262, | |
0.007028800010681152, | |
0.007048192024230957, | |
0.0069918718338012695, | |
0.007002111911773682, | |
0.006984640121459961, | |
0.0069928960800170895, | |
0.006975488185882568, | |
0.007006207942962647, | |
0.006986752033233643, | |
0.007036928176879883, | |
0.006987775802612305, | |
0.006998015880584717, | |
0.0069621758460998535, | |
0.007003136157989502, | |
0.007048192024230957, | |
0.006985727787017822, | |
0.006979584217071533, | |
0.007025599956512451, | |
0.007020544052124023, | |
0.006975488185882568, | |
0.006962143898010254, | |
0.007030784130096435, | |
0.007009215831756592, | |
0.007061503887176514, | |
0.006977536201477051, | |
0.006999040126800537, | |
0.006989823818206787, | |
0.006967296123504638, | |
0.0069847040176391605, | |
0.0069959678649902345, | |
0.007041024208068848, | |
0.0069632000923156735, | |
0.007027711868286133, | |
0.006948863983154297, | |
0.006980607986450196, | |
0.006980607986450196, | |
0.006986752033233643, | |
0.007037951946258545, | |
0.006964223861694336, | |
0.007012351989746094, | |
0.00698367977142334, | |
0.006996992111206054, | |
0.007021567821502686, | |
0.007889920234680176, | |
0.0071792640686035155, | |
0.007088128089904785, | |
0.006970367908477783, | |
0.007041024208068848, | |
0.007000063896179199, | |
0.006987775802612305, | |
0.006993919849395752, | |
0.00719974422454834, | |
0.00714035177230835, | |
0.007045119762420654, | |
0.007107583999633789, | |
0.007030784130096435, | |
0.00702569580078125, | |
0.0071526398658752445, | |
0.007018496036529541, | |
0.0070061440467834475, | |
0.007053311824798584, | |
0.007062496185302735, | |
0.006985727787017822, | |
0.006961152076721191, | |
0.007036928176879883, | |
0.007012351989746094, | |
0.006968319892883301, | |
0.006951935768127441, | |
0.0070061440467834475, | |
0.006998015880584717, | |
0.006979584217071533, | |
0.007291903972625732, | |
0.006970367908477783, | |
0.007064576148986816, | |
0.007061503887176514, | |
0.007080927848815918, | |
0.00703385591506958, | |
0.007090176105499267, | |
0.006976511955261231, | |
0.006946784019470215, | |
0.006892543792724609, | |
0.00695091199874878, | |
0.006999072074890137, | |
0.007006207942962647, | |
0.006973440170288086, | |
0.007119840145111084, | |
0.0070266880989074704, | |
0.00704307222366333, | |
0.007001088142395019, | |
0.007028672218322754, | |
0.0069918718338012695, | |
0.007007232189178467, | |
0.006998015880584717, | |
0.006980607986450196, | |
0.007007232189178467, | |
0.0069918718338012695, | |
0.006988800048828125, | |
0.006982656002044678, | |
0.006994944095611572, | |
0.006982656002044678, | |
0.00703385591506958, | |
0.006999040126800537, | |
0.007019519805908203, | |
0.0070553598403930665, | |
0.007027711868286133, | |
0.006958079814910889, | |
0.007019519805908203, | |
0.0069959678649902345, | |
0.00704204797744751 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.36575476584173 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.329239978139034e-08, | |
"ram": 4.551786752321778e-08, | |
"gpu": 1.77335029202759e-07, | |
"total": 3.0614529650736713e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3266422.876354515 | |
} | |
} | |
} | |
} |