IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
405111f verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-212.873.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 852.95104,
"max_global_vram": 688.390144,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.6199228515625,
"mean": 7.6199228515625,
"stdev": 0.0,
"p50": 7.6199228515625,
"p90": 7.6199228515625,
"p95": 7.6199228515625,
"p99": 7.6199228515625,
"values": [
7.6199228515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.284149871528106e-06,
"ram": 2.3319077079010937e-06,
"gpu": 5.049170706000034e-06,
"total": 1.1665228285429234e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.132864,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 136,
"total": 1.0004538578987119,
"mean": 0.007356278366902295,
"stdev": 0.0002303887068791315,
"p50": 0.007434224128723145,
"p90": 0.007583760023117066,
"p95": 0.0076518400907516475,
"p99": 0.007910246181488039,
"values": [
0.007681024074554443,
0.007771135807037354,
0.007674880027770996,
0.007620607852935791,
0.007647232055664062,
0.0075090560913085936,
0.007554048061370849,
0.007558144092559814,
0.0074711041450500485,
0.007478271961212158,
0.0074670081138610836,
0.007489535808563232,
0.007384096145629883,
0.007383071899414063,
0.0074332160949707035,
0.007442431926727295,
0.007528448104858398,
0.007518208026885987,
0.007508992195129394,
0.007498816013336181,
0.0074414081573486324,
0.007469056129455566,
0.007555039882659912,
0.007541728019714355,
0.0075345921516418455,
0.007526400089263916,
0.007541759967803955,
0.00744649600982666,
0.007502848148345947,
0.007502848148345947,
0.007529471874237061,
0.007527391910552978,
0.007390207767486572,
0.007392255783081054,
0.00741267204284668,
0.007459839820861816,
0.007472127914428711,
0.007498752117156982,
0.007459839820861816,
0.007708672046661377,
0.007635968208312988,
0.007546879768371582,
0.0075939841270446775,
0.007549952030181885,
0.007498752117156982,
0.007473152160644531,
0.007665664196014404,
0.007507967948913574,
0.007518080234527588,
0.00759500789642334,
0.007444479942321777,
0.00738918399810791,
0.007479296207427978,
0.007444479942321777,
0.007494656085968018,
0.007567296028137207,
0.0074106879234313965,
0.00744652795791626,
0.007409664154052734,
0.007985151767730713,
0.0074291200637817386,
0.007478271961212158,
0.007449600219726562,
0.007583775997161865,
0.007609344005584716,
0.007524352073669433,
0.007583744049072265,
0.008174592018127442,
0.007536640167236328,
0.007566336154937744,
0.007435232162475586,
0.007456799983978271,
0.007551936149597168,
0.0074301438331604,
0.00742195177078247,
0.007252992153167725,
0.007361536026000977,
0.0074403839111328125,
0.007379968166351319,
0.007107583999633789,
0.0070891518592834475,
0.007132160186767578,
0.007352320194244385,
0.007418879985809326,
0.007473152160644531,
0.007522304058074952,
0.0075335679054260255,
0.007524352073669433,
0.007414783954620361,
0.0072202239036560055,
0.007165952205657959,
0.00723967981338501,
0.0071157760620117185,
0.007159808158874512,
0.00714035177230835,
0.007068672180175781,
0.0070830078125,
0.007088128089904785,
0.007087103843688965,
0.007120895862579346,
0.0070563840866088865,
0.007088128089904785,
0.007080895900726318,
0.007058432102203369,
0.007020544052124023,
0.0070256638526916505,
0.007007232189178467,
0.007023615837097168,
0.0070000958442687986,
0.00709939193725586,
0.007078847885131836,
0.007116799831390381,
0.007064576148986816,
0.007045119762420654,
0.007094272136688232,
0.007072768211364746,
0.007071743965148926,
0.007107583999633789,
0.007070720195770264,
0.007051263809204102,
0.007057407855987549,
0.006982656002044678,
0.0073400321006774905,
0.007146527767181396,
0.00714137601852417,
0.007067647933959961,
0.007031807899475098,
0.007066656112670899,
0.007012256145477295,
0.007029759883880615,
0.00709222412109375,
0.007066624164581299,
0.007071743965148926,
0.007073855876922607,
0.00709222412109375,
0.007032832145690918
]
},
"throughput": {
"unit": "samples/s",
"value": 135.93830332729738
},
"energy": {
"unit": "kWh",
"cpu": 8.323958816530548e-08,
"ram": 4.551290778270148e-08,
"gpu": 1.7676393317482498e-07,
"total": 3.055164291228319e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3273146.3995933034
}
}
}
}