IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e6d1741 verified
raw
history blame
11.7 kB
{
"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.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.330944,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3659274291992187
],
"count": 1,
"total": 0.3659274291992187,
"mean": 0.3659274291992187,
"p50": 0.3659274291992187,
"p90": 0.3659274291992187,
"p95": 0.3659274291992187,
"p99": 0.3659274291992187,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.716992,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.007423999786376953,
0.007098368167877197,
0.007106592178344726,
0.0071526398658752445,
0.007145472049713135,
0.0071188478469848635,
0.007145472049713135,
0.007154623985290528,
0.007170048236846924,
0.007196671962738037,
0.007206912040710449,
0.007275519847869873,
0.007271423816680909,
0.007252031803131103,
0.007228415966033935,
0.007123968124389648,
0.007139328002929687,
0.007307263851165771,
0.007334911823272705,
0.007216127872467041,
0.00714137601852417,
0.007161888122558593,
0.007162879943847656,
0.007110655784606934,
0.007045119762420654,
0.00714035177230835,
0.007156735897064209,
0.007130112171173096,
0.007749631881713868,
0.0074332160949707035,
0.007411712169647216,
0.0074291200637817386,
0.007423999786376953,
0.007460864067077637,
0.0074629120826721195,
0.007552000045776367,
0.007472127914428711,
0.00760319995880127,
0.007547904014587403,
0.007539711952209473,
0.00753868818283081,
0.007546879768371582,
0.007608320236206055,
0.007491583824157715,
0.007156735897064209,
0.007154687881469727,
0.007074816226959229,
0.007121920108795166,
0.007087103843688965,
0.007045119762420654,
0.007051263809204102,
0.006853631973266602,
0.006959104061126709,
0.007647232055664062,
0.007215104103088379,
0.007081984043121338,
0.007155712127685547,
0.007098368167877197,
0.007299071788787842,
0.007337984085083008,
0.007269311904907227,
0.007311359882354736,
0.007426047801971435,
0.007384064197540283,
0.007150591850280762,
0.00709222412109375,
0.007092192173004151,
0.007088128089904785,
0.007061567783355713,
0.007113728046417236,
0.007106560230255127,
0.007077888011932373,
0.007027711868286133,
0.007130112171173096,
0.0071823358535766605,
0.007097343921661377,
0.007095295906066895,
0.007385087966918945,
0.007205887794494629,
0.007118879795074463,
0.007258111953735351,
0.007097343921661377,
0.007064576148986816,
0.007057407855987549,
0.0071188478469848635,
0.007085055828094483,
0.0070481600761413575,
0.0070348801612854,
0.007058432102203369,
0.007095295906066895,
0.007053311824798584,
0.007029791831970215,
0.0070830078125,
0.007070720195770264,
0.00708403205871582,
0.007074751853942871,
0.007029759883880615,
0.00719974422454834,
0.007245823860168457,
0.007079999923706054,
0.007077888011932373,
0.0070830078125,
0.0070522880554199216,
0.007068672180175781,
0.0070348801612854,
0.007047167778015137,
0.007068672180175781,
0.00708403205871582,
0.00722431993484497,
0.007054336071014404,
0.007073823928833008,
0.007102464199066162,
0.00724070405960083,
0.0070256638526916505,
0.007041088104248047,
0.007060480117797851,
0.007074816226959229,
0.007061439990997315,
0.00704307222366333,
0.007041024208068848,
0.007060480117797851,
0.0070860800743103025,
0.00704204797744751,
0.007037951946258545,
0.0070522880554199216,
0.0070563840866088865,
0.007076863765716553,
0.007057407855987549,
0.007060480117797851,
0.007047167778015137,
0.007067647933959961,
0.007023615837097168,
0.007047167778015137,
0.007063551902770996,
0.007077951908111572,
0.007172095775604248,
0.007101439952850342,
0.007107583999633789,
0.007103487968444824
],
"count": 139,
"total": 0.9969163813591007,
"mean": 0.007172060297547485,
"p50": 0.007106560230255127,
"p90": 0.007429939270019532,
"p95": 0.0075404287338256834,
"p99": 0.0076324455642700195,
"stdev": 0.00016130546490393053,
"stdev_": 2.2490812710970873
},
"throughput": {
"unit": "samples/s",
"value": 139.429948789186
},
"energy": {
"unit": "kWh",
"cpu": 8.43221520439337e-08,
"ram": 4.607657675176348e-08,
"gpu": 1.7435593144680934e-07,
"total": 3.0475466024250653e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3281328.000708034
}
}
}
}