IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
4bd85c9 verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"model": "google/vit-base-patch16-224",
"processor": "google/vit-base-patch16-224",
"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": true,
"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.2.1",
"optimum_benchmark_commit": "074fc31a7e13e70facbebbf8b363a0c312f75f69",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1061.830656,
"max_global_vram": 777.719808,
"max_process_vram": 145149.882368,
"max_reserved": 406.847488,
"max_allocated": 355.30752
},
"latency": {
"unit": "s",
"count": 153,
"total": 0.998835563659668,
"mean": 0.006528337017383451,
"stdev": 0.00017834181301979856,
"p50": 0.006466052055358887,
"p90": 0.006743841934204102,
"p95": 0.006813346099853516,
"p99": 0.007291084213256836,
"values": [
0.007291007995605469,
0.006527650833129883,
0.006499330997467041,
0.006486051082611084,
0.006472291946411132,
0.006493091106414795,
0.006463972091674805,
0.006496451854705811,
0.0064545321464538575,
0.006544929981231689,
0.006456451892852783,
0.006681890964508057,
0.006445731163024902,
0.006454531192779541,
0.006479650974273682,
0.006514851093292236,
0.006489251136779785,
0.00645357084274292,
0.006467811107635498,
0.006463971138000488,
0.006465250968933105,
0.006442211151123047,
0.006433891773223877,
0.006527650833129883,
0.006475331783294677,
0.006490211963653564,
0.006484930992126465,
0.006451332092285157,
0.006482371807098389,
0.006473731994628906,
0.006492131233215332,
0.006500930786132813,
0.0064857320785522464,
0.0064833321571350095,
0.006470211982727051,
0.0065046119689941406,
0.006504930973052978,
0.006514211177825927,
0.0065223708152771,
0.0065610909461975096,
0.006490371227264404,
0.006535010814666748,
0.0065514898300170895,
0.006549251079559326,
0.00649613094329834,
0.00654685115814209,
0.006640769958496094,
0.006644130229949951,
0.0067478098869323735,
0.006453731060028076,
0.006449252128601074,
0.006449731826782226,
0.006447171211242676,
0.006434370994567871,
0.006456450939178467,
0.006443330764770508,
0.006452931880950928,
0.006427651882171631,
0.0064516510963439945,
0.006458210945129395,
0.006436291217803955,
0.006465250968933105,
0.006461571216583252,
0.006443012237548828,
0.006435811996459961,
0.00649661111831665,
0.006449410915374756,
0.006446051120758057,
0.006431331157684326,
0.006462051868438721,
0.006471811771392822,
0.006466052055358887,
0.0064794921875,
0.006436291217803955,
0.006473411083221436,
0.0064878110885620115,
0.006449891090393066,
0.006463810920715332,
0.006443810939788818,
0.0064663710594177245,
0.006491011142730713,
0.006423811912536621,
0.0064663710594177245,
0.006447970867156982,
0.006512771129608155,
0.006486530780792236,
0.006481571197509766,
0.006462370872497559,
0.006451011180877686,
0.006444130897521973,
0.006455650806427002,
0.006750850200653076,
0.006821410179138183,
0.006805249214172363,
0.00680797004699707,
0.00729116678237915,
0.007243008136749268,
0.00725452709197998,
0.007176767826080322,
0.006762050151824951,
0.00668189001083374,
0.006772930145263672,
0.006797249794006348,
0.006727970123291015,
0.006705090999603271,
0.006843969821929931,
0.0074286069869995116,
0.0064382109642028805,
0.006436131000518799,
0.006433570861816406,
0.006435492038726807,
0.006444450855255127,
0.0064590110778808595,
0.006422690868377686,
0.006446210861206054,
0.006466052055358887,
0.006443012237548828,
0.006445890903472901,
0.006436450958251953,
0.0064516510963439945,
0.006456931114196777,
0.006439332008361816,
0.00644029188156128,
0.0064254112243652345,
0.006463490962982178,
0.006433411121368408,
0.0064220519065856935,
0.006456291198730469,
0.00646829080581665,
0.006432450771331787,
0.006472610950469971,
0.006438850879669189,
0.006444931983947754,
0.006456771850585938,
0.006436612129211426,
0.006466851234436035,
0.006463010787963867,
0.00645085096359253,
0.006460131168365479,
0.006439012050628662,
0.006472452163696289,
0.006450692176818848,
0.006488131046295166,
0.006467010974884033,
0.006446051120758057,
0.006455650806427002,
0.006431971073150635,
0.006765409946441651,
0.006462370872497559,
0.006479169845581055,
0.006464611053466797,
0.0065374112129211424,
0.006498371124267578
]
},
"throughput": {
"unit": "samples/s",
"value": 153.1783664564546
},
"energy": null,
"efficiency": null
}
}
}