
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ac6a7cf
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 873.340928, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.261056 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 185, | |
"total": 1.0003743677139278, | |
"mean": 0.0054074290146698826, | |
"stdev": 0.0004451481548625986, | |
"p50": 0.005361663818359375, | |
"p90": 0.0057253890037536614, | |
"p95": 0.005877964782714844, | |
"p99": 0.0075304959678649894, | |
"values": [ | |
0.007997439861297608, | |
0.007659520149230957, | |
0.007505919933319092, | |
0.007329792022705078, | |
0.00643996810913086, | |
0.005563392162322998, | |
0.005465087890625, | |
0.00547430419921875, | |
0.00551526403427124, | |
0.006071296215057373, | |
0.0057149438858032225, | |
0.005677055835723877, | |
0.005736447811126709, | |
0.005686272144317627, | |
0.0062873601913452145, | |
0.005683199882507324, | |
0.00581324815750122, | |
0.005652480125427246, | |
0.005715968132019043, | |
0.005700607776641845, | |
0.005724160194396972, | |
0.005679103851318359, | |
0.005645311832427978, | |
0.0062341117858886715, | |
0.005656576156616211, | |
0.00557260799407959, | |
0.005653503894805908, | |
0.005601280212402344, | |
0.005541888236999512, | |
0.005585919857025146, | |
0.005653503894805908, | |
0.005789696216583252, | |
0.005726208209991455, | |
0.005760000228881836, | |
0.005631999969482422, | |
0.005596159934997558, | |
0.005638144016265869, | |
0.005709824085235596, | |
0.005768191814422607, | |
0.005542912006378174, | |
0.005606400012969971, | |
0.005675007820129394, | |
0.005595136165618897, | |
0.005612544059753418, | |
0.005627903938293457, | |
0.005708799839019775, | |
0.005627903938293457, | |
0.005698560237884521, | |
0.005854207992553711, | |
0.005766143798828125, | |
0.005676032066345215, | |
0.005702655792236328, | |
0.006242303848266601, | |
0.005640192031860352, | |
0.005590015888214111, | |
0.005542912006378174, | |
0.00567193603515625, | |
0.005596159934997558, | |
0.0057077760696411135, | |
0.005683199882507324, | |
0.005446656227111817, | |
0.0053043198585510255, | |
0.00530841588973999, | |
0.005261312007904053, | |
0.0053012480735778805, | |
0.0053944320678710935, | |
0.0053534722328186036, | |
0.005540863990783691, | |
0.005488639831542969, | |
0.005590015888214111, | |
0.005544960021972656, | |
0.005794816017150879, | |
0.0055552000999450684, | |
0.0055203838348388675, | |
0.005505023956298828, | |
0.00535756778717041, | |
0.005883903980255127, | |
0.00547430419921875, | |
0.00517632007598877, | |
0.005244927883148193, | |
0.005144576072692871, | |
0.005115903854370117, | |
0.005178368091583252, | |
0.005099520206451416, | |
0.005128191947937012, | |
0.005119999885559082, | |
0.005141503810882568, | |
0.005108736038208008, | |
0.005094399929046631, | |
0.005090303897857666, | |
0.005071872234344482, | |
0.005039103984832764, | |
0.0050360321998596195, | |
0.005088255882263183, | |
0.0050432000160217285, | |
0.005128191947937012, | |
0.005061632156372071, | |
0.0050432000160217285, | |
0.005070847988128662, | |
0.005032959938049316, | |
0.005080128192901611, | |
0.0050360321998596195, | |
0.0050462718009948735, | |
0.005026815891265869, | |
0.005061632156372071, | |
0.00510975980758667, | |
0.005040128231048584, | |
0.005023744106292725, | |
0.0050503678321838375, | |
0.00505241584777832, | |
0.005048319816589355, | |
0.005098495960235596, | |
0.005097472190856934, | |
0.005105663776397705, | |
0.005032959938049316, | |
0.00506982421875, | |
0.005071872234344482, | |
0.005033984184265137, | |
0.0050421757698059086, | |
0.005058559894561767, | |
0.005047296047210693, | |
0.0050503678321838375, | |
0.005029888153076172, | |
0.005063680171966553, | |
0.0050360321998596195, | |
0.00506060791015625, | |
0.005039103984832764, | |
0.005058559894561767, | |
0.005053440093994141, | |
0.005032959938049316, | |
0.005037055969238281, | |
0.0050165758132934574, | |
0.005021696090698242, | |
0.005024767875671386, | |
0.005066751956939697, | |
0.005035007953643799, | |
0.005032959938049316, | |
0.005032959938049316, | |
0.005082111835479736, | |
0.005083136081695557, | |
0.005169151782989502, | |
0.005063680171966553, | |
0.005079040050506592, | |
0.005067776203155518, | |
0.0050421757698059086, | |
0.005064703941345215, | |
0.005040128231048584, | |
0.00506982421875, | |
0.005104640007019043, | |
0.005067776203155518, | |
0.005057536125183106, | |
0.005048319816589355, | |
0.0050432000160217285, | |
0.005096447944641113, | |
0.0051660799980163576, | |
0.00505241584777832, | |
0.005141503810882568, | |
0.0055511040687561035, | |
0.0053975038528442385, | |
0.005390336036682129, | |
0.005350399971008301, | |
0.00537395191192627, | |
0.005402624130249023, | |
0.005380095958709717, | |
0.005401599884033203, | |
0.0053944320678710935, | |
0.005371903896331787, | |
0.005370880126953125, | |
0.005411839962005615, | |
0.005356544017791748, | |
0.00538316822052002, | |
0.005378047943115235, | |
0.005448703765869141, | |
0.005350399971008301, | |
0.00538316822052002, | |
0.005352447986602784, | |
0.005354496002197265, | |
0.005361663818359375, | |
0.005384191989898681, | |
0.005354496002197265, | |
0.005407743930816651, | |
0.005388288021087646, | |
0.005398528099060058, | |
0.005336063861846924, | |
0.0053637118339538575 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.9307678911896 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.071396357888809e-08, | |
"ram": 3.3191509277007265e-08, | |
"gpu": 1.281038439795902e-07, | |
"total": 2.2200931683548558e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4504315.468620737 | |
} | |
} | |
} | |
} |