IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a64c1e6
verified
{ | |
"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": "6", | |
"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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"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.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1094.230016, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 3864.887296, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.06795196533203125 | |
], | |
"count": 1, | |
"total": 0.06795196533203125, | |
"mean": 0.06795196533203125, | |
"p50": 0.06795196533203125, | |
"p90": 0.06795196533203125, | |
"p95": 0.06795196533203125, | |
"p99": 0.06795196533203125, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1224.11008, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 256403.509248, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006871852874755859, | |
0.006998093128204346, | |
0.007205293178558349, | |
0.00678353214263916, | |
0.006752811908721924, | |
0.006772812843322754, | |
0.0067348918914794925, | |
0.006765131950378418, | |
0.006750251770019531, | |
0.0067665729522705075, | |
0.006780652046203614, | |
0.006792652130126953, | |
0.006811693191528321, | |
0.006843212127685547, | |
0.0068252930641174315, | |
0.006775691986083985, | |
0.00678305196762085, | |
0.0068270530700683596, | |
0.0068120121955871586, | |
0.006769291877746582, | |
0.00697169303894043, | |
0.006873612880706787, | |
0.006821931838989258, | |
0.007180812835693359, | |
0.00709121322631836, | |
0.007100812911987305, | |
0.007189292907714844, | |
0.007326413154602051, | |
0.007214252948760986, | |
0.007158253192901611, | |
0.007084012985229492, | |
0.007193132877349854, | |
0.007258413791656494, | |
0.007240653038024902, | |
0.007175373077392578, | |
0.007114253044128418, | |
0.00719985294342041, | |
0.00725441312789917, | |
0.0072540931701660155, | |
0.00714145278930664, | |
0.007143853187561035, | |
0.006916812896728516, | |
0.006837771892547607, | |
0.006865932941436768, | |
0.006835532188415527, | |
0.0068300929069519045, | |
0.006848812103271484, | |
0.006821132183074951, | |
0.006958733081817627, | |
0.006904333114624023, | |
0.006832652091979981, | |
0.006852012157440185, | |
0.006844973087310791, | |
0.006840491771697998, | |
0.006875533103942871, | |
0.00683985185623169, | |
0.0068441729545593265, | |
0.0068278517723083494, | |
0.006831212997436524, | |
0.006866251945495606, | |
0.0068436918258666995, | |
0.007144493103027344, | |
0.006882412910461426, | |
0.006812491893768311, | |
0.006813292980194092, | |
0.006823852062225342, | |
0.006866093158721924, | |
0.006826251983642578, | |
0.006856812000274658, | |
0.006837772846221924, | |
0.006853452205657959, | |
0.0068411331176757816, | |
0.006869132041931152, | |
0.006847373008728027, | |
0.00766257381439209, | |
0.007694094181060791, | |
0.007664013862609864, | |
0.007575212955474853, | |
0.007117932796478272, | |
0.0070937728881835934, | |
0.007203533172607422, | |
0.0073326539993286135, | |
0.00767729377746582, | |
0.007646253108978271, | |
0.007726574897766113, | |
0.00751809310913086, | |
0.00763793420791626, | |
0.013028023719787597, | |
0.007556333065032959, | |
0.007660654067993164, | |
0.007348653793334961, | |
0.007152012825012207, | |
0.007260172843933105, | |
0.007512973785400391, | |
0.00769313383102417, | |
0.007427372932434082, | |
0.007464014053344727, | |
0.007082092761993408, | |
0.00712401294708252, | |
0.007184813022613526, | |
0.007153613090515137, | |
0.006994893074035644, | |
0.007073451995849609, | |
0.007188652992248535, | |
0.007026093006134033, | |
0.006800652980804444, | |
0.0067672119140625, | |
0.006825932025909424, | |
0.006769933223724365, | |
0.0067814521789550785, | |
0.0067868919372558595, | |
0.006807693004608154, | |
0.0067942519187927245, | |
0.006784972190856934, | |
0.0068398528099060055, | |
0.0067942519187927245, | |
0.006780972003936767, | |
0.006792973041534424, | |
0.006733612060546875, | |
0.006776172161102295, | |
0.0067659330368041995, | |
0.006788492202758789, | |
0.006752332210540771, | |
0.006795053005218506, | |
0.00680705213546753, | |
0.006775531768798828, | |
0.006800013065338135, | |
0.006824652194976807, | |
0.006757932186126709, | |
0.006760013103485107, | |
0.0067672119140625, | |
0.0068315320014953615, | |
0.00682321310043335, | |
0.006840011119842529, | |
0.006839053153991699, | |
0.006825292110443115, | |
0.006793292045593262, | |
0.006763052940368652, | |
0.006840491771697998, | |
0.006812492847442627, | |
0.006797292232513428, | |
0.006840171813964843, | |
0.006821452140808105 | |
], | |
"count": 143, | |
"total": 1.0055413475036623, | |
"mean": 0.007031757674850785, | |
"p50": 0.0068436918258666995, | |
"p90": 0.007456685829162597, | |
"p95": 0.007659213972091675, | |
"p99": 0.007712932996749878, | |
"stdev": 0.0005691237234245872, | |
"stdev_": 8.093619685730483 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.2119541429192 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |