
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3dc18d4
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "timm", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 949.256192, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 187, | |
"total": 0.9952585287094108, | |
"mean": 0.005322238121440704, | |
"stdev": 0.0002002290042741778, | |
"p50": 0.0052930560111999515, | |
"p90": 0.005371903896331787, | |
"p95": 0.005850316667556762, | |
"p99": 0.006086737957000726, | |
"values": [ | |
0.0065730881690979, | |
0.006502399921417237, | |
0.005966847896575928, | |
0.005866496086120605, | |
0.005913599967956543, | |
0.005881855964660645, | |
0.005921792030334472, | |
0.005855231761932373, | |
0.005915647983551026, | |
0.0058388481140136715, | |
0.00601907205581665, | |
0.005173247814178467, | |
0.005074944019317627, | |
0.00506982421875, | |
0.0050462718009948735, | |
0.005049344062805176, | |
0.005038144111633301, | |
0.005071872234344482, | |
0.005188608169555664, | |
0.005257215976715088, | |
0.005273600101470947, | |
0.005311488151550293, | |
0.0052674560546875, | |
0.0052930560111999515, | |
0.005285888195037842, | |
0.0052971520423889164, | |
0.0053002238273620605, | |
0.005283872127532959, | |
0.005258240222930908, | |
0.0052899842262268066, | |
0.005305344104766845, | |
0.005255231857299805, | |
0.005265408039093018, | |
0.005306367874145508, | |
0.005313536167144775, | |
0.0052705278396606445, | |
0.00531660795211792, | |
0.005341184139251709, | |
0.005261312007904053, | |
0.005307392120361328, | |
0.005282815933227539, | |
0.005305344104766845, | |
0.005313536167144775, | |
0.005287968158721924, | |
0.005381120204925537, | |
0.005318655967712403, | |
0.005302271842956543, | |
0.005283840179443359, | |
0.005312511920928955, | |
0.005279744148254394, | |
0.005279744148254394, | |
0.005405695915222168, | |
0.005299200057983398, | |
0.005280767917633057, | |
0.0053043198585510255, | |
0.0053975038528442385, | |
0.005350399971008301, | |
0.005313536167144775, | |
0.005283840179443359, | |
0.005312511920928955, | |
0.0052971520423889164, | |
0.005286911964416504, | |
0.005283840179443359, | |
0.0052930560111999515, | |
0.005298175811767578, | |
0.005400576114654541, | |
0.005493760108947754, | |
0.005452799797058106, | |
0.005378047943115235, | |
0.005327871799468994, | |
0.005312511920928955, | |
0.00535859203338623, | |
0.005359615802764893, | |
0.005294079780578613, | |
0.0053678078651428224, | |
0.005311488151550293, | |
0.005309408187866211, | |
0.005359615802764893, | |
0.005320703983306885, | |
0.005321728229522705, | |
0.00535756778717041, | |
0.005315584182739258, | |
0.005314559936523438, | |
0.005326848030090332, | |
0.005291007995605469, | |
0.005274623870849609, | |
0.005310463905334473, | |
0.0053043198585510255, | |
0.005298175811767578, | |
0.00532480001449585, | |
0.0052930560111999515, | |
0.0053012480735778805, | |
0.005315584182739258, | |
0.005286911964416504, | |
0.005259263992309571, | |
0.005305344104766845, | |
0.005291007995605469, | |
0.005274623870849609, | |
0.0053012480735778805, | |
0.005279744148254394, | |
0.005280767917633057, | |
0.005283840179443359, | |
0.005291007995605469, | |
0.005265408039093018, | |
0.005442560195922852, | |
0.005305344104766845, | |
0.005273600101470947, | |
0.005340159893035889, | |
0.005311488151550293, | |
0.005329919815063477, | |
0.005351424217224121, | |
0.005325823783874512, | |
0.0052899842262268066, | |
0.005342207908630371, | |
0.005313536167144775, | |
0.005310495853424072, | |
0.00535859203338623, | |
0.00532480001449585, | |
0.005294079780578613, | |
0.005345280170440674, | |
0.005318655967712403, | |
0.005296160221099853, | |
0.0052971520423889164, | |
0.005280767917633057, | |
0.005296127796173096, | |
0.005260287761688232, | |
0.005242879867553711, | |
0.00527455997467041, | |
0.005219327926635742, | |
0.005219327926635742, | |
0.005193727970123291, | |
0.005216256141662597, | |
0.005344255924224854, | |
0.005204991817474365, | |
0.005241856098175048, | |
0.00530944013595581, | |
0.005269504070281982, | |
0.0053125438690185545, | |
0.005272575855255127, | |
0.005298175811767578, | |
0.005278719902038574, | |
0.005291007995605469, | |
0.0052899842262268066, | |
0.005281792163848877, | |
0.005287936210632324, | |
0.005274623870849609, | |
0.005269504070281982, | |
0.005292031764984131, | |
0.005283840179443359, | |
0.005284863948822022, | |
0.005322688102722168, | |
0.005291007995605469, | |
0.00530841588973999, | |
0.005264383792877197, | |
0.00522547197341919, | |
0.005193727970123291, | |
0.005256192207336426, | |
0.005219327926635742, | |
0.005219327926635742, | |
0.005241856098175048, | |
0.005237760066986084, | |
0.005230591773986816, | |
0.005242879867553711, | |
0.005222400188446045, | |
0.005223423957824707, | |
0.0052899842262268066, | |
0.005279776096343994, | |
0.005292031764984131, | |
0.005319680213928223, | |
0.005306367874145508, | |
0.005283840179443359, | |
0.005306367874145508, | |
0.0052930560111999515, | |
0.005273600101470947, | |
0.005298175811767578, | |
0.005292031764984131, | |
0.005252128124237061, | |
0.005269504070281982, | |
0.005333951950073242, | |
0.005282815933227539, | |
0.0052971520423889164, | |
0.005058559894561767, | |
0.005029888153076172, | |
0.00501043176651001, | |
0.005014527797698975, | |
0.004997119903564453, | |
0.005017600059509277 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 187.89087920953543 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.336751382965287e-08, | |
"ram": 3.449290017882997e-08, | |
"gpu": 1.3423326341489252e-07, | |
"total": 2.3209367742337537e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4308605.090417189 | |
} | |
} | |
} | |
} |