IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1ad5120 verified
raw
history blame
13.4 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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": "0",
"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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 796.360704,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.07729459381103515
],
"count": 1,
"total": 0.07729459381103515,
"mean": 0.07729459381103515,
"p50": 0.07729459381103515,
"p90": 0.07729459381103515,
"p95": 0.07729459381103515,
"p99": 0.07729459381103515,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1051.9552,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005723135948181152,
0.00577023983001709,
0.0055214080810546875,
0.005439487934112549,
0.005529600143432617,
0.00552345609664917,
0.0055582718849182125,
0.0055808000564575196,
0.00556441593170166,
0.005560319900512695,
0.005502975940704345,
0.00551423978805542,
0.005597184181213379,
0.006214655876159668,
0.005911551952362061,
0.005868544101715088,
0.005933055877685547,
0.005882880210876465,
0.005958655834197998,
0.005743616104125977,
0.005755904197692871,
0.005679103851318359,
0.005788671970367432,
0.005894144058227539,
0.005825535774230957,
0.005863423824310303,
0.005817440032958985,
0.005881855964660645,
0.005798912048339844,
0.0058429441452026365,
0.005825535774230957,
0.005931007862091065,
0.005937151908874512,
0.005934080123901367,
0.0058787841796875,
0.005903359889984131,
0.005863423824310303,
0.005825535774230957,
0.005765120029449463,
0.0057118721008300784,
0.0058787841796875,
0.005984255790710449,
0.005907455921173096,
0.005817344188690185,
0.005882880210876465,
0.005964799880981446,
0.006051839828491211,
0.00582144021987915,
0.005806079864501953,
0.005677055835723877,
0.0057794561386108395,
0.005781504154205322,
0.005750783920288086,
0.005864448070526123,
0.005908480167388916,
0.005829631805419922,
0.005727231979370117,
0.005804031848907471,
0.005789696216583252,
0.00592793607711792,
0.005754879951477051,
0.005907455921173096,
0.005724160194396972,
0.00572211217880249,
0.005807104110717773,
0.005790719985961914,
0.0059064321517944334,
0.005846015930175781,
0.005897215843200684,
0.005840896129608154,
0.005897215843200684,
0.005836800098419189,
0.005805056095123291,
0.005806079864501953,
0.005803008079528809,
0.005844992160797119,
0.0059688959121704105,
0.006043647766113281,
0.005835775852203369,
0.005915647983551026,
0.005735424041748047,
0.005734399795532226,
0.005657599925994873,
0.0055848960876464845,
0.00563097620010376,
0.005725183963775635,
0.005781504154205322,
0.0055552000999450684,
0.005502975940704345,
0.005451776027679443,
0.0055582718849182125,
0.005653503894805908,
0.0057118721008300784,
0.005755904197692871,
0.005735424041748047,
0.00571289587020874,
0.005843967914581299,
0.0057794561386108395,
0.005971968173980713,
0.005626880168914795,
0.005469183921813964,
0.005462016105651855,
0.0055101442337036136,
0.005493760108947754,
0.005442560195922852,
0.005459968090057373,
0.0055214080810546875,
0.005447679996490478,
0.005517312049865723,
0.005463039875030518,
0.005458943843841553,
0.0055316481590271,
0.005465087890625,
0.005478400230407715,
0.0055214080810546875,
0.005468160152435303,
0.005550079822540284,
0.005476352214813233,
0.00547430419921875,
0.005489664077758789,
0.005436416149139404,
0.005445663928985596,
0.005500927925109863,
0.005429247856140137,
0.005458943843841553,
0.0054609918594360355,
0.005478400230407715,
0.005468160152435303,
0.0054568958282470706,
0.005471231937408447,
0.00551526403427124,
0.0054568958282470706,
0.005473279953002929,
0.0054579200744628905,
0.005469183921813964,
0.005482495784759522,
0.005435391902923584,
0.005451776027679443,
0.005478400230407715,
0.005454847812652588,
0.005439487934112549,
0.005479423999786377,
0.005475327968597412,
0.005479423999786377,
0.005497856140136719,
0.00542310380935669,
0.005407743930816651,
0.005361663818359375,
0.005407743930816651,
0.005403647899627686,
0.00537395191192627,
0.005356544017791748,
0.00542310380935669,
0.005391359806060791,
0.005385216236114502,
0.0053944320678710935,
0.005429247856140137,
0.005465087890625,
0.005527552127838135,
0.0054609918594360355,
0.005532671928405761,
0.005945343971252442,
0.005659647941589355,
0.005581823825836182,
0.005657599925994873,
0.005694464206695556,
0.0055511040687561035,
0.005506048202514649,
0.00553984022140503,
0.005493760108947754,
0.0055203838348388675,
0.005476352214813233,
0.0054906878471374515,
0.0054988799095153805,
0.005454847812652588,
0.0054876160621643065,
0.005497856140136719
],
"count": 177,
"total": 1.0003969278335576,
"mean": 0.005651960044257385,
"p50": 0.005597184181213379,
"p90": 0.005907455921173096,
"p95": 0.005938790321350098,
"p99": 0.0060456138610839845,
"stdev": 0.0001906634536576389,
"stdev_": 3.3734041317464816
},
"throughput": {
"unit": "samples/s",
"value": 176.92977164904758
},
"energy": {
"unit": "kWh",
"cpu": 6.088318314458697e-08,
"ram": 3.3262751011383985e-08,
"gpu": 1.215741713333326e-07,
"total": 2.1572010548930352e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4635636.524151362
}
}
}
}