IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
03e4241 verified
raw
history blame
11 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "google-bert/bert-base-uncased",
"processor": "google-bert/bert-base-uncased",
"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": 1035.792384,
"max_global_vram": 68702.69952,
"max_process_vram": 47138.828288,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.4030068359375,
"mean": 8.4030068359375,
"stdev": 0.0,
"p50": 8.4030068359375,
"p90": 8.4030068359375,
"p95": 8.4030068359375,
"p99": 8.4030068359375,
"values": [
8.4030068359375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1165.180928,
"max_global_vram": 68702.69952,
"max_process_vram": 259046.354944,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 122,
"total": 1.0056261944770808,
"mean": 0.008242837659648207,
"stdev": 0.005497957038332248,
"p50": 0.007729262113571167,
"p90": 0.007894796943664552,
"p95": 0.008208524131774902,
"p99": 0.011829973011016823,
"values": [
0.008971657752990723,
0.007608461856842041,
0.007683180809020996,
0.007788140773773194,
0.007735500812530518,
0.007728462219238281,
0.0075505409240722654,
0.007744620800018311,
0.008072940826416016,
0.007778221130371093,
0.007790060997009277,
0.007816461086273194,
0.007765581130981445,
0.00788926076889038,
0.007733581066131592,
0.007690701007843017,
0.007832301139831544,
0.0077750210762023925,
0.0077823810577392575,
0.007699341773986817,
0.007694060802459717,
0.007470541954040527,
0.007531180858612061,
0.007675181865692138,
0.007730700969696045,
0.007622701168060303,
0.007662062168121338,
0.007762701034545899,
0.007670860767364502,
0.007932301044464112,
0.007892780780792237,
0.007969261169433594,
0.007769741058349609,
0.007779661178588867,
0.007668461799621582,
0.007559980869293213,
0.007633741855621338,
0.007828781127929688,
0.007892621040344239,
0.007767021179199219,
0.007724942207336426,
0.007629580974578857,
0.007800940990447998,
0.007595181941986084,
0.007664141178131104,
0.0077254209518432615,
0.012420289993286133,
0.00859981918334961,
0.008716458320617676,
0.007865100860595704,
0.00774110221862793,
0.007630062103271484,
0.007588460922241211,
0.007544462203979492,
0.007509101867675781,
0.007655500888824463,
0.007542702198028564,
0.007587340831756592,
0.007834540843963624,
0.007761260986328125,
0.007744462013244629,
0.007720301151275635,
0.007713901042938232,
0.007770380973815918,
0.0077583808898925785,
0.007748301029205322,
0.0077822208404541016,
0.007834540843963624,
0.007856300830841064,
0.007895020961761475,
0.007809260845184326,
0.007756940841674805,
0.00788318109512329,
0.007843821048736573,
0.007822220802307128,
0.007779981136322021,
0.007769101142883301,
0.007781260967254638,
0.00777790117263794,
0.009609256744384766,
0.008215660095214844,
0.008024140357971192,
0.007922221183776855,
0.007835980892181396,
0.007772941112518311,
0.007817581176757812,
0.007817101001739503,
0.007773740768432617,
0.007822861194610595,
0.007367341995239258,
0.007239181995391846,
0.0071463828086853025,
0.007190221786499023,
0.007249582767486573,
0.007027822971343994,
0.007298542022705078,
0.007448942184448242,
0.007440301895141601,
0.007347981929779052,
0.06843343353271485,
0.007203982830047607,
0.007143023014068603,
0.007218381881713867,
0.007629900932312012,
0.007684782028198243,
0.007654541015625,
0.007626862049102783,
0.007080301761627197,
0.007071183204650879,
0.0071340627670288086,
0.007147982120513916,
0.007472782135009765,
0.007645740985870362,
0.007672781944274902,
0.00767358112335205,
0.007654541015625,
0.007627342224121094,
0.007695180892944336,
0.0076183810234069825,
0.007637260913848877,
0.007667661190032959,
0.007730062007904053
]
},
"throughput": {
"unit": "samples/s",
"value": 121.31744446398312
},
"energy": null,
"efficiency": null
}
}
}