IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f471dbf verified
raw
history blame
14.1 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,
"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": 711.82336,
"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.1655576171875,
"mean": 7.1655576171875,
"stdev": 0.0,
"p50": 7.1655576171875,
"p90": 7.1655576171875,
"p95": 7.1655576171875,
"p99": 7.1655576171875,
"values": [
7.1655576171875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.091420306099786e-07,
"ram": 4.823173231056899e-07,
"gpu": 1.7530569579996859e-06,
"total": 3.1445163117153546e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 879.005696,
"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.0013748803138738,
"mean": 0.005242800420491484,
"stdev": 0.0003337158314781796,
"p50": 0.005169151782989502,
"p90": 0.005344255924224854,
"p95": 0.005535232067108154,
"p99": 0.007380582284927367,
"values": [
0.007469056129455566,
0.007556096076965332,
0.007370751857757568,
0.007087103843688965,
0.005599232196807862,
0.005638144016265869,
0.005542912006378174,
0.005527552127838135,
0.005637119770050049,
0.005485568046569824,
0.005493760108947754,
0.005265408039093018,
0.005224448204040527,
0.005235712051391602,
0.005299200057983398,
0.005174272060394287,
0.00506879997253418,
0.005089280128479004,
0.005101568222045898,
0.005154880046844482,
0.00521727991104126,
0.005284863948822022,
0.005244927883148193,
0.005245952129364013,
0.005295104026794434,
0.00521830415725708,
0.00516096019744873,
0.00516096019744873,
0.005169151782989502,
0.005215231895446777,
0.005239808082580567,
0.005252096176147461,
0.005257215976715088,
0.005213183879852295,
0.005272575855255127,
0.005214208126068115,
0.005184512138366699,
0.005222400188446045,
0.005193727970123291,
0.005192704200744629,
0.005257215976715088,
0.005191679954528809,
0.005104640007019043,
0.0050462718009948735,
0.005093376159667969,
0.005044223785400391,
0.005105663776397705,
0.0051404800415039064,
0.005122047901153564,
0.005102591991424561,
0.00516096019744873,
0.00521830415725708,
0.0051660799980163576,
0.005238783836364746,
0.005332992076873779,
0.005265408039093018,
0.005237760066986084,
0.005260320186614991,
0.005242879867553711,
0.0052008957862854,
0.005150720119476319,
0.00521727991104126,
0.005228544235229492,
0.00522547197341919,
0.005292031764984131,
0.0051968002319335935,
0.0052295680046081545,
0.005279744148254394,
0.005193727970123291,
0.005260287761688232,
0.005128191947937012,
0.005165056228637695,
0.005154816150665284,
0.005156864166259765,
0.005302271842956543,
0.005178368091583252,
0.0051363840103149415,
0.005183487892150879,
0.005142528057098389,
0.0051333122253417966,
0.005132319927215576,
0.0051660799980163576,
0.00511897611618042,
0.005152768135070801,
0.005210112094879151,
0.005234687805175781,
0.005302271842956543,
0.005274623870849609,
0.005223423957824707,
0.0052367358207702636,
0.0052408318519592285,
0.005201920032501221,
0.005173247814178467,
0.005193727970123291,
0.00535756778717041,
0.005091328144073487,
0.005089280128479004,
0.00522547197341919,
0.00530944013595581,
0.005268479824066162,
0.0052674560546875,
0.005174272060394287,
0.005152768135070801,
0.005284895896911621,
0.005346303939819336,
0.005197824001312256,
0.0050769920349121095,
0.005108736038208008,
0.005082111835479736,
0.00521830415725708,
0.005190656185150146,
0.005268479824066162,
0.005344255924224854,
0.005294079780578613,
0.005359615802764893,
0.005325823783874512,
0.005395455837249756,
0.005483520030975342,
0.005188608169555664,
0.005086207866668701,
0.005142528057098389,
0.005078015804290771,
0.00511078405380249,
0.0051476478576660155,
0.005331967830657959,
0.005083136081695557,
0.00511897611618042,
0.0051476478576660155,
0.005139455795288086,
0.005081088066101074,
0.005179391860961914,
0.005191679954528809,
0.005122047901153564,
0.0051066880226135255,
0.005137407779693603,
0.005090303897857666,
0.005129216194152832,
0.0051435518264770505,
0.005081088066101074,
0.005066751956939697,
0.00506982421875,
0.005121024131774903,
0.0050954241752624516,
0.005073919773101807,
0.005111807823181152,
0.005094399929046631,
0.005119999885559082,
0.005114880084991455,
0.0051435518264770505,
0.0051138558387756345,
0.005112832069396973,
0.005187583923339844,
0.005138432025909424,
0.005096447944641113,
0.005239808082580567,
0.005112832069396973,
0.00510975980758667,
0.005123072147369385,
0.005066751956939697,
0.005123072147369385,
0.0051138558387756345,
0.005127168178558349,
0.005131264209747314,
0.0051363840103149415,
0.005090303897857666,
0.005070847988128662,
0.005212160110473632,
0.005096447944641113,
0.0050841598510742185,
0.0051363840103149415,
0.0050954241752624516,
0.005131264209747314,
0.005114880084991455,
0.0051036162376403805,
0.005093376159667969,
0.005078015804290771,
0.005123072147369385,
0.005102591991424561,
0.005438464164733887,
0.005675007820129394,
0.005692416191101074,
0.005278719902038574,
0.00511897611618042,
0.005121024131774903,
0.00511897611618042,
0.0051404800415039064,
0.005173247814178467,
0.0051435518264770505,
0.005142528057098389,
0.005137407779693603,
0.0051404800415039064
]
},
"throughput": {
"unit": "samples/s",
"value": 190.73775841084856
},
"energy": {
"unit": "kWh",
"cpu": 5.76366763863363e-08,
"ram": 3.1509165174478825e-08,
"gpu": 1.2232210433009568e-07,
"total": 2.1146794589091077e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4728849.073494413
}
}
}
}