IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
98fb744 verified
raw
history blame
14 kB
{
"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_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.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.4",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 713.95328,
"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.15504736328125,
"mean": 7.15504736328125,
"stdev": 0.0,
"p50": 7.15504736328125,
"p90": 7.15504736328125,
"p95": 7.15504736328125,
"p99": 7.15504736328125,
"values": [
7.15504736328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.039320879512364e-07,
"ram": 4.803025767328487e-07,
"gpu": 0.0,
"total": 1.3842346646840852e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.012736,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 190,
"total": 1.001962976455689,
"mean": 0.005273489349766782,
"stdev": 0.00030881680656642677,
"p50": 0.0053975038528442385,
"p90": 0.005592575931549072,
"p95": 0.0056513023853302,
"p99": 0.005801482281684875,
"values": [
0.005636096000671387,
0.005950463771820068,
0.005796864032745362,
0.005692416191101074,
0.005696512222290039,
0.005612544059753418,
0.00566374397277832,
0.0055848960876464845,
0.005542912006378174,
0.005549056053161621,
0.005559296131134033,
0.005545983791351319,
0.005493760108947754,
0.005552127838134766,
0.005530623912811279,
0.005608448028564453,
0.00542310380935669,
0.005387263774871826,
0.0054579200744628905,
0.005493760108947754,
0.005492735862731934,
0.005612544059753418,
0.005609471797943116,
0.005538815975189209,
0.005537792205810547,
0.005545983791351319,
0.0054568958282470706,
0.005372928142547607,
0.005488639831542969,
0.005572735786437988,
0.005500927925109863,
0.005575679779052735,
0.005597184181213379,
0.005713920116424561,
0.005599232196807862,
0.005488639831542969,
0.005476352214813233,
0.005537792205810547,
0.0054906878471374515,
0.005540863990783691,
0.005530623912811279,
0.005470208168029785,
0.0053975038528442385,
0.0053534722328186036,
0.005420032024383545,
0.005453824043273926,
0.005389311790466309,
0.00535756778717041,
0.005463039875030518,
0.005462016105651855,
0.005414912223815918,
0.0054876160621643065,
0.0055214080810546875,
0.005582848072052002,
0.0054988799095153805,
0.005554175853729248,
0.005547008037567139,
0.005471231937408447,
0.00546611213684082,
0.005368832111358642,
0.005448703765869141,
0.005543935775756836,
0.005506048202514649,
0.00566476821899414,
0.0055203838348388675,
0.005481472015380859,
0.005557248115539551,
0.005446656227111817,
0.0054241280555725096,
0.00547430419921875,
0.005445631980895996,
0.005451776027679443,
0.005601280212402344,
0.005455872058868408,
0.0053975038528442385,
0.005437439918518067,
0.005443583965301513,
0.005793791770935058,
0.005501952171325684,
0.005478400230407715,
0.005535744190216065,
0.005626880168914795,
0.005569536209106446,
0.005539968013763428,
0.005566463947296142,
0.0055582718849182125,
0.005495808124542236,
0.0055920639038085935,
0.005582848072052002,
0.00552243185043335,
0.00556441593170166,
0.005526527881622314,
0.005467135906219483,
0.005391359806060791,
0.005561344146728516,
0.005463103771209717,
0.00535859203338623,
0.005302271842956543,
0.005214208126068115,
0.005191679954528809,
0.005349376201629639,
0.005384191989898681,
0.005292031764984131,
0.00511078405380249,
0.005119999885559082,
0.005159008026123047,
0.0051333122253417966,
0.0051701760292053225,
0.00526643180847168,
0.005396480083465576,
0.005348351955413819,
0.005421055793762207,
0.005442560195922852,
0.0054906878471374515,
0.00566374397277832,
0.005422080039978027,
0.005332992076873779,
0.005359615802764893,
0.0052899842262268066,
0.005220352172851562,
0.0058388481140136715,
0.005477375984191894,
0.005259263992309571,
0.005115903854370117,
0.00511078405380249,
0.0050841598510742185,
0.005117951869964599,
0.005062687873840332,
0.005067776203155518,
0.004998144149780274,
0.0048855037689208985,
0.0048056321144104,
0.00481382417678833,
0.004840447902679444,
0.004896768093109131,
0.004848639965057373,
0.004819968223571777,
0.004996096134185791,
0.004905983924865722,
0.00491315221786499,
0.004857855796813965,
0.004866047859191895,
0.0048148479461669925,
0.00486195182800293,
0.004873216152191162,
0.004834303855895996,
0.004824063777923584,
0.004894720077514648,
0.00490499210357666,
0.004806655883789063,
0.004816895961761475,
0.004817920207977295,
0.004841472148895264,
0.004887551784515381,
0.004878335952758789,
0.004868095874786377,
0.004848639965057373,
0.0048568320274353025,
0.00491315221786499,
0.0048793601989746095,
0.004839424133300781,
0.004858880043029785,
0.004876287937164306,
0.004882431983947754,
0.004892672061920166,
0.004816895961761475,
0.0049090561866760255,
0.004848639965057373,
0.004831232070922851,
0.0048793601989746095,
0.005041152000427246,
0.004937727928161621,
0.0048558077812194825,
0.004828159809112549,
0.004841472148895264,
0.004825088024139404,
0.004846591949462891,
0.004836351871490479,
0.004816895961761475,
0.0048056321144104,
0.0048793601989746095,
0.004887551784515381,
0.004860928058624267,
0.004833280086517334,
0.0048752641677856446,
0.00486195182800293,
0.0048189439773559575,
0.004806655883789063,
0.005061632156372071,
0.004984831809997559
]
},
"throughput": {
"unit": "samples/s",
"value": 189.62776516164286
},
"energy": {
"unit": "kWh",
"cpu": 5.8282014948350406e-08,
"ram": 3.186444984926038e-08,
"gpu": 1.2305293068627562e-07,
"total": 2.1319939548388642e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4690444.819181393
}
}
}
}