IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8941140 verified
raw
history blame
12.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": {},
"hub_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,
"latency": true,
"memory": 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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 876.118016,
"max_global_vram": 1231.552512,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 182,
"total": 1.0038498229980473,
"mean": 0.0055156583681211365,
"stdev": 0.00022291428807529834,
"p50": 0.0055567359924316405,
"p90": 0.005760102415084839,
"p95": 0.005840742540359496,
"p99": 0.005941002416610718,
"values": [
0.005853184223175049,
0.005703680038452149,
0.005736447811126709,
0.005867519855499268,
0.005736447811126709,
0.0056852478981018065,
0.005791744232177734,
0.00568012809753418,
0.005944320201873779,
0.0057190399169921875,
0.005865471839904785,
0.005750783920288086,
0.005725183963775635,
0.005692416191101074,
0.005682176113128662,
0.005747712135314941,
0.005679103851318359,
0.005665791988372803,
0.0055244798660278325,
0.005486591815948487,
0.005628928184509278,
0.005692416191101074,
0.005638144016265869,
0.005703680038452149,
0.00572108793258667,
0.005677055835723877,
0.005660672187805176,
0.0058757119178771975,
0.005735424041748047,
0.005597184181213379,
0.0057118721008300784,
0.005726208209991455,
0.00570470380783081,
0.0056514558792114256,
0.0057415680885314945,
0.00563097620010376,
0.005723135948181152,
0.005489664077758789,
0.005619711875915527,
0.0057784318923950195,
0.005669888019561768,
0.005736447811126709,
0.00568012809753418,
0.005670911788940429,
0.005516287803649903,
0.005477375984191894,
0.005767168045043946,
0.005745664119720459,
0.0056258559226989744,
0.0055316481590271,
0.005606400012969971,
0.00570470380783081,
0.005566463947296142,
0.005640192031860352,
0.005687295913696289,
0.00570470380783081,
0.005775360107421875,
0.005728256225585937,
0.005774335861206055,
0.005666816234588623,
0.005761023998260498,
0.005548031806945801,
0.005588992118835449,
0.005739520072937012,
0.005679103851318359,
0.0058429441452026365,
0.005795839786529541,
0.005716991901397705,
0.006299647808074951,
0.005595136165618897,
0.005526527881622314,
0.005543935775756836,
0.00567193603515625,
0.005583871841430664,
0.005798912048339844,
0.005609471797943116,
0.0055316481590271,
0.005650432109832764,
0.005599232196807862,
0.005615615844726562,
0.005617663860321045,
0.005591040134429932,
0.005681151866912842,
0.005617663860321045,
0.005940224170684814,
0.005854207992553711,
0.005765120029449463,
0.00571289587020874,
0.005739520072937012,
0.0057292799949646,
0.005652480125427246,
0.0056780800819396975,
0.005682176113128662,
0.005704736232757569,
0.005602303981781006,
0.005494783878326416,
0.005730303764343261,
0.005575679779052735,
0.005565440177917481,
0.005478400230407715,
0.005396480083465576,
0.00537497615814209,
0.005518335819244385,
0.005903359889984131,
0.0054067840576171875,
0.005261312007904053,
0.005279744148254394,
0.005259263992309571,
0.0052899842262268066,
0.005453824043273926,
0.005402624130249023,
0.005404672145843506,
0.00535756778717041,
0.00537497615814209,
0.005405695915222168,
0.005627903938293457,
0.005548031806945801,
0.0052971520423889164,
0.00536575984954834,
0.0053002238273620605,
0.005306367874145508,
0.0054568958282470706,
0.005280767917633057,
0.005305344104766845,
0.005327871799468994,
0.00537497615814209,
0.005227519989013672,
0.005173247814178467,
0.0051660799980163576,
0.0051968002319335935,
0.005193727970123291,
0.00517632007598877,
0.00515993595123291,
0.005189631938934326,
0.005340159893035889,
0.005227519989013672,
0.00522649621963501,
0.005276671886444092,
0.005268479824066162,
0.005251071929931641,
0.005280767917633057,
0.005337088108062744,
0.005268479824066162,
0.005272575855255127,
0.005411839962005615,
0.005261312007904053,
0.00541593599319458,
0.00526643180847168,
0.005326848030090332,
0.005262335777282715,
0.005253119945526123,
0.005228544235229492,
0.00526643180847168,
0.005253119945526123,
0.0052408318519592285,
0.0052633600234985355,
0.005751808166503906,
0.005245952129364013,
0.005375999927520752,
0.005269504070281982,
0.005278719902038574,
0.005260287761688232,
0.005257215976715088,
0.005248000144958496,
0.005251071929931641,
0.00552345609664917,
0.005142528057098389,
0.005190656185150146,
0.005180416107177735,
0.005195775985717774,
0.005254144191741943,
0.005285888195037842,
0.005286911964416504,
0.005262335777282715,
0.005243904113769531,
0.005234687805175781,
0.005231616020202637,
0.005246975898742676,
0.005252096176147461,
0.005256192207336426,
0.0052705278396606445,
0.005256192207336426
]
},
"throughput": {
"unit": "samples/s",
"value": 181.30201931644322
},
"energy": {
"unit": "kWh",
"cpu": 6.104568385670328e-08,
"ram": 3.328312433139763e-08,
"gpu": 1.2601292132308278e-07,
"total": 2.2034172951118367e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4538404.968584238
}
}
}
}