IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1e6e4a3 verified
raw
history blame
13.2 kB
{
"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",
"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.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"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.366784,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 198,
"total": 0.9952492475509648,
"mean": 0.005026511351267497,
"stdev": 0.00020907735921384867,
"p50": 0.004914175987243652,
"p90": 0.005182678270339966,
"p95": 0.005467494511604308,
"p99": 0.005828679695129395,
"values": [
0.005826560020446778,
0.005612544059753418,
0.005675007820129394,
0.005635072231292724,
0.0055101442337036136,
0.0054271998405456545,
0.005448703765869141,
0.005459968090057373,
0.005398528099060058,
0.0056145920753479005,
0.005974016189575195,
0.005126143932342529,
0.004935679912567138,
0.0049192957878112795,
0.004903935909271241,
0.004891647815704346,
0.004918272018432617,
0.004910079956054687,
0.004898816108703613,
0.004902912139892578,
0.004884479999542236,
0.004928512096405029,
0.0048895998001098635,
0.004882431983947754,
0.00491212797164917,
0.004914175987243652,
0.004891615867614746,
0.00491315221786499,
0.004890624046325683,
0.004921343803405762,
0.004901887893676758,
0.004892672061920166,
0.004893695831298828,
0.0048752641677856446,
0.004900864124298096,
0.0048793601989746095,
0.00486195182800293,
0.004884479999542236,
0.0049090561866760255,
0.0048855037689208985,
0.004878335952758789,
0.004892672061920166,
0.004893695831298828,
0.004880383968353271,
0.004863999843597412,
0.004891647815704346,
0.0048793601989746095,
0.004918272018432617,
0.004893695831298828,
0.004877312183380127,
0.0048855037689208985,
0.004922368049621582,
0.004896768093109131,
0.004900864124298096,
0.004899839878082276,
0.004878335952758789,
0.004918272018432617,
0.004902912139892578,
0.004918272018432617,
0.004881408214569092,
0.004930560111999512,
0.004895743846893311,
0.0048855037689208985,
0.004896768093109131,
0.004898816108703613,
0.004888576030731201,
0.004884479999542236,
0.004902912139892578,
0.004876287937164306,
0.004907008171081543,
0.004878335952758789,
0.004882431983947754,
0.004903935909271241,
0.004918272018432617,
0.004883456230163574,
0.004891647815704346,
0.004890624046325683,
0.004905983924865722,
0.004899839878082276,
0.004898816108703613,
0.004910079956054687,
0.004888576030731201,
0.004922368049621582,
0.004880383968353271,
0.004898816108703613,
0.004905983924865722,
0.004924416065216064,
0.0048895998001098635,
0.004882431983947754,
0.004886591911315918,
0.004884479999542236,
0.004888576030731201,
0.004874239921569825,
0.004880383968353271,
0.004890624046325683,
0.004907008171081543,
0.004898848056793213,
0.004903935909271241,
0.004908031940460205,
0.004930624008178711,
0.004930560111999512,
0.004903903961181641,
0.00491315221786499,
0.004931615829467773,
0.004903935909271241,
0.004883552074432373,
0.004907008171081543,
0.004901887893676758,
0.00487014389038086,
0.004838399887084961,
0.004832255840301514,
0.0048558077812194825,
0.0049510722160339355,
0.0049428482055664065,
0.004893695831298828,
0.004921343803405762,
0.004927487850189209,
0.004904960155487061,
0.0049090561866760255,
0.004908031940460205,
0.0049008321762084965,
0.004928512096405029,
0.004917247772216797,
0.004914175987243652,
0.004888576030731201,
0.0049192957878112795,
0.004890624046325683,
0.004901887893676758,
0.004896768093109131,
0.004914175987243652,
0.004900864124298096,
0.004900864124298096,
0.00491212797164917,
0.004922368049621582,
0.0048895998001098635,
0.004893695831298828,
0.005227519989013672,
0.005251071929931641,
0.005135424137115478,
0.005131264209747314,
0.005111807823181152,
0.005144544124603271,
0.005125120162963868,
0.0051476478576660155,
0.005172224044799805,
0.0051404800415039064,
0.0051476478576660155,
0.005173247814178467,
0.005131264209747314,
0.005131264209747314,
0.005138432025909424,
0.005180416107177735,
0.005132287979125977,
0.005138432025909424,
0.005157887935638428,
0.005128191947937012,
0.005134335994720459,
0.005133247852325439,
0.005167103767395019,
0.005146624088287354,
0.005115903854370117,
0.005145599842071533,
0.005100480079650879,
0.005111807823181152,
0.005099487781524658,
0.005138432025909424,
0.005104640007019043,
0.005112832069396973,
0.005135359764099121,
0.005188608169555664,
0.005165056228637695,
0.005897215843200684,
0.005409791946411133,
0.005179391860961914,
0.005185567855834961,
0.005650432109832764,
0.005739456176757813,
0.005163008213043213,
0.005125120162963868,
0.005157887935638428,
0.0052111358642578124,
0.005152736186981201,
0.005173247814178467,
0.005181439876556396,
0.005126143932342529,
0.00516096019744873,
0.005131264209747314,
0.005173247814178467,
0.005124095916748047,
0.005138432025909424,
0.005142528057098389,
0.005114880084991455,
0.005126143932342529,
0.005127168178558349,
0.005116928100585938,
0.005089280128479004,
0.005102591991424561,
0.005129280090332031
]
},
"throughput": {
"unit": "samples/s",
"value": 198.94513910683554
},
"energy": {
"unit": "kWh",
"cpu": 5.834189329763286e-08,
"ram": 3.189443302240591e-08,
"gpu": 1.227094577733988e-07,
"total": 2.1294578409343754e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4696030.983929761
}
}
}
}