IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
651de86 verified
raw
history blame
13.7 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.383936,
"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.16080224609375,
"mean": 7.16080224609375,
"stdev": 0.0,
"p50": 7.16080224609375,
"p90": 7.16080224609375,
"p95": 7.16080224609375,
"p99": 7.16080224609375,
"values": [
7.16080224609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.383047620455424e-07,
"ram": 4.886099344799769e-07,
"gpu": 1.7575014060015881e-06,
"total": 3.1844161025271075e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.267264,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 183,
"total": 1.0040104947090147,
"mean": 0.005486396145950902,
"stdev": 0.0003089042625645915,
"p50": 0.005453824043273926,
"p90": 0.005741158294677734,
"p95": 0.0060843007564544685,
"p99": 0.00658151424407959,
"values": [
0.005839871883392334,
0.0058787841796875,
0.005804031848907471,
0.005687295913696289,
0.0056145920753479005,
0.005595136165618897,
0.005573631763458252,
0.005567488193511963,
0.0055214080810546875,
0.005449728012084961,
0.005484543800354004,
0.005442560195922852,
0.005419007778167725,
0.005512191772460938,
0.005468160152435303,
0.0054876160621643065,
0.0056514558792114256,
0.005710847854614258,
0.005576704025268555,
0.005576704025268555,
0.005534719944000244,
0.005516287803649903,
0.005479423999786377,
0.005567488193511963,
0.0054906878471374515,
0.005450751781463623,
0.005453824043273926,
0.0053534722328186036,
0.005362688064575195,
0.005547008037567139,
0.005486591815948487,
0.0054568958282470706,
0.00552345609664917,
0.005448703765869141,
0.005793791770935058,
0.005742591857910156,
0.005659647941589355,
0.005673984050750733,
0.005656576156616211,
0.005746687889099121,
0.005682176113128662,
0.005700607776641845,
0.00536678409576416,
0.005274623870849609,
0.005483520030975342,
0.005348351955413819,
0.005379072189331055,
0.006097919940948486,
0.0056145920753479005,
0.005705728054046631,
0.0056555519104003905,
0.005666816234588623,
0.005672959804534912,
0.0057149438858032225,
0.005606400012969971,
0.005480447769165039,
0.0055511040687561035,
0.0054579200744628905,
0.005379072189331055,
0.0053606400489807126,
0.0053606400489807126,
0.005448703765869141,
0.005666816234588623,
0.005407743930816651,
0.005441535949707031,
0.005938176155090332,
0.005658624172210694,
0.005628928184509278,
0.005481472015380859,
0.005565440177917481,
0.00561356782913208,
0.005588992118835449,
0.005698560237884521,
0.0055920639038085935,
0.005509119987487793,
0.00561356782913208,
0.005591040134429932,
0.005735424041748047,
0.005605375766754151,
0.005670911788940429,
0.00562278413772583,
0.005583871841430664,
0.005724160194396972,
0.005726208209991455,
0.005547008037567139,
0.005472256183624268,
0.005416959762573242,
0.005493760108947754,
0.005431295871734619,
0.006638591766357422,
0.0057292799949646,
0.005598207950592041,
0.00557260799407959,
0.005602303981781006,
0.005557248115539551,
0.005475327968597412,
0.005449728012084961,
0.005328896045684814,
0.005390336036682129,
0.005553152084350586,
0.005494783878326416,
0.005262335777282715,
0.005288959980010987,
0.005264383792877197,
0.005312511920928955,
0.005431295871734619,
0.00620851182937622,
0.006533120155334473,
0.006457344055175781,
0.00653926420211792,
0.00658739185333252,
0.00658022403717041,
0.006404096126556396,
0.00633241605758667,
0.005669888019561768,
0.005961728096008301,
0.005647359848022461,
0.0053309440612792965,
0.005306367874145508,
0.005371903896331787,
0.005320703983306885,
0.005775360107421875,
0.005322751998901368,
0.005305344104766845,
0.005368832111358642,
0.005319680213928223,
0.005298175811767578,
0.00531763219833374,
0.005302271842956543,
0.005325823783874512,
0.005287936210632324,
0.005281792163848877,
0.005261312007904053,
0.005260287761688232,
0.005314559936523438,
0.0052633600234985355,
0.005272575855255127,
0.005314559936523438,
0.005284863948822022,
0.005276671886444092,
0.005323775768280029,
0.005279744148254394,
0.005259263992309571,
0.0052971520423889164,
0.005356544017791748,
0.005260287761688232,
0.0052899842262268066,
0.005259263992309571,
0.005261312007904053,
0.005291007995605469,
0.005273600101470947,
0.00526643180847168,
0.005291007995605469,
0.0052705278396606445,
0.005273600101470947,
0.005277696132659912,
0.005295104026794434,
0.0052715520858764645,
0.005139455795288086,
0.005098495960235596,
0.005047296047210693,
0.005063680171966553,
0.0050728960037231445,
0.00516812801361084,
0.005064703941345215,
0.005035007953643799,
0.005061632156372071,
0.005067776203155518,
0.005056511878967285,
0.005025792121887207,
0.005056511878967285,
0.005044223785400391,
0.005033984184265137,
0.0050421757698059086,
0.005047296047210693,
0.0050206718444824215,
0.005025792121887207,
0.005153791904449463,
0.005075967788696289,
0.0055214080810546875,
0.005287936210632324,
0.005239808082580567,
0.005265408039093018
]
},
"throughput": {
"unit": "samples/s",
"value": 182.26901109538457
},
"energy": {
"unit": "kWh",
"cpu": 6.238453395185415e-08,
"ram": 3.4108647663492575e-08,
"gpu": 1.3530566380000184e-07,
"total": 2.3179884541534858e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4314085.336396525
}
}
}
}