IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
174cf22 verified
raw
history blame
13.9 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.43.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"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.25696,
"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.157310546875,
"mean": 7.157310546875,
"stdev": 0.0,
"p50": 7.157310546875,
"p90": 7.157310546875,
"p95": 7.157310546875,
"p99": 7.157310546875,
"values": [
7.157310546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.62263180149926e-07,
"ram": 5.118242556273838e-07,
"gpu": 1.6188901839995357e-06,
"total": 3.0929776197768454e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.152576,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 189,
"total": 1.0022390065193172,
"mean": 0.005302851886345596,
"stdev": 0.00020603206262976564,
"p50": 0.005345280170440674,
"p90": 0.005542912197113037,
"p95": 0.005614182376861572,
"p99": 0.005827420310974121,
"values": [
0.0056145920753479005,
0.005901311874389649,
0.005636096000671387,
0.0056145920753479005,
0.0055552000999450684,
0.0055214080810546875,
0.005590015888214111,
0.005532671928405761,
0.005547008037567139,
0.005389311790466309,
0.00542310380935669,
0.0054579200744628905,
0.005371903896331787,
0.00541593599319458,
0.005472256183624268,
0.005337088108062744,
0.0053012480735778805,
0.005278719902038574,
0.005295104026794434,
0.005384191989898681,
0.005417984008789062,
0.005454847812652588,
0.005496831893920898,
0.00551526403427124,
0.005409791946411133,
0.005497856140136719,
0.005389311790466309,
0.005292031764984131,
0.005425151824951172,
0.005453824043273926,
0.005437439918518067,
0.005559296131134033,
0.005483520030975342,
0.005436416149139404,
0.005472256183624268,
0.005407743930816651,
0.005403647899627686,
0.005436416149139404,
0.005429247856140137,
0.005480447769165039,
0.005436416149139404,
0.005340159893035889,
0.005331967830657959,
0.005291007995605469,
0.005299200057983398,
0.00537395191192627,
0.005345280170440674,
0.005265408039093018,
0.005426176071166992,
0.005371903896331787,
0.005370880126953125,
0.005441535949707031,
0.005477375984191894,
0.005469183921813964,
0.0055214080810546875,
0.0054609918594360355,
0.005500927925109863,
0.005406720161437988,
0.005368832111358642,
0.005351424217224121,
0.00546611213684082,
0.005420032024383545,
0.005446656227111817,
0.005519360065460205,
0.005649407863616943,
0.0057292799949646,
0.005362688064575195,
0.005319680213928223,
0.00532480001449585,
0.005371903896331787,
0.005409823894500732,
0.005444608211517334,
0.0054241280555725096,
0.005384191989898681,
0.005354496002197265,
0.005327871799468994,
0.005406720161437988,
0.0053534722328186036,
0.005384191989898681,
0.005402624130249023,
0.005377024173736572,
0.005387263774871826,
0.00550707197189331,
0.0054906878471374515,
0.005458943843841553,
0.0054876160621643065,
0.005455872058868408,
0.005462016105651855,
0.005442560195922852,
0.005388288021087646,
0.0054876160621643065,
0.005352447986602784,
0.005261312007904053,
0.005434368133544922,
0.005350399971008301,
0.005276671886444092,
0.005311488151550293,
0.00516096019744873,
0.005111807823181152,
0.005310463905334473,
0.005375999927520752,
0.005204991817474365,
0.005054463863372802,
0.005096447944641113,
0.00506879997253418,
0.0050657281875610355,
0.005112832069396973,
0.00532480001449585,
0.005561344146728516,
0.00561356782913208,
0.005529600143432617,
0.00555622386932373,
0.005643263816833496,
0.0056514558792114256,
0.005817344188690185,
0.005575679779052735,
0.005541888236999512,
0.005387263774871826,
0.006105088233947754,
0.005459968090057373,
0.005173247814178467,
0.005591040134429932,
0.005172224044799805,
0.0051066880226135255,
0.0051404800415039064,
0.005163008213043213,
0.0051660799980163576,
0.005053440093994141,
0.00506982421875,
0.0050800638198852536,
0.005058559894561767,
0.00506982421875,
0.005208064079284668,
0.005096447944641113,
0.005099520206451416,
0.005062655925750732,
0.0051138558387756345,
0.005071872234344482,
0.005099520206451416,
0.005058559894561767,
0.005083136081695557,
0.005064703941345215,
0.005051392078399658,
0.0051660799980163576,
0.005064703941345215,
0.00505241584777832,
0.0050503678321838375,
0.005073919773101807,
0.0050462718009948735,
0.005045248031616211,
0.0050432000160217285,
0.005087232112884522,
0.005030911922454834,
0.0050432000160217285,
0.005053440093994141,
0.005073919773101807,
0.005066751956939697,
0.005058559894561767,
0.005108736038208008,
0.005044223785400391,
0.005115903854370117,
0.005093376159667969,
0.005122047901153564,
0.005056511878967285,
0.005063680171966553,
0.005051392078399658,
0.005117951869964599,
0.005079040050506592,
0.005064703941345215,
0.005073919773101807,
0.005104640007019043,
0.0050462718009948735,
0.005074944019317627,
0.00510975980758667,
0.005062655925750732,
0.005051392078399658,
0.00506060791015625,
0.0050769920349121095,
0.005063680171966553,
0.005058559894561767,
0.005078015804290771,
0.005081088066101074,
0.005066751956939697,
0.005056511878967285,
0.005082111835479736,
0.0050503678321838375,
0.005044223785400391,
0.005039103984832764,
0.005075967788696289
]
},
"throughput": {
"unit": "samples/s",
"value": 188.57777313654887
},
"energy": {
"unit": "kWh",
"cpu": 6.226419431654223e-08,
"ram": 3.3936901400104516e-08,
"gpu": 1.2775606497382485e-07,
"total": 2.239571606904716e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4465139.658481773
}
}
}
}