IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
50642ab verified
raw
history blame
10.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_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": "4f83ff1670dec8f273c8beb893e9243ca1209582",
"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": 1846.894592,
"max_global_vram": 815.849472,
"max_process_vram": 104372.224,
"max_reserved": 148.897792,
"max_allocated": 113.520128
},
"latency": {
"unit": "s",
"count": 139,
"total": 0.9985731372833251,
"mean": 0.007183979404916008,
"stdev": 0.00038827936150095146,
"p50": 0.007114865779876709,
"p90": 0.007665840148925782,
"p95": 0.00781462411880493,
"p99": 0.008690829544067387,
"values": [
0.007794064044952392,
0.007529425144195557,
0.007009904861450195,
0.00703358507156372,
0.007115025997161865,
0.007165265083312988,
0.007181745052337646,
0.0073521451950073246,
0.007135186195373535,
0.0070921449661254885,
0.007208624839782715,
0.00720286512374878,
0.0070615849494934085,
0.007016305923461914,
0.007020945072174072,
0.006991506099700928,
0.007330063819885254,
0.007011186122894287,
0.006984944820404053,
0.007147824764251709,
0.006963506221771241,
0.007155185222625733,
0.007219025135040283,
0.007055665016174316,
0.007127026081085205,
0.00699214506149292,
0.007176465034484864,
0.006963665962219238,
0.00697198486328125,
0.00701646614074707,
0.007091024875640869,
0.007015504837036133,
0.00707710599899292,
0.006969904899597168,
0.007221264839172363,
0.006987185955047608,
0.006966704845428467,
0.006941905975341797,
0.006968305110931396,
0.006965906143188477,
0.0069691061973571776,
0.006973265171051025,
0.007299345016479492,
0.009269580841064454,
0.00903070068359375,
0.008136302947998046,
0.0076649441719055175,
0.0076465439796447755,
0.00762638521194458,
0.007659023761749268,
0.007303345203399658,
0.007341905117034912,
0.0071283049583435055,
0.007304464817047119,
0.007360945224761963,
0.007117265224456787,
0.007302704811096191,
0.007569583892822265,
0.007449745178222656,
0.0080569429397583,
0.007714863777160645,
0.007543504238128662,
0.007164945125579834,
0.007146706104278564,
0.007069906234741211,
0.007147984981536865,
0.007411505222320557,
0.007957903861999512,
0.00809566307067871,
0.007996784210205079,
0.007765102863311768,
0.0073625450134277345,
0.007180305004119873,
0.007141105175018311,
0.0071446261405944825,
0.007114865779876709,
0.0070707049369812015,
0.007045585155487061,
0.00714878511428833,
0.007061106204986572,
0.0071631851196289065,
0.007043825149536133,
0.007176304817199707,
0.007292465209960937,
0.007118064880371094,
0.007058705806732178,
0.0071350250244140625,
0.007478544235229492,
0.00684126615524292,
0.0070358262062072754,
0.0070150260925292965,
0.006819186210632325,
0.0068423857688903805,
0.0068223848342895506,
0.006856945991516114,
0.0068111858367919925,
0.006817585945129394,
0.006811666011810303,
0.006828626155853271,
0.0068228659629821775,
0.006848306179046631,
0.00679438591003418,
0.007055825233459473,
0.006838066101074219,
0.006810865879058838,
0.006806546211242675,
0.006819506168365478,
0.006815825939178467,
0.006791825771331787,
0.006806705951690674,
0.006812305927276612,
0.006944465160369873,
0.007302225112915039,
0.007782544136047363,
0.007283185005187988,
0.007618703842163086,
0.007798704147338867,
0.007739823818206787,
0.007669424057006836,
0.007126544952392578,
0.007164144992828369,
0.0072390251159667966,
0.007330224990844726,
0.007221584796905518,
0.007180465221405029,
0.007257265090942383,
0.007011185169219971,
0.007056786060333252,
0.006821906089782715,
0.0068278260231018064,
0.006966866016387939,
0.006823666095733642,
0.006837425231933594,
0.006826705932617187,
0.006830865859985351,
0.006790386199951172,
0.0068052659034729,
0.006793585777282715,
0.0068059048652648925
]
},
"throughput": {
"unit": "samples/s",
"value": 139.1986173172627
},
"energy": null,
"efficiency": null
}
}
}