IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
56f82e1 verified
raw
history blame
13.8 kB
{
"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.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": 782.934016,
"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.369083984375,
"mean": 7.369083984375,
"stdev": 0.0,
"p50": 7.369083984375,
"p90": 7.369083984375,
"p95": 7.369083984375,
"p99": 7.369083984375,
"values": [
7.369083984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.732464701388705e-07,
"ram": 4.910823520350657e-07,
"gpu": 0.0,
"total": 1.4643288221739361e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.5408,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 185,
"total": 1.0024666576385493,
"mean": 0.005418738689938108,
"stdev": 0.00018390065698635637,
"p50": 0.005447679996490478,
"p90": 0.005584486484527588,
"p95": 0.005723545742034912,
"p99": 0.005927444553375244,
"values": [
0.005897215843200684,
0.005946368217468262,
0.005837823867797852,
0.005709824085235596,
0.005888000011444092,
0.005726208209991455,
0.005819392204284668,
0.005681215763092041,
0.005843967914581299,
0.006553599834442139,
0.005637119770050049,
0.005320703983306885,
0.005287936210632324,
0.005254144191741943,
0.0052705278396606445,
0.005252096176147461,
0.005264383792877197,
0.005264383792877197,
0.005259263992309571,
0.005231616020202637,
0.005279744148254394,
0.005251071929931641,
0.005260287761688232,
0.005570559978485107,
0.00535859203338623,
0.005255167961120606,
0.005260287761688232,
0.005240928173065185,
0.0053043198585510255,
0.005232639789581299,
0.005275648117065429,
0.00526643180847168,
0.005252096176147461,
0.005277696132659912,
0.005277760028839111,
0.005228544235229492,
0.00526643180847168,
0.005244927883148193,
0.005259263992309571,
0.005256192207336426,
0.005251071929931641,
0.00522649621963501,
0.00526643180847168,
0.005224480152130127,
0.005275648117065429,
0.005272607803344726,
0.005245952129364013,
0.00522649621963501,
0.005259263992309571,
0.005241856098175048,
0.005257215976715088,
0.005230591773986816,
0.00526643180847168,
0.00536678409576416,
0.005493760108947754,
0.005468160152435303,
0.005475327968597412,
0.005481472015380859,
0.005478400230407715,
0.005447679996490478,
0.005495808124542236,
0.00547430419921875,
0.005512191772460938,
0.005470208168029785,
0.005477375984191894,
0.005445631980895996,
0.005493760108947754,
0.00546611213684082,
0.005526527881622314,
0.005433343887329102,
0.005481472015380859,
0.005462016105651855,
0.005468160152435303,
0.005434368133544922,
0.005488639831542969,
0.005458943843841553,
0.005483520030975342,
0.005436416149139404,
0.005478400230407715,
0.005537792205810547,
0.005586944103240967,
0.005646336078643799,
0.005627903938293457,
0.005389311790466309,
0.005430272102355957,
0.005441535949707031,
0.005444608211517334,
0.005492735862731934,
0.0054579200744628905,
0.005436416149139404,
0.0054876160621643065,
0.005499904155731201,
0.005923840045928955,
0.005431295871734619,
0.0054568958282470706,
0.005452799797058106,
0.005470208168029785,
0.005557248115539551,
0.0054988799095153805,
0.0054568958282470706,
0.005529600143432617,
0.005486591815948487,
0.005532671928405761,
0.005477375984191894,
0.005471231937408447,
0.005447679996490478,
0.005495808124542236,
0.005451776027679443,
0.005501952171325684,
0.005441535949707031,
0.00561356782913208,
0.005509119987487793,
0.005463039875030518,
0.005441535949707031,
0.00547430419921875,
0.005463039875030518,
0.00546611213684082,
0.005440512180328369,
0.005488639831542969,
0.0054609918594360355,
0.0054568958282470706,
0.005470208168029785,
0.00551526403427124,
0.005493760108947754,
0.005447679996490478,
0.005478400230407715,
0.005464064121246338,
0.005450751781463623,
0.005482495784759522,
0.005544960021972656,
0.005576704025268555,
0.005542912006378174,
0.005471231937408447,
0.00571289587020874,
0.005501952171325684,
0.0054906878471374515,
0.005494783878326416,
0.005443583965301513,
0.005511168003082275,
0.005480447769165039,
0.005505023956298828,
0.0054579200744628905,
0.005509119987487793,
0.005513216018676758,
0.0055101442337036136,
0.005492735862731934,
0.0055808000564575196,
0.005195775985717774,
0.005165056228637695,
0.005178368091583252,
0.0051773438453674315,
0.0051773438453674315,
0.0052715520858764645,
0.0052367358207702636,
0.005264383792877197,
0.005256192207336426,
0.005241856098175048,
0.005231616020202637,
0.005245952129364013,
0.005231616020202637,
0.005245952129364013,
0.005248000144958496,
0.005243904113769531,
0.005213183879852295,
0.005224448204040527,
0.005239808082580567,
0.005237760066986084,
0.005223423957824707,
0.005259263992309571,
0.005201920032501221,
0.005254144191741943,
0.005214208126068115,
0.005261312007904053,
0.0052295680046081545,
0.005231647968292236,
0.005247007846832275,
0.005251071929931641,
0.005904384136199951,
0.005274623870849609,
0.005249023914337158,
0.005286911964416504,
0.005345280170440674,
0.005591040134429932,
0.005479423999786377,
0.005443583965301513
]
},
"throughput": {
"unit": "samples/s",
"value": 184.54479118117834
},
"energy": {
"unit": "kWh",
"cpu": 6.163173412132932e-08,
"ram": 3.3688746576257574e-08,
"gpu": 1.3563770206217708e-07,
"total": 2.3095818275976396e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4329788.137622174
}
}
}
}