
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
76f8bf9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.223-212.873.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": 782.995456, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.465826171875, | |
"mean": 7.465826171875, | |
"stdev": 0.0, | |
"p50": 7.465826171875, | |
"p90": 7.465826171875, | |
"p95": 7.465826171875, | |
"p99": 7.465826171875, | |
"values": [ | |
7.465826171875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.390734833333329e-07, | |
"ram": 4.988699872933376e-07, | |
"gpu": 1.868612605999704e-06, | |
"total": 3.3065560766263747e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.60224, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 177, | |
"total": 1.0020609273910526, | |
"mean": 0.005661361171700859, | |
"stdev": 0.000260537752748832, | |
"p50": 0.005633024215698243, | |
"p90": 0.005916467189788818, | |
"p95": 0.005947596931457519, | |
"p99": 0.006508707637786867, | |
"values": [ | |
0.005840896129608154, | |
0.005944320201873779, | |
0.005850111961364746, | |
0.0057415680885314945, | |
0.005943295955657959, | |
0.005960703849792481, | |
0.006481919765472412, | |
0.005923840045928955, | |
0.006003712177276611, | |
0.005934080123901367, | |
0.005938176155090332, | |
0.005825535774230957, | |
0.00587059211730957, | |
0.006079487800598145, | |
0.005931007862091065, | |
0.005774335861206055, | |
0.005667840003967285, | |
0.005659647941589355, | |
0.005911551952362061, | |
0.005859327793121338, | |
0.005830656051635743, | |
0.00602623987197876, | |
0.005852159976959229, | |
0.005865471839904785, | |
0.005849088191986084, | |
0.005839871883392334, | |
0.005775360107421875, | |
0.005777408123016357, | |
0.006182911872863769, | |
0.005924863815307617, | |
0.00588595199584961, | |
0.005633024215698243, | |
0.005670911788940429, | |
0.005649407863616943, | |
0.00563097620010376, | |
0.005567488193511963, | |
0.005595136165618897, | |
0.005824512004852295, | |
0.005932032108306885, | |
0.005843967914581299, | |
0.005846015930175781, | |
0.005751808166503906, | |
0.005679103851318359, | |
0.005700607776641845, | |
0.006054912090301514, | |
0.005817344188690185, | |
0.00582144021987915, | |
0.005764095783233642, | |
0.00586240005493164, | |
0.0055920639038085935, | |
0.0056145920753479005, | |
0.005615615844726562, | |
0.005687295913696289, | |
0.005650432109832764, | |
0.005643263816833496, | |
0.005668863773345947, | |
0.005606400012969971, | |
0.005606400012969971, | |
0.00551526403427124, | |
0.005596159934997558, | |
0.00577023983001709, | |
0.005787648200988769, | |
0.005823488235473633, | |
0.005790719985961914, | |
0.005866496086120605, | |
0.005831679821014404, | |
0.005769216060638428, | |
0.005761023998260498, | |
0.005788671970367432, | |
0.005851136207580566, | |
0.005773312091827393, | |
0.005864448070526123, | |
0.005798912048339844, | |
0.005740543842315674, | |
0.005797887802124023, | |
0.005807104110717773, | |
0.006593535900115967, | |
0.007566336154937744, | |
0.005908480167388916, | |
0.005808127880096436, | |
0.005890048027038574, | |
0.005860352039337159, | |
0.005850111961364746, | |
0.005938176155090332, | |
0.005641215801239013, | |
0.005746687889099121, | |
0.005675007820129394, | |
0.005635072231292724, | |
0.0055623679161071774, | |
0.005563392162322998, | |
0.005635072231292724, | |
0.005537792205810547, | |
0.005895167827606201, | |
0.005634047985076904, | |
0.00551526403427124, | |
0.0054609918594360355, | |
0.005444608211517334, | |
0.005402624130249023, | |
0.005248000144958496, | |
0.0053647360801696775, | |
0.005530623912811279, | |
0.005408768177032471, | |
0.005238783836364746, | |
0.005241856098175048, | |
0.005230591773986816, | |
0.005235712051391602, | |
0.005306367874145508, | |
0.005620736122131348, | |
0.005696512222290039, | |
0.005756927967071533, | |
0.005709824085235596, | |
0.005808127880096436, | |
0.00582144021987915, | |
0.005874688148498535, | |
0.005702655792236328, | |
0.005486591815948487, | |
0.00552345609664917, | |
0.005512191772460938, | |
0.005540863990783691, | |
0.005404704093933106, | |
0.0053975038528442385, | |
0.005483520030975342, | |
0.005518335819244385, | |
0.005475327968597412, | |
0.00552243185043335, | |
0.0054876160621643065, | |
0.005446656227111817, | |
0.005508096218109131, | |
0.005484543800354004, | |
0.005473279953002929, | |
0.005437439918518067, | |
0.005441535949707031, | |
0.005462016105651855, | |
0.005430272102355957, | |
0.00542310380935669, | |
0.005455872058868408, | |
0.005471231937408447, | |
0.005437439918518067, | |
0.005448703765869141, | |
0.005445631980895996, | |
0.0054568958282470706, | |
0.005432320117950439, | |
0.005463039875030518, | |
0.005458943843841553, | |
0.0054917120933532714, | |
0.005504000186920166, | |
0.005511168003082275, | |
0.00544159984588623, | |
0.005508096218109131, | |
0.005438464164733887, | |
0.005450751781463623, | |
0.005465087890625, | |
0.005417984008789062, | |
0.005513216018676758, | |
0.005499904155731201, | |
0.005468160152435303, | |
0.005431295871734619, | |
0.005638144016265869, | |
0.005541888236999512, | |
0.0054988799095153805, | |
0.005485568046569824, | |
0.005443583965301513, | |
0.0055203838348388675, | |
0.005437439918518067, | |
0.005442560195922852, | |
0.005462016105651855, | |
0.0054609918594360355, | |
0.005460000038146973, | |
0.005429247856140137, | |
0.005449728012084961, | |
0.005463039875030518, | |
0.0055203838348388675, | |
0.005443583965301513, | |
0.005629951953887939, | |
0.00542310380935669, | |
0.005447679996490478, | |
0.005414912223815918 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 176.63596609922115 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.513972264723663e-08, | |
"ram": 3.548323675618323e-08, | |
"gpu": 1.407347816830596e-07, | |
"total": 2.413577410864794e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4143227.3748439504 | |
} | |
} | |
} | |
} |