IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7e128bf verified
raw
history blame
12.2 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": {},
"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": 789.069824,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.49530029296875,
"mean": 7.49530029296875,
"stdev": 0.0,
"p50": 7.49530029296875,
"p90": 7.49530029296875,
"p95": 7.49530029296875,
"p99": 7.49530029296875,
"values": [
7.49530029296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.377944933043586e-06,
"ram": 2.3411831084707537e-06,
"gpu": 6.528616333999898e-06,
"total": 1.3247744375514238e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.003072,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 147,
"total": 0.9981104016304018,
"mean": 0.0067898666777578345,
"stdev": 0.00013166637968204195,
"p50": 0.006820864200592041,
"p90": 0.006887014293670654,
"p95": 0.006952550411224365,
"p99": 0.007095541868209838,
"values": [
0.006918144226074219,
0.006967328071594238,
0.007036928176879883,
0.0069283838272094726,
0.006842368125915528,
0.006871039867401123,
0.006856704235076904,
0.006847487926483154,
0.007279615879058838,
0.006661119937896728,
0.006408192157745361,
0.006771743774414063,
0.00648095989227295,
0.006683648109436035,
0.006683648109436035,
0.006713344097137451,
0.006691840171813965,
0.006663199901580811,
0.007145472049713135,
0.006855679988861084,
0.006689792156219483,
0.0068055038452148435,
0.006642687797546387,
0.0066344962120056155,
0.0066007041931152345,
0.006685696125030518,
0.00669593620300293,
0.00667852783203125,
0.006635519981384277,
0.006648831844329834,
0.0066979842185974124,
0.006643712043762207,
0.006812672138214112,
0.006656000137329102,
0.0065372161865234375,
0.006402048110961914,
0.006303743839263916,
0.006362080097198486,
0.0063539199829101565,
0.006485983848571777,
0.00658022403717041,
0.006816768169403077,
0.006829055786132812,
0.006854623794555664,
0.006817791938781738,
0.006795263767242431,
0.0068618240356445315,
0.0068577280044555666,
0.006785024166107178,
0.006859839916229248,
0.006851583957672119,
0.006776832103729248,
0.006829055786132812,
0.006864863872528076,
0.006829055786132812,
0.006831103801727295,
0.006876160144805908,
0.006821887969970703,
0.0068351998329162595,
0.006807551860809326,
0.006853631973266602,
0.0068321280479431154,
0.0068055038452148435,
0.006855679988861084,
0.006922239780426025,
0.006825984001159668,
0.006812672138214112,
0.00682700777053833,
0.006873087882995605,
0.006816768169403077,
0.006834176063537598,
0.0068351998329162595,
0.006852608203887939,
0.006785024166107178,
0.006875135898590088,
0.006834176063537598,
0.006766592025756836,
0.006856704235076904,
0.006840320110321045,
0.006820864200592041,
0.006801407814025879,
0.006867968082427979,
0.0068249602317810056,
0.0067870721817016606,
0.0068577280044555666,
0.006842368125915528,
0.006843391895294189,
0.006810624122619629,
0.006978623867034912,
0.006933440208435058,
0.0068362560272216795,
0.006882304191589355,
0.006876160144805908,
0.006881279945373535,
0.006946815967559815,
0.0069550080299377445,
0.006883327960968018,
0.006880256175994873,
0.006792191982269287,
0.0069959678649902345,
0.006879231929779053,
0.006830080032348633,
0.006842368125915528,
0.00687718391418457,
0.006867968082427979,
0.006683648109436035,
0.006750207901000976,
0.006747136116027832,
0.006691840171813965,
0.006806528091430664,
0.00684441614151001,
0.006831103801727295,
0.006800447940826416,
0.006837247848510742,
0.006739903926849365,
0.006723616123199463,
0.006758399963378906,
0.00673689603805542,
0.0067276802062988285,
0.006763519763946534,
0.006714367866516113,
0.006841343879699707,
0.006973440170288086,
0.006854656219482422,
0.006843391895294189,
0.0068249602317810056,
0.006820864200592041,
0.006854656219482422,
0.00682700777053833,
0.00669593620300293,
0.006754303932189941,
0.006739967823028564,
0.00667852783203125,
0.006774784088134766,
0.0067686400413513184,
0.006724607944488525,
0.006759424209594727,
0.006738944053649902,
0.006737919807434082,
0.006731776237487793,
0.006750239849090576,
0.0067348480224609375,
0.006783999919891357,
0.006866943836212158,
0.006892543792724609,
0.006938623905181885,
0.006880256175994873
]
},
"throughput": {
"unit": "samples/s",
"value": 147.27829682956636
},
"energy": {
"unit": "kWh",
"cpu": 7.738336736773268e-08,
"ram": 4.230956291768314e-08,
"gpu": 1.626272179738552e-07,
"total": 2.82320148259271e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3542078.049213979
}
}
}
}