IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
92b6af4 verified
raw
history blame
13.7 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 757.325824,
"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.41311376953125,
"mean": 7.41311376953125,
"stdev": 0.0,
"p50": 7.41311376953125,
"p90": 7.41311376953125,
"p95": 7.41311376953125,
"p99": 7.41311376953125,
"values": [
7.41311376953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0082972472214161e-06,
"ram": 5.096976477276456e-07,
"gpu": 1.6855569039998797e-06,
"total": 3.203551798948941e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 924.581888,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.003078655719757,
"mean": 0.00551142118527339,
"stdev": 0.0002043719164801123,
"p50": 0.005546495914459229,
"p90": 0.005716889524459839,
"p95": 0.005768499255180359,
"p99": 0.006042153100967407,
"values": [
0.006452223777770996,
0.006096896171569824,
0.005868544101715088,
0.0060293121337890625,
0.005769216060638428,
0.00582860803604126,
0.0057415680885314945,
0.005983232021331787,
0.005702655792236328,
0.005652480125427246,
0.005700607776641845,
0.005626880168914795,
0.005692416191101074,
0.005658624172210694,
0.005710847854614258,
0.00566476821899414,
0.005598207950592041,
0.005529600143432617,
0.00552243185043335,
0.005598207950592041,
0.005702655792236328,
0.005716991901397705,
0.005745664119720459,
0.005639167785644531,
0.005695487976074219,
0.00567193603515625,
0.005574656009674072,
0.005581823825836182,
0.0055623679161071774,
0.005738495826721191,
0.005798912048339844,
0.005676032066345215,
0.005715968132019043,
0.005640192031860352,
0.00570470380783081,
0.005626880168914795,
0.005633024215698243,
0.005627903938293457,
0.005624832153320313,
0.005641215801239013,
0.005619711875915527,
0.005608448028564453,
0.005281792163848877,
0.0052008957862854,
0.005430272102355957,
0.0055582718849182125,
0.0055552000999450684,
0.005600255966186523,
0.005631999969482422,
0.00563097620010376,
0.005351424217224121,
0.005319680213928223,
0.005439487934112549,
0.006015999794006348,
0.005744639873504639,
0.005705728054046631,
0.005669888019561768,
0.005696512222290039,
0.0056514558792114256,
0.005689343929290771,
0.005615615844726562,
0.005666816234588623,
0.005679103851318359,
0.005658624172210694,
0.005675007820129394,
0.005662720203399658,
0.005725183963775635,
0.005565440177917481,
0.005508096218109131,
0.005676032066345215,
0.005587967872619629,
0.0055623679161071774,
0.005642240047454834,
0.005623807907104492,
0.005587967872619629,
0.005590015888214111,
0.0056780800819396975,
0.0056514558792114256,
0.005599232196807862,
0.005639167785644531,
0.005548031806945801,
0.005595136165618897,
0.005628928184509278,
0.005635072231292724,
0.005730303764343261,
0.005713920116424561,
0.005754879951477051,
0.0056514558792114256,
0.00572108793258667,
0.005619711875915527,
0.00561356782913208,
0.005672959804534912,
0.0059985918998718265,
0.005586944103240967,
0.005586944103240967,
0.005639167785644531,
0.005552127838134766,
0.005470208168029785,
0.005517312049865723,
0.005386240005493164,
0.0053637118339538575,
0.005544960021972656,
0.0055101442337036136,
0.005371903896331787,
0.0053637118339538575,
0.0053043198585510255,
0.005292031764984131,
0.005380095958709717,
0.0054579200744628905,
0.005533696174621582,
0.005533696174621582,
0.005471231937408447,
0.005553152084350586,
0.00553984022140503,
0.005566463947296142,
0.005693439960479736,
0.005420032024383545,
0.005351424217224121,
0.005326848030090332,
0.005337088108062744,
0.005326848030090332,
0.005294079780578613,
0.005264383792877197,
0.005344255924224854,
0.005298175811767578,
0.005291007995605469,
0.0053534722328186036,
0.0053012480735778805,
0.005291007995605469,
0.005419007778167725,
0.0053012480735778805,
0.005292031764984131,
0.0053350400924682614,
0.0053002238273620605,
0.005305344104766845,
0.005305344104766845,
0.005331967830657959,
0.0053944320678710935,
0.005331967830657959,
0.005288959980010987,
0.0053043198585510255,
0.0053350400924682614,
0.005299200057983398,
0.005286911964416504,
0.005305344104766845,
0.005315584182739258,
0.005278719902038574,
0.005292031764984131,
0.00530944013595581,
0.005259263992309571,
0.005268479824066162,
0.0052930560111999515,
0.005276671886444092,
0.005264383792877197,
0.005336063861846924,
0.005258240222930908,
0.005284863948822022,
0.005349376201629639,
0.005276671886444092,
0.005332992076873779,
0.00531660795211792,
0.005287936210632324,
0.00530944013595581,
0.0053309440612792965,
0.005372928142547607,
0.005294079780578613,
0.00531763219833374,
0.005277696132659912,
0.005299200057983398,
0.005252096176147461,
0.005279744148254394,
0.005260287761688232,
0.005295104026794434,
0.005246975898742676,
0.005273600101470947,
0.005438464164733887,
0.005296127796173096,
0.005264383792877197,
0.005296127796173096,
0.005276671886444092,
0.005256192207336426,
0.005258240222930908
]
},
"throughput": {
"unit": "samples/s",
"value": 181.44140438259677
},
"energy": {
"unit": "kWh",
"cpu": 6.215776970258988e-08,
"ram": 3.398292735631757e-08,
"gpu": 1.3159841825131154e-07,
"total": 2.27739115310219e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4390989.2186848605
}
}
}
}