IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
11e8791 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.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.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 796.61056,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.07925247955322266
],
"count": 1,
"total": 0.07925247955322266,
"mean": 0.07925247955322266,
"p50": 0.07925247955322266,
"p90": 0.07925247955322266,
"p95": 0.07925247955322266,
"p99": 0.07925247955322266,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1052.229632,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005764095783233642,
0.005910560131072998,
0.005846015930175781,
0.005764095783233642,
0.005953536033630371,
0.005754879951477051,
0.0059996161460876465,
0.005853184223175049,
0.005835775852203369,
0.005637119770050049,
0.0055920639038085935,
0.005583871841430664,
0.005573631763458252,
0.005537792205810547,
0.005553152084350586,
0.005494783878326416,
0.005560319900512695,
0.005529600143432617,
0.005530623912811279,
0.005554272174835205,
0.006049791812896729,
0.005789696216583252,
0.005626880168914795,
0.005595136165618897,
0.005747712135314941,
0.005910528182983398,
0.005509119987487793,
0.005500927925109863,
0.005493760108947754,
0.005465087890625,
0.005513216018676758,
0.0056442880630493165,
0.005769216060638428,
0.005697535991668701,
0.005765120029449463,
0.005855231761932373,
0.005697535991668701,
0.006199295997619629,
0.005922815799713135,
0.005903359889984131,
0.005792768001556397,
0.0058091521263122555,
0.005832704067230224,
0.005865471839904785,
0.005831679821014404,
0.006094848155975342,
0.005860415935516358,
0.0059054079055786135,
0.0058009600639343266,
0.005761023998260498,
0.005827583789825439,
0.0057784318923950195,
0.0057794561386108395,
0.005681151866912842,
0.00637337589263916,
0.005751808166503906,
0.005847040176391601,
0.005760000228881836,
0.005816319942474365,
0.005865471839904785,
0.005852159976959229,
0.006696959972381592,
0.005770304203033447,
0.005698560237884521,
0.005774335861206055,
0.006025216102600098,
0.005794816017150879,
0.005697535991668701,
0.0057292799949646,
0.00572108793258667,
0.005769216060638428,
0.00582144021987915,
0.005837823867797852,
0.005911551952362061,
0.005908480167388916,
0.005829631805419922,
0.005848063945770264,
0.005868544101715088,
0.005866496086120605,
0.005833727836608887,
0.005826560020446778,
0.005788671970367432,
0.005945343971252442,
0.00572108793258667,
0.005496831893920898,
0.005385216236114502,
0.005517312049865723,
0.005530623912811279,
0.0054271998405456545,
0.005351424217224121,
0.005448703765869141,
0.005327871799468994,
0.005275648117065429,
0.005463039875030518,
0.005529600143432617,
0.005381120204925537,
0.005239808082580567,
0.005194752216339111,
0.005184512138366699,
0.0054988799095153805,
0.005609471797943116,
0.005901311874389649,
0.005866496086120605,
0.006306816101074219,
0.00582041597366333,
0.0057825279235839844,
0.0059054079055786135,
0.006051839828491211,
0.005757952213287353,
0.006022143840789795,
0.006013951778411865,
0.005601280212402344,
0.005511168003082275,
0.005532671928405761,
0.005560319900512695,
0.005500927925109863,
0.005434368133544922,
0.005485568046569824,
0.005464064121246338,
0.005635072231292724,
0.005618688106536865,
0.005436416149139404,
0.005532671928405761,
0.005476352214813233,
0.005465087890625,
0.0054876160621643065,
0.005452799797058106,
0.005441664218902588,
0.0054271998405456545,
0.005430272102355957,
0.00542310380935669,
0.0054271998405456545,
0.005399551868438721,
0.0054271998405456545,
0.005446656227111817,
0.00536678409576416,
0.005416031837463379,
0.005480447769165039,
0.0055316481590271,
0.00562278413772583,
0.005449728012084961,
0.005445631980895996,
0.005403647899627686,
0.00536575984954834,
0.005436416149139404,
0.005409791946411133,
0.005377024173736572,
0.005434368133544922,
0.005435391902923584,
0.0053944320678710935,
0.005440512180328369,
0.005454847812652588,
0.005449728012084961,
0.005401599884033203,
0.0054282240867614745,
0.005430272102355957,
0.005413887977600097,
0.006158336162567139,
0.005458943843841553,
0.005393407821655274,
0.00557260799407959,
0.00542310380935669,
0.005426176071166992,
0.005408895969390869,
0.005387263774871826,
0.005174272060394287,
0.005190656185150146,
0.005175295829772949,
0.005248000144958496,
0.0052674560546875,
0.005245952129364013,
0.0051701760292053225,
0.00516812801361084,
0.005178368091583252,
0.005187583923339844,
0.00516812801361084,
0.005198847770690918,
0.005194752216339111
],
"count": 178,
"total": 1.0003513278961182,
"mean": 0.00561995128031527,
"p50": 0.005566463947296142,
"p90": 0.005909094572067261,
"p95": 0.0060226046800613406,
"p99": 0.006322124853134155,
"stdev": 0.00025844773523017386,
"stdev_": 4.5987540165237055
},
"throughput": {
"unit": "samples/s",
"value": 177.93748559754448
},
"energy": {
"unit": "kWh",
"cpu": 6.409007389639759e-08,
"ram": 3.5021545749335894e-08,
"gpu": 1.2494454439999987e-07,
"total": 2.2405616404573336e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4463166.654035389
}
}
}
}