IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3ec7739 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.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": 713.895936,
"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.17416552734375,
"mean": 7.17416552734375,
"stdev": 0.0,
"p50": 7.17416552734375,
"p90": 7.17416552734375,
"p95": 7.17416552734375,
"p99": 7.17416552734375,
"values": [
7.17416552734375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.311189254124959e-07,
"ram": 4.944443684631969e-07,
"gpu": 1.6555568800001585e-06,
"total": 3.0811201738758514e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.139712,
"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.002822815418243,
"mean": 0.005305940822318747,
"stdev": 0.0002820830358686459,
"p50": 0.005239808082580567,
"p90": 0.005542502403259277,
"p95": 0.005610086345672608,
"p99": 0.006030336055755623,
"values": [
0.007494656085968018,
0.007621632099151611,
0.005765120029449463,
0.005504000186920166,
0.005477375984191894,
0.005447679996490478,
0.005772287845611572,
0.0056555519104003905,
0.005830656051635743,
0.005582848072052002,
0.005560319900512695,
0.005509119987487793,
0.005660672187805176,
0.005342207908630371,
0.0053309440612792965,
0.0053678078651428224,
0.005190656185150146,
0.00516812801361084,
0.005117951869964599,
0.005276671886444092,
0.005279744148254394,
0.005265408039093018,
0.005372928142547607,
0.005187583923339844,
0.005362688064575195,
0.005378047943115235,
0.005328896045684814,
0.005125120162963868,
0.005192704200744629,
0.0052336640357971195,
0.005419007778167725,
0.0054609918594360355,
0.0053350400924682614,
0.00542310380935669,
0.005388288021087646,
0.005341184139251709,
0.00531660795211792,
0.00526643180847168,
0.005251071929931641,
0.005332992076873779,
0.0053012480735778805,
0.00526643180847168,
0.005294079780578613,
0.005230591773986816,
0.00510975980758667,
0.005171199798583984,
0.005171199798583984,
0.0051435518264770505,
0.005248000144958496,
0.0053678078651428224,
0.005127168178558349,
0.005220352172851562,
0.005232639789581299,
0.005164031982421875,
0.0052705278396606445,
0.005345280170440674,
0.0055244798660278325,
0.005532671928405761,
0.005568511962890625,
0.005594111919403076,
0.00553984022140503,
0.00535756778717041,
0.005380127906799316,
0.005449728012084961,
0.005609471797943116,
0.005569536209106446,
0.005576704025268555,
0.005610496044158936,
0.005442560195922852,
0.005258240222930908,
0.005189631938934326,
0.005135359764099121,
0.00521830415725708,
0.005227519989013672,
0.00520908784866333,
0.005346303939819336,
0.005347328186035156,
0.005216256141662597,
0.005210112094879151,
0.005216256141662597,
0.005231616020202637,
0.005232639789581299,
0.005242879867553711,
0.005258240222930908,
0.0052674560546875,
0.005181439876556396,
0.005326848030090332,
0.005346303939819336,
0.005540863990783691,
0.0053340158462524415,
0.005379072189331055,
0.005381120204925537,
0.00535756778717041,
0.005343232154846191,
0.005352447986602784,
0.005659647941589355,
0.005549056053161621,
0.005391359806060791,
0.00536575984954834,
0.0055203838348388675,
0.005425151824951172,
0.005361663818359375,
0.005310463905334473,
0.005202943801879883,
0.00517632007598877,
0.005371903896331787,
0.005559296131134033,
0.005274623870849609,
0.005129216194152832,
0.005124095916748047,
0.00510975980758667,
0.005204991817474365,
0.005337088108062744,
0.005261312007904053,
0.005398528099060058,
0.005407743930816651,
0.005370880126953125,
0.00542310380935669,
0.005483520030975342,
0.005619711875915527,
0.0053975038528442385,
0.005239808082580567,
0.0051476478576660155,
0.00526643180847168,
0.0051701760292053225,
0.005287936210632324,
0.0053012480735778805,
0.0051138558387756345,
0.005156864166259765,
0.005174272060394287,
0.005163008213043213,
0.005164031982421875,
0.00511078405380249,
0.005148672103881836,
0.0051660799980163576,
0.0051333122253417966,
0.005197824001312256,
0.0051066880226135255,
0.005148672103881836,
0.005148672103881836,
0.005184512138366699,
0.0051660799980163576,
0.005101568222045898,
0.005108736038208008,
0.00515993595123291,
0.0052899842262268066,
0.005145599842071533,
0.005156864166259765,
0.005238783836364746,
0.005100543975830078,
0.005193727970123291,
0.00511897611618042,
0.005116928100585938,
0.0051404800415039064,
0.005145599842071533,
0.0051404800415039064,
0.005138432025909424,
0.005163008213043213,
0.00511078405380249,
0.005123072147369385,
0.005174272060394287,
0.0051435518264770505,
0.00517632007598877,
0.005219327926635742,
0.005132287979125977,
0.005125120162963868,
0.005131264209747314,
0.005124095916748047,
0.005142528057098389,
0.005130239963531494,
0.005090303897857666,
0.005121024131774903,
0.005124095916748047,
0.00509657621383667,
0.0051138558387756345,
0.00516096019744873,
0.005149695873260498,
0.005132287979125977,
0.005173247814178467,
0.005083136081695557,
0.0050954241752624516,
0.005107711791992187,
0.005161983966827393,
0.005377024173736572,
0.005111807823181152,
0.005117951869964599,
0.005306367874145508,
0.005125120162963868,
0.005141503810882568
]
},
"throughput": {
"unit": "samples/s",
"value": 188.4679896529623
},
"energy": {
"unit": "kWh",
"cpu": 6.333231323897237e-08,
"ram": 3.4625494751960784e-08,
"gpu": 1.2712725559357755e-07,
"total": 2.250850635845107e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4442764.81111124
}
}
}
}