IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b270468 verified
raw
history blame
13.6 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.50272,
"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.240498046875,
"mean": 7.240498046875,
"stdev": 0.0,
"p50": 7.240498046875,
"p90": 7.240498046875,
"p95": 7.240498046875,
"p99": 7.240498046875,
"values": [
7.240498046875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.311132960849339e-07,
"ram": 4.942253072189828e-07,
"gpu": 1.6858346820010014e-06,
"total": 3.1111732853049182e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.263168,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.0022759680747986,
"mean": 0.005507010813597795,
"stdev": 0.00019262978998123512,
"p50": 0.0055004160404205325,
"p90": 0.005755494594573974,
"p95": 0.005788620781898499,
"p99": 0.0058498969316482545,
"values": [
0.005611519813537597,
0.005718016147613526,
0.005640192031860352,
0.005665791988372803,
0.005578752040863037,
0.0055797758102417,
0.005586944103240967,
0.00557260799407959,
0.005494783878326416,
0.005505023956298828,
0.0053975038528442385,
0.005350399971008301,
0.005421055793762207,
0.005372928142547607,
0.0053975038528442385,
0.005421055793762207,
0.0053534722328186036,
0.00532480001449585,
0.00525929594039917,
0.005288959980010987,
0.005387263774871826,
0.005347328186035156,
0.005804031848907471,
0.00572211217880249,
0.005787648200988769,
0.005668863773345947,
0.005735424041748047,
0.005679103851318359,
0.005628928184509278,
0.0056217598915100095,
0.00572108793258667,
0.005803008079528809,
0.005710847854614258,
0.005776383876800537,
0.005751808166503906,
0.005744639873504639,
0.005725183963775635,
0.005658624172210694,
0.005723135948181152,
0.005703680038452149,
0.005768191814422607,
0.005696512222290039,
0.005788671970367432,
0.005649407863616943,
0.0055848960876464845,
0.0055808000564575196,
0.005561344146728516,
0.005611519813537597,
0.005578752040863037,
0.005650432109832764,
0.005761023998260498,
0.005637119770050049,
0.005747712135314941,
0.005796864032745362,
0.005796864032745362,
0.005776383876800537,
0.005742591857910156,
0.005727231979370117,
0.005682176113128662,
0.005695487976074219,
0.005610496044158936,
0.005784575939178467,
0.005696512222290039,
0.005668896198272705,
0.005726208209991455,
0.005772287845611572,
0.005755904197692871,
0.005689343929290771,
0.0056514558792114256,
0.005662720203399658,
0.005662720203399658,
0.0057487359046936035,
0.005817344188690185,
0.005730303764343261,
0.005620736122131348,
0.005696512222290039,
0.00572211217880249,
0.005647359848022461,
0.005647359848022461,
0.005790719985961914,
0.005661727905273438,
0.005656576156616211,
0.005822463989257813,
0.005617663860321045,
0.005482495784759522,
0.005495808124542236,
0.005434368133544922,
0.00551423978805542,
0.005458943843841553,
0.0053534722328186036,
0.005454847812652588,
0.005407743930816651,
0.005294079780578613,
0.005298175811767578,
0.005481472015380859,
0.005295104026794434,
0.005244927883148193,
0.005238783836364746,
0.0052336640357971195,
0.0055920639038085935,
0.0055848960876464845,
0.005541888236999512,
0.005669919967651367,
0.0052971520423889164,
0.005269504070281982,
0.00531763219833374,
0.0052971520423889164,
0.005410816192626953,
0.00557260799407959,
0.005582848072052002,
0.005573631763458252,
0.005566463947296142,
0.005643263816833496,
0.00573747205734253,
0.005577727794647217,
0.0057784318923950195,
0.00537395191192627,
0.005338111877441406,
0.005352447986602784,
0.005343232154846191,
0.00532480001449585,
0.005635072231292724,
0.005351424217224121,
0.005328896045684814,
0.005389311790466309,
0.0052633600234985355,
0.005279744148254394,
0.005350399971008301,
0.005305344104766845,
0.005298175811767578,
0.00537497615814209,
0.005307392120361328,
0.005320703983306885,
0.005355519771575928,
0.0052971520423889164,
0.005279744148254394,
0.005506048202514649,
0.0052674560546875,
0.0052705278396606445,
0.005966847896575928,
0.00536575984954834,
0.0052930560111999515,
0.005281792163848877,
0.005273600101470947,
0.005303296089172363,
0.005318655967712403,
0.0052633600234985355,
0.005291007995605469,
0.0053678078651428224,
0.005302271842956543,
0.005340159893035889,
0.00536678409576416,
0.006137856006622314,
0.005583871841430664,
0.005570559978485107,
0.00531763219833374,
0.00536678409576416,
0.005307392120361328,
0.005299200057983398,
0.005325823783874512,
0.005285888195037842,
0.005343232154846191,
0.005344255924224854,
0.005280767917633057,
0.0052899842262268066,
0.005480447769165039,
0.005349376201629639,
0.005322751998901368,
0.00531660795211792,
0.0052971520423889164,
0.0053002238273620605,
0.005276671886444092,
0.0052971520423889164,
0.0052899842262268066,
0.005275648117065429,
0.005274623870849609,
0.0052674560546875,
0.0053340158462524415,
0.005285888195037842,
0.005295104026794434,
0.0055582718849182125,
0.005315584182739258
]
},
"throughput": {
"unit": "samples/s",
"value": 181.58671443513805
},
"energy": {
"unit": "kWh",
"cpu": 6.227439194657624e-08,
"ram": 3.402911518320277e-08,
"gpu": 1.2763099215706536e-07,
"total": 2.2393449928684435e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4465591.515307654
}
}
}
}