IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
733eb30 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",
"library": "timm",
"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",
"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.1",
"optimum_benchmark_commit": "56d026bf244c6516d8cb780280ce7cc6505f270e",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1829.892096,
"max_global_vram": 1521.655808,
"max_process_vram": 99717.320704,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 165,
"total": 0.9970742974281313,
"mean": 0.006042874529867462,
"stdev": 0.0003542594052673231,
"p50": 0.00602992582321167,
"p90": 0.006372326374053955,
"p95": 0.006486343193054199,
"p99": 0.006724671897888181,
"values": [
0.006258086204528808,
0.00614320707321167,
0.006658085823059082,
0.006521286010742188,
0.006488807201385498,
0.006526727199554444,
0.006515046119689941,
0.006233767032623291,
0.005796966075897217,
0.005898565769195557,
0.0059350461959838865,
0.005951365947723389,
0.005811046123504639,
0.005782566070556641,
0.0057648057937622075,
0.005871846199035645,
0.005958566188812256,
0.006161126136779785,
0.005722085952758789,
0.005756646156311035,
0.005731046199798584,
0.005734725952148438,
0.005736966133117676,
0.005732964992523193,
0.005754244804382324,
0.00575968599319458,
0.006035046100616455,
0.00595072603225708,
0.005943205833435059,
0.005775365829467773,
0.005969126224517823,
0.006070886135101318,
0.009302889823913574,
0.0068430471420288085,
0.0064964861869812015,
0.006533287048339844,
0.006475206851959229,
0.0064371261596679686,
0.005900966167449951,
0.006106246948242187,
0.006173766136169433,
0.00602992582321167,
0.006458086967468262,
0.006238726139068604,
0.006208006858825684,
0.006256005764007568,
0.0061361660957336426,
0.00605040693283081,
0.006112805843353272,
0.006030086040496826,
0.006193766117095947,
0.005824326038360595,
0.006162726879119873,
0.006147525787353516,
0.006182886123657226,
0.006301927089691162,
0.006447845935821533,
0.006450086116790771,
0.006451686859130859,
0.006232485771179199,
0.00636320686340332,
0.005974085807800293,
0.006186086177825928,
0.006116005897521972,
0.0059884867668151855,
0.0061936058998107914,
0.005980966091156006,
0.0057532858848571775,
0.005712965965270996,
0.005704326152801514,
0.005732485771179199,
0.005698245048522949,
0.005773284912109375,
0.00575152587890625,
0.0057721657752990724,
0.005772806167602539,
0.005741285800933838,
0.005734405994415283,
0.005759046077728271,
0.005781126022338867,
0.005767045974731445,
0.00578208589553833,
0.005778086185455322,
0.005777445793151856,
0.0057668848037719725,
0.005773765087127685,
0.005766565799713135,
0.005757765769958496,
0.005762246131896973,
0.005763686180114746,
0.005729445934295654,
0.005765446186065674,
0.005725766181945801,
0.00571824598312378,
0.0057740859985351565,
0.00572000503540039,
0.005742725849151612,
0.005752806186676025,
0.005765126228332519,
0.0058163261413574216,
0.005866086006164551,
0.0059948859214782714,
0.005766086101531983,
0.0057851262092590335,
0.005866725921630859,
0.00575584602355957,
0.005751845836639405,
0.005737765789031983,
0.0057998461723327635,
0.005886085987091064,
0.005731525897979736,
0.006128486156463623,
0.006118405818939209,
0.00622400712966919,
0.006136645793914795,
0.00608448600769043,
0.006081286907196045,
0.0061392059326171875,
0.006194886207580567,
0.006260487079620361,
0.006231845855712891,
0.00623056697845459,
0.006079686164855957,
0.006180965900421142,
0.0060315260887146,
0.0061420869827270505,
0.006089285850524902,
0.006256966114044189,
0.006140487194061279,
0.006149126052856445,
0.006137125968933106,
0.005988006114959717,
0.0061867270469665525,
0.005998725891113281,
0.006268166065216065,
0.006195207118988037,
0.006135846138000488,
0.006039686203002929,
0.006131687164306641,
0.006108006000518799,
0.006043045997619629,
0.006097926139831543,
0.006231687068939209,
0.0063784060478210445,
0.006476487159729004,
0.00621056604385376,
0.006096645832061768,
0.005957925796508789,
0.00598896598815918,
0.005967845916748047,
0.006284485816955567,
0.0059379258155822755,
0.005768805980682373,
0.005751046180725097,
0.005775206089019776,
0.00574880599975586,
0.006220006942749023,
0.006301126003265381,
0.006156645774841309,
0.006315526962280274,
0.006182886123657226,
0.005924325942993164,
0.006253126144409179,
0.0060108861923217774,
0.006133446216583252
]
},
"throughput": {
"unit": "samples/s",
"value": 165.48415742498182
},
"energy": null,
"efficiency": null
}
}
}