IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
450fabf verified
raw
history blame
12.1 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": {},
"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,
"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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 785.235968,
"max_global_vram": 690.487296,
"max_process_vram": 0.0,
"max_reserved": 125.82912,
"max_allocated": 103.077376
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.434013671875,
"mean": 7.434013671875,
"stdev": 0.0,
"p50": 7.434013671875,
"p90": 7.434013671875,
"p95": 7.434013671875,
"p99": 7.434013671875,
"values": [
7.434013671875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.287459121810065e-06,
"ram": 2.334174691340725e-06,
"gpu": 7.230561340000087e-06,
"total": 1.3852195153150878e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 971.685888,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.9976954874992374,
"mean": 0.0069284408854113685,
"stdev": 0.00031203386032188825,
"p50": 0.006971392154693603,
"p90": 0.007183769464492798,
"p95": 0.007410636591911315,
"p99": 0.00799989998817444,
"values": [
0.0072837119102478025,
0.007334911823272705,
0.0073062400817871095,
0.007208960056304932,
0.0071823358535766605,
0.007161856174468994,
0.007195648193359375,
0.007177216053009033,
0.007048192024230957,
0.007071743965148926,
0.007095295906066895,
0.006956031799316406,
0.006909952163696289,
0.006922239780426025,
0.0070266880989074704,
0.007058495998382568,
0.007143424034118652,
0.007080959796905518,
0.007077888011932373,
0.007007232189178467,
0.007029759883880615,
0.007016448020935059,
0.007079936027526855,
0.007073791980743408,
0.0072007360458374026,
0.007081984043121338,
0.007085055828094483,
0.007032832145690918,
0.0070256638526916505,
0.007051263809204102,
0.007162879943847656,
0.007048192024230957,
0.006905856132507324,
0.006987775802612305,
0.007131135940551757,
0.006987775802612305,
0.00704307222366333,
0.007110655784606934,
0.007057407855987549,
0.007081984043121338,
0.007114687919616699,
0.007090144157409668,
0.007128064155578613,
0.006999104022979736,
0.0070348801612854,
0.006959104061126709,
0.007030784130096435,
0.007180287837982178,
0.007150559902191162,
0.007117824077606201,
0.007184383869171143,
0.007423999786376953,
0.006991903781890869,
0.007013376235961914,
0.00713318395614624,
0.007064576148986816,
0.006978559970855713,
0.006976511955261231,
0.007009344100952148,
0.00692633581161499,
0.006973440170288086,
0.006980607986450196,
0.007003136157989502,
0.00704204797744751,
0.007122943878173828,
0.007045119762420654,
0.007154687881469727,
0.007103487968444824,
0.007024640083312988,
0.007078911781311035,
0.006952928066253662,
0.006969344139099121,
0.006988800048828125,
0.006904831886291504,
0.006862912178039551,
0.00672870397567749,
0.006810624122619629,
0.006948863983154297,
0.00674508810043335,
0.006576128005981445,
0.0066078720092773435,
0.006635519981384277,
0.006614016056060791,
0.007683072090148926,
0.007996416091918946,
0.008002528190612793,
0.007730175971984863,
0.007892000198364257,
0.007955455780029297,
0.008022015571594238,
0.006884352207183838,
0.0066713600158691405,
0.006660096168518067,
0.006702079772949219,
0.006670335769653321,
0.006604800224304199,
0.006643712043762207,
0.006645760059356689,
0.006628352165222168,
0.006621183872222901,
0.00662937593460083,
0.0065781760215759275,
0.006620160102844238,
0.006628352165222168,
0.006636544227600098,
0.006621183872222901,
0.006658048152923584,
0.0066344962120056155,
0.006649856090545654,
0.006707200050354004,
0.006618112087249756,
0.006658048152923584,
0.006696959972381592,
0.006685696125030518,
0.006614016056060791,
0.006631423950195312,
0.006597631931304931,
0.006695903778076172,
0.006617087841033936,
0.0066109437942504885,
0.006619135856628418,
0.0066375679969787596,
0.006591487884521485,
0.006609920024871826,
0.006698976039886475,
0.006589439868927002,
0.0066713600158691405,
0.006621183872222901,
0.006604800224304199,
0.0066304001808166506,
0.006656000137329102,
0.00658841609954834,
0.006618112087249756,
0.006648831844329834,
0.006618112087249756,
0.006631455898284912,
0.0066406397819519045,
0.00658739185333252,
0.006639616012573242,
0.006654975891113281,
0.006617023944854737,
0.006623231887817383,
0.006643712043762207,
0.006625279903411865
]
},
"throughput": {
"unit": "samples/s",
"value": 144.33261631857397
},
"energy": {
"unit": "kWh",
"cpu": 7.860067905618305e-08,
"ram": 4.2973988648419683e-08,
"gpu": 1.7816239418543148e-07,
"total": 2.997370618900342e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3336257.4307439975
}
}
}
}