IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
fa5cbc4 verified
raw
history blame
12.1 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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 853.01248,
"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.67663330078125,
"mean": 7.67663330078125,
"stdev": 0.0,
"p50": 7.67663330078125,
"p90": 7.67663330078125,
"p95": 7.67663330078125,
"p99": 7.67663330078125,
"values": [
7.67663330078125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.279106715278363e-06,
"ram": 2.3288715028863412e-06,
"gpu": 6.400838453999962e-06,
"total": 1.3008816672164666e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.23936,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 144,
"total": 1.0026978230476378,
"mean": 0.0069631793267197085,
"stdev": 0.00036572438837914785,
"p50": 0.006735327959060669,
"p90": 0.007456255865097046,
"p95": 0.007768217420578003,
"p99": 0.008010707607269288,
"values": [
0.007849984169006348,
0.007771135807037354,
0.00780185604095459,
0.007703551769256592,
0.007786496162414551,
0.007751679897308349,
0.007688191890716553,
0.0068055038452148435,
0.0067010560035705566,
0.0067010560035705566,
0.00673689603805542,
0.006729728221893311,
0.006689792156219483,
0.0067348480224609375,
0.006748159885406494,
0.006627327919006347,
0.006632448196411133,
0.006660096168518067,
0.0066344962120056155,
0.0066938881874084475,
0.006692863941192627,
0.006672383785247803,
0.00672870397567749,
0.006702079772949219,
0.006717440128326416,
0.006681536197662354,
0.006694911956787109,
0.006695903778076172,
0.006690815925598144,
0.006713344097137451,
0.006672383785247803,
0.006646783828735352,
0.006669312000274658,
0.006686719894409179,
0.0067010560035705566,
0.0067010560035705566,
0.00667852783203125,
0.00667955207824707,
0.006714367866516113,
0.006718463897705078,
0.006675456047058105,
0.00669593620300293,
0.006710271835327148,
0.006763519763946534,
0.006947904109954834,
0.006972415924072266,
0.006708223819732666,
0.0067573761940002445,
0.006748159885406494,
0.006731776237487793,
0.006683648109436035,
0.00673689603805542,
0.006730751991271973,
0.006683648109436035,
0.006743040084838867,
0.006732800006866455,
0.0066826238632202144,
0.0067051520347595215,
0.0067123198509216305,
0.006683648109436035,
0.006686719894409179,
0.0067348480224609375,
0.006706240177154541,
0.006691840171813965,
0.006715392112731934,
0.006667263984680176,
0.006686719894409179,
0.006779903888702392,
0.00672051191329956,
0.006665215969085693,
0.006708223819732666,
0.006702079772949219,
0.006688767910003662,
0.0067051520347595215,
0.006767615795135498,
0.006658048152923584,
0.006763519763946534,
0.006684671878814697,
0.006657023906707763,
0.006729728221893311,
0.006747136116027832,
0.006646783828735352,
0.006665215969085693,
0.006685696125030518,
0.006652927875518798,
0.0066344962120056155,
0.006673408031463623,
0.006680575847625733,
0.00667852783203125,
0.006730751991271973,
0.006693920135498047,
0.006735807895660401,
0.006707200050354004,
0.0067051520347595215,
0.0069959678649902345,
0.007058432102203369,
0.007074816226959229,
0.007079936027526855,
0.007344128131866455,
0.007198719978332519,
0.007392255783081054,
0.007998432159423828,
0.008019968032836914,
0.007475264072418213,
0.007428095817565918,
0.00743833589553833,
0.007463935852050781,
0.00790118408203125,
0.007368703842163086,
0.00727347183227539,
0.007504960060119629,
0.008185855865478516,
0.00723967981338501,
0.007156735897064209,
0.0071823358535766605,
0.0070563840866088865,
0.007308288097381592,
0.00774451208114624,
0.007227392196655274,
0.007170048236846924,
0.007162943840026855,
0.007172095775604248,
0.007194623947143554,
0.007158751964569092,
0.007151616096496582,
0.007312384128570557,
0.007122943878173828,
0.007197696208953858,
0.0071833600997924804,
0.007332863807678222,
0.0071526398658752445,
0.007104512214660645,
0.007186431884765625,
0.0071792640686035155,
0.007169023990631103,
0.007238656044006348,
0.007166975975036621,
0.007125984191894532,
0.007175168037414551,
0.007168000221252442,
0.007198719978332519,
0.007275519847869873,
0.007259136199951172,
0.007151616096496582
]
},
"throughput": {
"unit": "samples/s",
"value": 143.61255872913028
},
"energy": {
"unit": "kWh",
"cpu": 8.173224909003822e-08,
"ram": 4.4661871456777395e-08,
"gpu": 1.753679563862071e-07,
"total": 3.017620769330227e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3313869.026100168
}
}
}
}