IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
45716de
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_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": "error", | |
"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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1384.52992, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.78271337890625, | |
"mean": 7.78271337890625, | |
"stdev": 0.0, | |
"p50": 7.78271337890625, | |
"p90": 7.78271337890625, | |
"p95": 7.78271337890625, | |
"p99": 7.78271337890625, | |
"values": [ | |
7.78271337890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1483.915264, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.0035131211280817, | |
"mean": 0.007117114334241717, | |
"stdev": 0.006132152632993241, | |
"p50": 0.006404458045959472, | |
"p90": 0.007125734806060791, | |
"p95": 0.0072428550720214846, | |
"p99": 0.009323231697082511, | |
"values": [ | |
0.007172134876251221, | |
0.007125734806060791, | |
0.0069122958183288575, | |
0.006785096168518067, | |
0.006878376007080078, | |
0.0069551758766174315, | |
0.006874855995178223, | |
0.006847815990447998, | |
0.006824615955352783, | |
0.007013256072998047, | |
0.006778215885162354, | |
0.07949923706054687, | |
0.008470849990844726, | |
0.0066479768753051754, | |
0.006525577068328858, | |
0.006475817203521728, | |
0.006490696907043457, | |
0.009891486167907715, | |
0.006515817165374756, | |
0.006385256767272949, | |
0.006373578071594238, | |
0.00634893798828125, | |
0.006369417190551758, | |
0.006359498023986817, | |
0.00636909818649292, | |
0.0063556571006774904, | |
0.006355978012084961, | |
0.006361577987670898, | |
0.006334057807922363, | |
0.006352457046508789, | |
0.006358057975769043, | |
0.00638989782333374, | |
0.006404458045959472, | |
0.0063890981674194335, | |
0.006497897148132324, | |
0.00663133716583252, | |
0.00701933479309082, | |
0.007145414829254151, | |
0.0067956562042236325, | |
0.006753096103668213, | |
0.006720296859741211, | |
0.006755335807800293, | |
0.006757575988769532, | |
0.006700616836547851, | |
0.006603336811065673, | |
0.006715176105499268, | |
0.007065094947814941, | |
0.007182535171508789, | |
0.0072428550720214846, | |
0.007232294082641601, | |
0.0071254148483276365, | |
0.006965415954589844, | |
0.006965095043182373, | |
0.0064225378036499026, | |
0.006394217014312744, | |
0.006417418003082275, | |
0.0064057369232177735, | |
0.0063994979858398434, | |
0.006427657127380371, | |
0.0064318180084228516, | |
0.0063934168815612796, | |
0.006397898197174072, | |
0.006410216808319092, | |
0.006439658164978027, | |
0.006398696899414063, | |
0.006401097774505616, | |
0.006398696899414063, | |
0.006386857986450195, | |
0.0063871779441833495, | |
0.0063630170822143554, | |
0.00638765811920166, | |
0.006369738101959228, | |
0.00639389705657959, | |
0.006441418170928955, | |
0.006377257823944092, | |
0.0064319782257080075, | |
0.006457417011260986, | |
0.006408777236938477, | |
0.006415177822113037, | |
0.006447816848754883, | |
0.006436937808990478, | |
0.006392937183380127, | |
0.006400137901306152, | |
0.006474377155303955, | |
0.006397098064422607, | |
0.006359177112579346, | |
0.006371657848358154, | |
0.006383657932281494, | |
0.0063634967803955075, | |
0.006384297847747803, | |
0.006361416816711426, | |
0.006391337871551514, | |
0.006360618114471436, | |
0.006414697170257568, | |
0.006397418022155762, | |
0.006348618030548096, | |
0.0063940582275390625, | |
0.006380777835845947, | |
0.006365256786346436, | |
0.006403337955474853, | |
0.006373417854309082, | |
0.006371498107910156, | |
0.006387978076934814, | |
0.006360297203063965, | |
0.006398057937622071, | |
0.0063945379257202145, | |
0.006387817859649658, | |
0.00638381814956665, | |
0.0063678169250488284, | |
0.006362537860870362, | |
0.006390058040618897, | |
0.0064002971649169925, | |
0.006380938053131104, | |
0.00641789722442627, | |
0.006353898048400879, | |
0.006396777153015136, | |
0.006393097877502442, | |
0.00637293815612793, | |
0.006387496948242187, | |
0.0063817381858825685, | |
0.006383817195892334, | |
0.006395018100738526, | |
0.00642877721786499, | |
0.006404458045959472, | |
0.006379178047180176, | |
0.006414697170257568, | |
0.006395658016204834, | |
0.006390697002410889, | |
0.006409098148345947, | |
0.0064241371154785155, | |
0.007062534809112549, | |
0.007221415042877198, | |
0.007304934024810791, | |
0.007300135135650635, | |
0.006798215866088867, | |
0.007233254909515381, | |
0.007255174160003662, | |
0.007260294914245605, | |
0.0070631752014160155, | |
0.00674669599533081, | |
0.006724936008453369 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.50638405355105 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |