IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
38d6a60 verified
raw
history blame
13.5 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+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.225-213.878.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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.167616,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.2045982666015625
],
"count": 1,
"total": 0.2045982666015625,
"mean": 0.2045982666015625,
"p50": 0.2045982666015625,
"p90": 0.2045982666015625,
"p95": 0.2045982666015625,
"p99": 0.2045982666015625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1052.790784,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005788671970367432,
0.005844992160797119,
0.005638144016265869,
0.005725183963775635,
0.005665791988372803,
0.0057077760696411135,
0.005690368175506591,
0.005639167785644531,
0.005610496044158936,
0.005595136165618897,
0.005585919857025146,
0.005581823825836182,
0.00552243185043335,
0.005587967872619629,
0.005595136165618897,
0.005602303981781006,
0.005615615844726562,
0.005591040134429932,
0.005645311832427978,
0.005446656227111817,
0.005421055793762207,
0.0054568958282470706,
0.0054241280555725096,
0.005470208168029785,
0.00551423978805542,
0.005495808124542236,
0.005543935775756836,
0.005480447769165039,
0.005513216018676758,
0.0055316481590271,
0.005485568046569824,
0.005575679779052735,
0.005624832153320313,
0.00563097620010376,
0.005601344108581543,
0.00557260799407959,
0.005602303981781006,
0.0055511040687561035,
0.005529600143432617,
0.005497856140136719,
0.005479423999786377,
0.005452799797058106,
0.005605375766754151,
0.00552345609664917,
0.005742591857910156,
0.00551423978805542,
0.005980160236358643,
0.005713920116424561,
0.005604351997375488,
0.0055511040687561035,
0.006207488059997559,
0.005868544101715088,
0.0057784318923950195,
0.005881855964660645,
0.005765120029449463,
0.005868544101715088,
0.005860352039337159,
0.005789696216583252,
0.005751808166503906,
0.005767168045043946,
0.005793791770935058,
0.005747712135314941,
0.0055244798660278325,
0.005590015888214111,
0.005452799797058106,
0.005519360065460205,
0.0054568958282470706,
0.005544960021972656,
0.005600255966186523,
0.005569536209106446,
0.005911551952362061,
0.005832704067230224,
0.005637119770050049,
0.0055552000999450684,
0.005553152084350586,
0.005537792205810547,
0.00551526403427124,
0.005611519813537597,
0.005552127838134766,
0.005440512180328369,
0.005421055793762207,
0.0056442880630493165,
0.0055623679161071774,
0.005386240005493164,
0.005352447986602784,
0.005422080039978027,
0.0052336640357971195,
0.005259263992309571,
0.005494783878326416,
0.005396480083465576,
0.0052633600234985355,
0.005237760066986084,
0.005188608169555664,
0.005173247814178467,
0.005224448204040527,
0.005315584182739258,
0.005356544017791748,
0.005734399795532226,
0.005679103851318359,
0.005789696216583252,
0.005852159976959229,
0.0060282878875732426,
0.00582041597366333,
0.005574656009674072,
0.005593088150024414,
0.00552243185043335,
0.005497856140136719,
0.005540863990783691,
0.005504000186920166,
0.005525504112243652,
0.005478400230407715,
0.005499904155731201,
0.0055511040687561035,
0.005489664077758789,
0.005512191772460938,
0.005550079822540284,
0.005476352214813233,
0.005542912006378174,
0.005494783878326416,
0.0055623679161071774,
0.005513216018676758,
0.005452799797058106,
0.005492735862731934,
0.005453824043273926,
0.005458943843841553,
0.00552243185043335,
0.00546611213684082,
0.005465087890625,
0.005511168003082275,
0.005440512180328369,
0.005477375984191894,
0.005478400230407715,
0.0054568958282470706,
0.005472256183624268,
0.0054906878471374515,
0.005464064121246338,
0.005516287803649903,
0.005443583965301513,
0.005468160152435303,
0.0054609918594360355,
0.0054906878471374515,
0.0054579200744628905,
0.0054988799095153805,
0.005467135906219483,
0.005511168003082275,
0.005494783878326416,
0.0054876160621643065,
0.005499904155731201,
0.005478400230407715,
0.0054568958282470706,
0.005479423999786377,
0.005463039875030518,
0.005538815975189209,
0.005455872058868408,
0.005470208168029785,
0.005544960021972656,
0.005467135906219483,
0.005447679996490478,
0.005473279953002929,
0.005402624130249023,
0.0054917120933532714,
0.005455872058868408,
0.005454847812652588,
0.005480447769165039,
0.005493760108947754,
0.005448703765869141,
0.005496831893920898,
0.005455872058868408,
0.005485568046569824,
0.005478400230407715,
0.005499904155731201,
0.005488639831542969,
0.005450751781463623,
0.005437439918518067,
0.005468160152435303,
0.005448703765869141,
0.005476352214813233,
0.005470208168029785,
0.005445631980895996,
0.005463039875030518,
0.00551526403427124
],
"count": 181,
"total": 1.0036071038246157,
"mean": 0.00554479062886528,
"p50": 0.005511168003082275,
"p90": 0.005765120029449463,
"p95": 0.005844992160797119,
"p99": 0.005989785766601562,
"stdev": 0.0001480016065861874,
"stdev_": 2.669200994095522
},
"throughput": {
"unit": "samples/s",
"value": 180.34946077028812
},
"energy": {
"unit": "kWh",
"cpu": 6.327733375074023e-08,
"ram": 3.4572048014829306e-08,
"gpu": 1.3044336676595927e-07,
"total": 2.2829274853152882e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4380340.621558959
}
}
}
}