IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6e607a1 verified
raw
history blame
11.5 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",
"model": "timm/resnet50.a1_in1k",
"library": "timm",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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",
"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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1820.004352,
"max_global_vram": 520.388608,
"max_process_vram": 112716.972032,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 164,
"total": 0.9969024977684027,
"mean": 0.0060786737668805,
"stdev": 0.00039590186728585586,
"p50": 0.006015647411346435,
"p90": 0.006424973011016846,
"p95": 0.00644102087020874,
"p99": 0.006626485757827759,
"values": [
0.006568445205688477,
0.006594044208526611,
0.005814689159393311,
0.006031807899475098,
0.006034048080444336,
0.006076286792755127,
0.005893249034881592,
0.005914208889007569,
0.005831648826599121,
0.0061846070289611815,
0.00584988784790039,
0.005829409122467041,
0.005743168830871582,
0.005744129180908203,
0.006185085773468018,
0.006108448028564453,
0.00594268798828125,
0.0058458890914917,
0.005691809177398682,
0.006096286773681641,
0.006681724071502686,
0.00916395092010498,
0.0059361281394958495,
0.005687169075012207,
0.006014688014984131,
0.006217885971069336,
0.005892929077148438,
0.00638908576965332,
0.006401246070861817,
0.006418045997619629,
0.006399485111236572,
0.0064068460464477535,
0.006369884967803955,
0.006380765914916992,
0.0063615660667419435,
0.0064015650749206544,
0.006394365787506104,
0.006434845924377442,
0.006406044960021973,
0.0063810858726501465,
0.006372926235198975,
0.006412765026092529,
0.006402366161346436,
0.006414205074310303,
0.006441404819488525,
0.0064257259368896485,
0.006458684921264648,
0.0064113249778747555,
0.006436126232147217,
0.0064330859184265135,
0.006438845157623291,
0.006448764801025391,
0.006449245929718018,
0.00646220588684082,
0.006417244911193848,
0.005881247997283935,
0.005678209781646728,
0.00593068790435791,
0.005987166881561279,
0.005910529136657715,
0.006249406814575195,
0.005910528182983398,
0.005862368106842041,
0.005976128101348877,
0.005837569236755371,
0.005833728790283203,
0.005846848964691162,
0.00568301010131836,
0.005960608005523681,
0.0061418871879577635,
0.005853728771209717,
0.00582188892364502,
0.005864768981933594,
0.005811489105224609,
0.006033567905426025,
0.005902847766876221,
0.006047008037567139,
0.005665410041809082,
0.0056506900787353515,
0.005663809776306153,
0.005662209987640381,
0.005866848945617676,
0.0056967692375183105,
0.00566172981262207,
0.005645249843597412,
0.005624770164489746,
0.005635808944702148,
0.005648129940032959,
0.005635650157928467,
0.005923008918762207,
0.00598908805847168,
0.00594812822341919,
0.005965248107910156,
0.005634530067443848,
0.0056550102233886715,
0.005642049789428711,
0.005779328823089599,
0.005638689994812012,
0.005639490127563477,
0.005645249843597412,
0.005638209819793702,
0.0057945289611816405,
0.005642529964447022,
0.005647649765014648,
0.005612450122833252,
0.005738368988037109,
0.00601708698272705,
0.0058844490051269535,
0.005623010158538819,
0.005629570007324219,
0.005631809234619141,
0.005634530067443848,
0.005847328186035157,
0.00560653018951416,
0.005660449981689453,
0.005890207767486572,
0.00564604902267456,
0.006124607086181641,
0.005638050079345703,
0.006060926914215088,
0.005807488918304443,
0.00562893009185791,
0.005921089172363282,
0.005770208835601806,
0.0059695677757263185,
0.005657730102539063,
0.006246046066284179,
0.006379325866699218,
0.006422204971313477,
0.006373566150665283,
0.006400125980377197,
0.006405566215515137,
0.006428286075592041,
0.006423964977264405,
0.006387325763702392,
0.0064254050254821775,
0.00642076587677002,
0.006363165855407715,
0.00639068603515625,
0.0063538851737976075,
0.00638908576965332,
0.006383326053619385,
0.006374685764312744,
0.006406045913696289,
0.006375805854797363,
0.00641260576248169,
0.006400286197662353,
0.0063548460006713865,
0.006388444900512696,
0.00638636589050293,
0.006409725189208984,
0.006413405895233155,
0.006378684997558594,
0.006396605968475342,
0.006386845111846924,
0.006408926010131836,
0.0064271650314331056,
0.006385886192321778,
0.0064183659553527835,
0.0058226890563964845,
0.005879007816314698,
0.00601660680770874,
0.006183166980743408,
0.005674049854278564
]
},
"throughput": {
"unit": "samples/s",
"value": 164.509568756342
},
"energy": null,
"efficiency": null
}
}
}