IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
05e2495 verified
raw
history blame
13.4 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.224-212.876.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.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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 794.099712,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.979849609375,
"mean": 7.979849609375,
"stdev": 0.0,
"p50": 7.979849609375,
"p90": 7.979849609375,
"p95": 7.979849609375,
"p99": 7.979849609375,
"values": [
7.979849609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4557804631938674e-06,
"ram": 1.3121532378723385e-06,
"gpu": 3.4202805140001215e-06,
"total": 7.188214215066327e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1049.55904,
"max_global_vram": 1236.795392,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 177,
"total": 1.0041562862396243,
"mean": 0.005673199357286012,
"stdev": 0.00022154334864406722,
"p50": 0.0057077760696411135,
"p90": 0.005885132694244385,
"p95": 0.005914035129547119,
"p99": 0.006116334190368653,
"values": [
0.005710847854614258,
0.005881855964660645,
0.005736447811126709,
0.005725183963775635,
0.005996543884277344,
0.005951488018035888,
0.005982207775115967,
0.00587775993347168,
0.005886975765228271,
0.005879807949066162,
0.005891071796417236,
0.0058726401329040525,
0.005883903980255127,
0.005827583789825439,
0.00587059211730957,
0.005844992160797119,
0.005911551952362061,
0.005756927967071533,
0.0056780800819396975,
0.00566374397277832,
0.005726208209991455,
0.005814271926879883,
0.005784575939178467,
0.005732351779937744,
0.0058726401329040525,
0.0057784318923950195,
0.005889023780822754,
0.005788671970367432,
0.005863423824310303,
0.005734399795532226,
0.005816319942474365,
0.005783552169799804,
0.005892096042633056,
0.005806079864501953,
0.005868544101715088,
0.005923967838287353,
0.005794816017150879,
0.005550079822540284,
0.005549088001251221,
0.0055203838348388675,
0.005496831893920898,
0.005433343887329102,
0.00555622386932373,
0.005449728012084961,
0.005816319942474365,
0.005824512004852295,
0.005732351779937744,
0.00566476821899414,
0.005675007820129394,
0.005764095783233642,
0.005718016147613526,
0.0058091521263122555,
0.0057077760696411135,
0.005747712135314941,
0.005796864032745362,
0.005805056095123291,
0.005817344188690185,
0.0058091521263122555,
0.005896192073822021,
0.005836800098419189,
0.005925888061523437,
0.006096896171569824,
0.005953536033630371,
0.0058716158866882326,
0.005873663902282715,
0.005790719985961914,
0.005739520072937012,
0.005781504154205322,
0.005807104110717773,
0.005860352039337159,
0.005757952213287353,
0.005767168045043946,
0.005747712135314941,
0.005852159976959229,
0.005825535774230957,
0.005701632022857666,
0.005713920116424561,
0.005710847854614258,
0.005834752082824707,
0.005702655792236328,
0.005815296173095703,
0.005797887802124023,
0.005806079864501953,
0.005713920116424561,
0.005773312091827393,
0.005500927925109863,
0.005440512180328369,
0.005425151824951172,
0.005409791946411133,
0.005370880126953125,
0.005505023956298828,
0.005710847854614258,
0.007293951988220215,
0.006177887916564941,
0.005903359889984131,
0.0057712640762329105,
0.005819392204284668,
0.005799935817718506,
0.005844992160797119,
0.005744639873504639,
0.005792768001556397,
0.005780479907989502,
0.005797887802124023,
0.0058419198989868165,
0.005654528141021729,
0.005892096042633056,
0.005686272144317627,
0.005665791988372803,
0.005577727794647217,
0.005594111919403076,
0.005493760108947754,
0.005598207950592041,
0.005843967914581299,
0.005544960021972656,
0.005421055793762207,
0.005465087890625,
0.0054568958282470706,
0.005650432109832764,
0.005559296131134033,
0.005534719944000244,
0.005786623954772949,
0.005483520030975342,
0.005654528141021729,
0.005594111919403076,
0.005660672187805176,
0.005888000011444092,
0.005659647941589355,
0.005596159934997558,
0.005440512180328369,
0.005447679996490478,
0.005538815975189209,
0.005454847812652588,
0.005517312049865723,
0.005485568046569824,
0.005412864208221436,
0.005545983791351319,
0.005392384052276611,
0.005455872058868408,
0.005484543800354004,
0.005444608211517334,
0.005569536209106446,
0.005610496044158936,
0.005599232196807862,
0.005563392162322998,
0.005375999927520752,
0.005403647899627686,
0.005422080039978027,
0.005389311790466309,
0.005441535949707031,
0.005406720161437988,
0.005436416149139404,
0.005459968090057373,
0.0054609918594360355,
0.0053647360801696775,
0.005582848072052002,
0.005352447986602784,
0.005405695915222168,
0.005386240005493164,
0.005426176071166992,
0.005403647899627686,
0.005422080039978027,
0.00538316822052002,
0.005429247856140137,
0.005405695915222168,
0.005371903896331787,
0.00542310380935669,
0.005453824043273926,
0.005581952095031738,
0.005699584007263184,
0.0053975038528442385,
0.005404672145843506,
0.005429247856140137,
0.005550079822540284,
0.005476352214813233,
0.0054241280555725096,
0.005372928142547607,
0.0054568958282470706
]
},
"throughput": {
"unit": "samples/s",
"value": 176.2673823044335
},
"energy": {
"unit": "kWh",
"cpu": 6.027500979272388e-08,
"ram": 3.293809442890686e-08,
"gpu": 1.2846738985786813e-07,
"total": 2.216804940794989e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4510996.80263876
}
}
}
}