IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
475221e verified
raw
history blame
14 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.3",
"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.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 714.006528,
"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.21695654296875,
"mean": 7.21695654296875,
"stdev": 0.0,
"p50": 7.21695654296875,
"p90": 7.21695654296875,
"p95": 7.21695654296875,
"p99": 7.21695654296875,
"values": [
7.21695654296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.292781352996826e-07,
"ram": 4.915333222108605e-07,
"gpu": 1.7697236380002056e-06,
"total": 3.1905350955107487e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.76288,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 191,
"total": 1.0033462390899657,
"mean": 0.005253121670628093,
"stdev": 0.00017398206873634966,
"p50": 0.005244927883148193,
"p90": 0.0053340158462524415,
"p95": 0.005578239917755127,
"p99": 0.0059574271678924555,
"values": [
0.005908480167388916,
0.00608460807800293,
0.005943295955657959,
0.00582144021987915,
0.005843967914581299,
0.005811200141906738,
0.005826560020446778,
0.005751808166503906,
0.006119423866271972,
0.005257215976715088,
0.005056511878967285,
0.0050503678321838375,
0.005058559894561767,
0.005021696090698242,
0.005032959938049316,
0.0050421757698059086,
0.005026815891265869,
0.005033984184265137,
0.005023744106292725,
0.005094399929046631,
0.0052705278396606445,
0.005213215827941895,
0.005245952129364013,
0.005222400188446045,
0.005237760066986084,
0.005242879867553711,
0.005265408039093018,
0.005220352172851562,
0.005359615802764893,
0.0053125438690185545,
0.005329919815063477,
0.005325823783874512,
0.005368832111358642,
0.005352447986602784,
0.005354496002197265,
0.0053340158462524415,
0.005327871799468994,
0.005311488151550293,
0.005400576114654541,
0.005054463863372802,
0.005038080215454102,
0.005045248031616211,
0.005018623828887939,
0.005022719860076904,
0.005030911922454834,
0.005062655925750732,
0.0050421757698059086,
0.00502784013748169,
0.005030911922454834,
0.005075967788696289,
0.005031936168670655,
0.005049344062805176,
0.005039103984832764,
0.005070847988128662,
0.005021696090698242,
0.005059584140777588,
0.005145599842071533,
0.005064703941345215,
0.005172224044799805,
0.0052715520858764645,
0.005314559936523438,
0.005239808082580567,
0.005278719902038574,
0.005274623870849609,
0.005246975898742676,
0.005273600101470947,
0.005275648117065429,
0.005246975898742676,
0.005262335777282715,
0.005286911964416504,
0.005248000144958496,
0.005263455867767334,
0.005265408039093018,
0.005230591773986816,
0.005188608169555664,
0.0051701760292053225,
0.005244927883148193,
0.005220352172851562,
0.005246975898742676,
0.005274623870849609,
0.005255167961120606,
0.005245952129364013,
0.005268479824066162,
0.0052408318519592285,
0.005239808082580567,
0.005281792163848877,
0.005248000144958496,
0.005219327926635742,
0.005262335777282715,
0.005255167961120606,
0.005251071929931641,
0.0052633600234985355,
0.005283840179443359,
0.005283840179443359,
0.005238783836364746,
0.005260287761688232,
0.0052336640357971195,
0.0052295680046081545,
0.005262335777282715,
0.005232639789581299,
0.005242879867553711,
0.005273600101470947,
0.005238783836364746,
0.005265408039093018,
0.005292031764984131,
0.005216256141662597,
0.005276671886444092,
0.0053350400924682614,
0.0052295680046081545,
0.005237760066986084,
0.005278719902038574,
0.005285888195037842,
0.005228544235229492,
0.005242879867553711,
0.005273600101470947,
0.005250048160552978,
0.005249023914337158,
0.0053043198585510255,
0.005261312007904053,
0.005258240222930908,
0.005275648117065429,
0.005645311832427978,
0.005252096176147461,
0.005254144191741943,
0.005238783836364746,
0.005259263992309571,
0.005273600101470947,
0.005237760066986084,
0.005268479824066162,
0.005355519771575928,
0.005276671886444092,
0.005281792163848877,
0.0053002238273620605,
0.005282815933227539,
0.005227519989013672,
0.005295104026794434,
0.00521830415725708,
0.005242879867553711,
0.005165056228637695,
0.005139455795288086,
0.005092351913452148,
0.005139455795288086,
0.005131264209747314,
0.005195775985717774,
0.005081088066101074,
0.005074944019317627,
0.005178463935852051,
0.005125120162963868,
0.005189631938934326,
0.005319680213928223,
0.005241856098175048,
0.005214208126068115,
0.005259263992309571,
0.005310463905334473,
0.005275648117065429,
0.005294079780578613,
0.005287936210632324,
0.005254144191741943,
0.00521830415725708,
0.005220352172851562,
0.005252096176147461,
0.00520908784866333,
0.0052295680046081545,
0.0052008957862854,
0.005227519989013672,
0.0052295680046081545,
0.005234687805175781,
0.005195775985717774,
0.005251071929931641,
0.005291007995605469,
0.005212160110473632,
0.005372928142547607,
0.005265408039093018,
0.005214208126068115,
0.005239808082580567,
0.005277696132659912,
0.005214272022247314,
0.005224448204040527,
0.005511168003082275,
0.005246975898742676,
0.005249023914337158,
0.00521727991104126,
0.0052408318519592285,
0.005212160110473632,
0.005244927883148193,
0.005165056228637695,
0.0051998720169067385,
0.005186560153961181,
0.005241856098175048,
0.005221375942230225,
0.0052408318519592285
]
},
"throughput": {
"unit": "samples/s",
"value": 190.36299988848998
},
"energy": {
"unit": "kWh",
"cpu": 6.072787223038851e-08,
"ram": 3.320341103790901e-08,
"gpu": 1.264545171179498e-07,
"total": 2.2038580038624733e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4537497.41701781
}
}
}
}