IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a34bb62 verified
raw
history blame
12.4 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.43.1",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"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": 788.873216,
"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.42367724609375,
"mean": 7.42367724609375,
"stdev": 0.0,
"p50": 7.42367724609375,
"p90": 7.42367724609375,
"p95": 7.42367724609375,
"p99": 7.42367724609375,
"values": [
7.42367724609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.334632886780633e-06,
"ram": 2.345874413003533e-06,
"gpu": 7.005283381999756e-06,
"total": 1.3685790681783924e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.408576,
"max_global_vram": 1040.71168,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 152,
"total": 0.9983416953086856,
"mean": 0.006568037469136087,
"stdev": 0.0003003122600924858,
"p50": 0.006460383892059326,
"p90": 0.006732800006866455,
"p95": 0.007479552102088928,
"p99": 0.007773358263969422,
"values": [
0.00789299201965332,
0.007575551986694336,
0.007573503971099854,
0.007514111995697022,
0.007790592193603516,
0.007505919933319092,
0.007504896163940429,
0.007431168079376221,
0.007425024032592774,
0.007458816051483155,
0.007756800174713135,
0.006761472225189209,
0.006448128223419189,
0.006446080207824707,
0.006474751949310303,
0.006452223777770996,
0.006445055961608887,
0.006487040042877197,
0.006445055961608887,
0.006455296039581298,
0.006457344055175781,
0.0064542717933654785,
0.006457344055175781,
0.006448128223419189,
0.006468607902526856,
0.0064542717933654785,
0.006458367824554443,
0.00652182388305664,
0.0064542717933654785,
0.006469632148742676,
0.006469632148742676,
0.006458367824554443,
0.006465536117553711,
0.006479872226715088,
0.0064839677810668945,
0.006485951900482178,
0.0064737281799316405,
0.006475776195526123,
0.006511616230010986,
0.0064542717933654785,
0.006472703933715821,
0.006460415840148926,
0.006448128223419189,
0.006450175762176514,
0.006467584133148193,
0.0064204797744750975,
0.006426623821258545,
0.006397952079772949,
0.006436863899230957,
0.006456319808959961,
0.006429696083068847,
0.006467584133148193,
0.006433792114257812,
0.006490111827850342,
0.006453248023986816,
0.006453248023986816,
0.006463488101959228,
0.006460415840148926,
0.006451200008392334,
0.006587423801422119,
0.006436863899230957,
0.0064338560104370114,
0.0064839677810668945,
0.0064287037849426265,
0.006440959930419922,
0.00643891191482544,
0.006463488101959228,
0.006455296039581298,
0.0064440321922302245,
0.0064471039772033695,
0.006462463855743408,
0.00643891191482544,
0.006468607902526856,
0.006435840129852295,
0.006559743881225586,
0.006395904064178467,
0.006384640216827392,
0.006412352085113525,
0.006460351943969727,
0.006425600051879882,
0.006437888145446777,
0.0064430079460144046,
0.0064849920272827145,
0.006452223777770996,
0.00643071985244751,
0.006456319808959961,
0.00643887996673584,
0.006478847980499268,
0.006474751949310303,
0.006457344055175781,
0.006445055961608887,
0.006487040042877197,
0.0064245758056640625,
0.006435840129852295,
0.006440959930419922,
0.006450175762176514,
0.006475808143615723,
0.006459392070770263,
0.006887423992156983,
0.006743040084838867,
0.0067123198509216305,
0.006703104019165039,
0.006732800006866455,
0.006708223819732666,
0.006812672138214112,
0.006719488143920899,
0.006732800006866455,
0.0066938881874084475,
0.006700032234191895,
0.006706175804138184,
0.006686719894409179,
0.0067133760452270505,
0.0067051520347595215,
0.00653107213973999,
0.00643174409866333,
0.006429696083068847,
0.00643891191482544,
0.006458367824554443,
0.006436863899230957,
0.006470655918121338,
0.006481919765472412,
0.006467584133148193,
0.006468607902526856,
0.006440959930419922,
0.006481919765472412,
0.0065484800338745115,
0.0064471039772033695,
0.006468607902526856,
0.0064778242111206055,
0.0064471039772033695,
0.006457344055175781,
0.006433792114257812,
0.006467584133148193,
0.006453248023986816,
0.00643891191482544,
0.0064542717933654785,
0.006461440086364746,
0.006434815883636475,
0.00643174409866333,
0.006429696083068847,
0.006451200008392334,
0.006461440086364746,
0.00643891191482544,
0.006463488101959228,
0.00643993616104126,
0.006457344055175781,
0.006472703933715821,
0.006446080207824707,
0.006468607902526856,
0.0064839677810668945,
0.006475776195526123,
0.006468607902526856
]
},
"throughput": {
"unit": "samples/s",
"value": 152.25248100351243
},
"energy": {
"unit": "kWh",
"cpu": 7.636046644607327e-08,
"ram": 4.175047546500377e-08,
"gpu": 1.7453418980645365e-07,
"total": 2.926451317175307e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3417107.9290846637
}
}
}
}