IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
df3d5d3 verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"model_type": "vit",
"model": "google/vit-base-patch16-224",
"processor": "google/vit-base-patch16-224",
"device": "cuda",
"device_ids": "5",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_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,
"memory": true,
"latency": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1073.717248,
"max_global_vram": 68702.69952,
"max_process_vram": 47386.927104,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.1090478515625,
"mean": 8.1090478515625,
"stdev": 0.0,
"p50": 8.1090478515625,
"p90": 8.1090478515625,
"p95": 8.1090478515625,
"p99": 8.1090478515625,
"values": [
8.1090478515625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1244.377088,
"max_global_vram": 68702.69952,
"max_process_vram": 183632.289792,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 161,
"total": 0.9952571744918824,
"mean": 0.006181721580694921,
"stdev": 0.0025921725942357906,
"p50": 0.006012786865234375,
"p90": 0.0066663861274719235,
"p95": 0.006702866077423096,
"p99": 0.006922864532470704,
"values": [
0.006534706115722657,
0.006353907108306885,
0.006569746017456054,
0.006458385944366455,
0.006464785099029541,
0.006383985996246338,
0.006365585803985596,
0.006338066101074219,
0.006531506061553955,
0.006298387050628662,
0.006245747089385987,
0.006230706214904785,
0.0061819062232971195,
0.006149587154388428,
0.006109585762023926,
0.006132146835327148,
0.006082706928253174,
0.006018227100372315,
0.005957107067108155,
0.006012786865234375,
0.005954707145690918,
0.037864234924316405,
0.004000791072845459,
0.003997750997543335,
0.003988950967788696,
0.003989432096481323,
0.004005111217498779,
0.003993751049041748,
0.003991350889205932,
0.003988471031188965,
0.003995671987533569,
0.0039985508918762205,
0.0039955110549926755,
0.003991671085357666,
0.00399039101600647,
0.004001272201538086,
0.006950223922729492,
0.0064132661819458,
0.0061022272109985355,
0.00604030704498291,
0.006130226135253906,
0.006113747119903565,
0.0060766258239746095,
0.00609486722946167,
0.006051025867462158,
0.0060580668449401855,
0.006350066184997559,
0.0061427059173583985,
0.0061223869323730465,
0.0062588658332824705,
0.006274065971374512,
0.00666302490234375,
0.006786544799804687,
0.006746705055236816,
0.006592306137084961,
0.006207186222076416,
0.006207186222076416,
0.0061804671287536625,
0.006120145797729492,
0.006087027072906494,
0.006111825942993164,
0.006211026191711426,
0.00622702693939209,
0.0061425461769104,
0.006398225784301758,
0.006144946098327637,
0.0062073469161987305,
0.006155506134033203,
0.006105587005615234,
0.0061383872032165524,
0.006136946201324463,
0.006240787029266358,
0.00596062707901001,
0.005966227054595947,
0.005986386775970459,
0.006127665996551514,
0.006273746013641357,
0.00601790714263916,
0.0059982271194458005,
0.00600542688369751,
0.006009746074676514,
0.005975827217102051,
0.005982067108154297,
0.005980307102203369,
0.005984146118164063,
0.005989266872406006,
0.005947826862335205,
0.0059835071563720706,
0.005965907096862793,
0.005937907218933105,
0.0059364671707153325,
0.005940627098083496,
0.005969586849212646,
0.005986707210540771,
0.006000626087188721,
0.00597374677658081,
0.005965267181396484,
0.005976147174835205,
0.005953746795654297,
0.00599342679977417,
0.005952786922454834,
0.005938386917114258,
0.005954866886138916,
0.005932466983795166,
0.005945746898651123,
0.005976946830749512,
0.005937747001647949,
0.005938706874847412,
0.005946866989135742,
0.005942067146301269,
0.005946547031402588,
0.005937427043914795,
0.005926066875457763,
0.005944626808166504,
0.005917107105255127,
0.005936787128448486,
0.005939187049865723,
0.005980146884918213,
0.0059835071563720706,
0.005995186805725097,
0.0059315071105957035,
0.005954545974731445,
0.00596494722366333,
0.005913587093353272,
0.005978547096252442,
0.0059748668670654296,
0.005937586784362793,
0.00595758581161499,
0.005913587093353272,
0.00589950704574585,
0.005927506923675537,
0.006019506931304932,
0.005907026767730713,
0.005927347183227539,
0.005926547050476075,
0.00595406723022461,
0.005925587177276611,
0.005920947074890137,
0.0059297471046447755,
0.0059419069290161134,
0.006741264820098877,
0.006679824829101563,
0.006719184875488281,
0.006904624938964844,
0.006695505142211914,
0.006727825164794922,
0.006702866077423096,
0.006555026054382324,
0.006252625942230225,
0.006405106067657471,
0.006692625045776367,
0.0067007851600646975,
0.0066663861274719235,
0.006692625045776367,
0.006651824951171875,
0.006670384883880615,
0.006647185802459717,
0.006651985168457031,
0.006628145217895507,
0.006701904773712158,
0.006444145202636719
]
},
"throughput": {
"unit": "samples/s",
"value": 161.76723376266722
},
"energy": null,
"efficiency": null
}
}
}