IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0a2e302 verified
raw
history blame
10.3 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": {},
"hub_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,
"latency": true,
"memory": true,
"energy": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "674d8c572ada4aac26b730928ac88a3effc914de",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1831.477248,
"max_global_vram": 541.47072,
"max_process_vram": 97875.21024,
"max_reserved": 148.897792,
"max_allocated": 113.520128
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.0001774311065676,
"mean": 0.007577101750807327,
"stdev": 0.0003199474490334232,
"p50": 0.007449587821960449,
"p90": 0.008034083414077759,
"p95": 0.00838264217376709,
"p99": 0.008618930206298827,
"values": [
0.008358225822448731,
0.008318707466125489,
0.008386865615844726,
0.008367667198181153,
0.008406065940856933,
0.00848686695098877,
0.008634225845336914,
0.008626866340637206,
0.008601265907287598,
0.008575345993041992,
0.007790067195892334,
0.007704788208007812,
0.007680627822875976,
0.007680306911468506,
0.007634387969970703,
0.007685906887054443,
0.0076700677871704105,
0.0076084680557250975,
0.007587987899780274,
0.007584787845611572,
0.00755646800994873,
0.007507028102874756,
0.007500467777252197,
0.007449108123779297,
0.007444948196411133,
0.007417267799377442,
0.007448627948760987,
0.007430228233337402,
0.007448147773742675,
0.007500467777252197,
0.007503827095031738,
0.007370388984680175,
0.007343828201293945,
0.0073967881202697755,
0.007417747974395752,
0.007429428100585937,
0.007460787773132325,
0.007449587821960449,
0.007468468189239502,
0.007421587944030762,
0.007355828762054443,
0.007426228046417236,
0.007423987865447998,
0.007630386829376221,
0.007495028018951416,
0.007428788185119629,
0.007464628219604492,
0.00741182804107666,
0.007444948196411133,
0.007419507980346679,
0.007420948028564453,
0.0074305481910705564,
0.007478548049926758,
0.007455187797546387,
0.0074396681785583495,
0.007474388122558594,
0.007440628051757813,
0.007441108226776123,
0.007458067893981933,
0.00746638822555542,
0.007459668159484864,
0.0074566278457641605,
0.007447827816009522,
0.00747294807434082,
0.007329748153686523,
0.007504628181457519,
0.007358707904815674,
0.007463667869567871,
0.007443188190460205,
0.007450228214263916,
0.007449587821960449,
0.007439507961273194,
0.007446547985076904,
0.007522068023681641,
0.007434709072113037,
0.0074046292304992675,
0.007336948871612549,
0.0072641482353210446,
0.007481267929077148,
0.00731358814239502,
0.0074639878273010255,
0.0073092679977416995,
0.0074756679534912105,
0.0073142280578613285,
0.007452628135681152,
0.007381587982177734,
0.007410068035125733,
0.007475347995758057,
0.007405908107757569,
0.007421907901763916,
0.007434708118438721,
0.007359508991241455,
0.007311348915100098,
0.0073118281364440915,
0.007498867988586426,
0.007406707763671875,
0.007443828105926514,
0.0073948678970336915,
0.007448788166046143,
0.0074260678291320804,
0.007863827228546142,
0.007607188224792481,
0.0074193477630615234,
0.007435028076171875,
0.0073075079917907714,
0.007443347930908203,
0.007474227905273438,
0.00740094804763794,
0.007387187957763672,
0.0072756681442260746,
0.007401107788085937,
0.007320308208465577,
0.007484787940979004,
0.007421587944030762,
0.008379186630249023,
0.008305106163024902,
0.008330387115478516,
0.00804622745513916,
0.007924787044525147,
0.007923186779022217,
0.007856947898864746,
0.007812467098236084,
0.007888786792755127,
0.007712946891784668,
0.007645267963409424,
0.007565907955169678,
0.0077265481948852535,
0.007384148120880127,
0.007302227973937988,
0.007303507804870606,
0.00743150806427002,
0.00740750789642334
]
},
"throughput": {
"unit": "samples/s",
"value": 131.97658324879322
},
"energy": null,
"efficiency": null
}
}
}