IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
93fe8c8 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.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.34.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": 783.839232,
"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.45284814453125,
"mean": 7.45284814453125,
"stdev": 0.0,
"p50": 7.45284814453125,
"p90": 7.45284814453125,
"p95": 7.45284814453125,
"p99": 7.45284814453125,
"values": [
7.45284814453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.372627236110197e-07,
"ram": 4.979036396314927e-07,
"gpu": 1.62555685599957e-06,
"total": 3.0607232192420827e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1039.42144,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 178,
"total": 1.004940449237824,
"mean": 0.005645732860886649,
"stdev": 0.0001779326058556597,
"p50": 0.005673984050750733,
"p90": 0.005854003190994263,
"p95": 0.00593320951461792,
"p99": 0.006003394551277161,
"values": [
0.006005760192871094,
0.006172671794891358,
0.005989376068115234,
0.005895167827606201,
0.0058787841796875,
0.0059361281394958495,
0.005876736164093017,
0.005858304023742676,
0.005792831897735596,
0.005836800098419189,
0.005758975982666016,
0.005725183963775635,
0.005755904197692871,
0.005814271926879883,
0.005736447811126709,
0.005731328010559082,
0.005640192031860352,
0.005618688106536865,
0.005732351779937744,
0.005650432109832764,
0.005728256225585937,
0.00581324815750122,
0.005701632022857666,
0.005799935817718506,
0.005755904197692871,
0.0057825279235839844,
0.005716991901397705,
0.005673984050750733,
0.005738495826721191,
0.005765120029449463,
0.005751808166503906,
0.005754879951477051,
0.005784575939178467,
0.005786687850952149,
0.005819392204284668,
0.005670911788940429,
0.005750783920288086,
0.005752831935882568,
0.005718016147613526,
0.005758975982666016,
0.005745664119720459,
0.005747712135314941,
0.005619711875915527,
0.005577727794647217,
0.0056852478981018065,
0.005667840003967285,
0.005757952213287353,
0.0056780800819396975,
0.0057487359046936035,
0.005703680038452149,
0.005746687889099121,
0.005852159976959229,
0.0058757119178771975,
0.005850111961364746,
0.005758975982666016,
0.005917695999145508,
0.005986303806304932,
0.005754879951477051,
0.005673984050750733,
0.005723135948181152,
0.005811200141906738,
0.0060026879310607914,
0.005933055877685547,
0.0059770879745483394,
0.005934080123901367,
0.005925888061523437,
0.005740543842315674,
0.005590015888214111,
0.005731328010559082,
0.005667840003967285,
0.005693439960479736,
0.005724160194396972,
0.005764095783233642,
0.005652480125427246,
0.005652480125427246,
0.005739520072937012,
0.005686272144317627,
0.005715968132019043,
0.005646336078643799,
0.005693439960479736,
0.005725183963775635,
0.00572108793258667,
0.005822463989257813,
0.005824512004852295,
0.005839871883392334,
0.0057712640762329105,
0.005824512004852295,
0.005789696216583252,
0.005754879951477051,
0.005698560237884521,
0.005753856182098388,
0.005758975982666016,
0.00571289587020874,
0.0057487359046936035,
0.005753856182098388,
0.005647359848022461,
0.005661695957183838,
0.005599232196807862,
0.0055214080810546875,
0.005443583965301513,
0.005641215801239013,
0.005667840003967285,
0.005501952171325684,
0.005444608211517334,
0.0054271998405456545,
0.005397535800933838,
0.00547430419921875,
0.0054579200744628905,
0.0055214080810546875,
0.005631999969482422,
0.005677055835723877,
0.005803008079528809,
0.005739520072937012,
0.006000639915466309,
0.005888000011444092,
0.005670911788940429,
0.005639167785644531,
0.005593088150024414,
0.005683199882507324,
0.0056217598915100095,
0.00572108793258667,
0.00561356782913208,
0.005599232196807862,
0.005608448028564453,
0.00557260799407959,
0.005608448028564453,
0.005627903938293457,
0.005574656009674072,
0.005429247856140137,
0.005410816192626953,
0.005375999927520752,
0.005433343887329102,
0.005402624130249023,
0.005387263774871826,
0.0054271998405456545,
0.005401599884033203,
0.005448703765869141,
0.005395455837249756,
0.005375999927520752,
0.005429247856140137,
0.005381120204925537,
0.005402624130249023,
0.005403647899627686,
0.005362688064575195,
0.005438464164733887,
0.005569536209106446,
0.00555622386932373,
0.005629951953887939,
0.005587967872619629,
0.005535744190216065,
0.0053975038528442385,
0.005372928142547607,
0.005422080039978027,
0.005414912223815918,
0.005403647899627686,
0.005354496002197265,
0.005414912223815918,
0.00536678409576416,
0.005402624130249023,
0.005410816192626953,
0.005372928142547607,
0.005414912223815918,
0.005384191989898681,
0.005391359806060791,
0.005412864208221436,
0.005352447986602784,
0.005401599884033203,
0.005407743930816651,
0.005386240005493164,
0.0053606400489807126,
0.005447679996490478,
0.005386240005493164,
0.005398528099060058,
0.005527552127838135,
0.00557260799407959,
0.005601280212402344,
0.005437439918518067,
0.005370880126953125
]
},
"throughput": {
"unit": "samples/s",
"value": 177.1249233076452
},
"energy": {
"unit": "kWh",
"cpu": 6.513761663233234e-08,
"ram": 3.561375419562153e-08,
"gpu": 1.2569607125274773e-07,
"total": 2.2644744208070162e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4416035.7512169145
}
}
}
}