IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f2840fb 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.568256,
"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.12595361328125,
"mean": 7.12595361328125,
"stdev": 0.0,
"p50": 7.12595361328125,
"p90": 7.12595361328125,
"p95": 7.12595361328125,
"p99": 7.12595361328125,
"values": [
7.12595361328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.187709954049852e-07,
"ram": 4.873202499717877e-07,
"gpu": 1.73944583600023e-06,
"total": 3.1455370813770033e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.836608,
"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.0014945602416994,
"mean": 0.005298913017151847,
"stdev": 0.000214307347449809,
"p50": 0.005256192207336426,
"p90": 0.005548236656188965,
"p95": 0.005587763214111328,
"p99": 0.005992120265960694,
"values": [
0.00571289587020874,
0.005975039958953857,
0.005530623912811279,
0.005504000186920166,
0.0054609918594360355,
0.005434368133544922,
0.005535744190216065,
0.005416959762573242,
0.005449728012084961,
0.0054568958282470706,
0.0053944320678710935,
0.005431295871734619,
0.00535859203338623,
0.005332992076873779,
0.0053606400489807126,
0.005336063861846924,
0.005219327926635742,
0.005171199798583984,
0.00522649621963501,
0.005268479824066162,
0.005294079780578613,
0.00611737585067749,
0.005548031806945801,
0.005617663860321045,
0.005553152084350586,
0.005597184181213379,
0.005492735862731934,
0.0054241280555725096,
0.0055214080810546875,
0.005573631763458252,
0.005602303981781006,
0.005597184181213379,
0.00553984022140503,
0.0055511040687561035,
0.00568832015991211,
0.00551423978805542,
0.005569536209106446,
0.005486591815948487,
0.005565440177917481,
0.005538815975189209,
0.0054988799095153805,
0.0055214080810546875,
0.005398528099060058,
0.0053637118339538575,
0.005484543800354004,
0.005436416149139404,
0.005527552127838135,
0.005380095958709717,
0.005439487934112549,
0.005502975940704345,
0.005463039875030518,
0.00546611213684082,
0.005549056053161621,
0.005535744190216065,
0.005571584224700928,
0.0055623679161071774,
0.0055316481590271,
0.005512191772460938,
0.005445631980895996,
0.005495808124542236,
0.005500927925109863,
0.005332992076873779,
0.00531660795211792,
0.00535756778717041,
0.005281792163848877,
0.00531660795211792,
0.005381120204925537,
0.005208064079284668,
0.005139455795288086,
0.005256192207336426,
0.005248000144958496,
0.005238783836364746,
0.005399551868438721,
0.005272575855255127,
0.005165056228637695,
0.005232639789581299,
0.005254144191741943,
0.0052367358207702636,
0.005286911964416504,
0.005265408039093018,
0.005249023914337158,
0.0052408318519592285,
0.005295104026794434,
0.005386240005493164,
0.005378047943115235,
0.005380095958709717,
0.005352447986602784,
0.005328896045684814,
0.00537497615814209,
0.005321760177612305,
0.0052715520858764645,
0.005379072189331055,
0.005275648117065429,
0.005192704200744629,
0.005283840179443359,
0.005276671886444092,
0.005179391860961914,
0.00515174388885498,
0.005127168178558349,
0.005001215934753418,
0.004997119903564453,
0.005173247814178467,
0.005281792163848877,
0.005067776203155518,
0.004975615978240967,
0.004937727928161621,
0.004940800189971924,
0.004927487850189209,
0.0050135040283203125,
0.004941823959350586,
0.005287936210632324,
0.00555622386932373,
0.005483520030975342,
0.005379072189331055,
0.005857279777526855,
0.006562816143035889,
0.00552345609664917,
0.005313536167144775,
0.005282815933227539,
0.005223423957824707,
0.0051701760292053225,
0.005161983966827393,
0.005248000144958496,
0.0051773438453674315,
0.005134335994720459,
0.005128191947937012,
0.005187583923339844,
0.00511078405380249,
0.005111807823181152,
0.005172224044799805,
0.00511078405380249,
0.0052633600234985355,
0.0052070398330688475,
0.005127168178558349,
0.00517632007598877,
0.00510975980758667,
0.005146624088287354,
0.005193727970123291,
0.005092351913452148,
0.005102591991424561,
0.005125120162963868,
0.005114880084991455,
0.005094399929046631,
0.0051660799980163576,
0.005107711791992187,
0.005088255882263183,
0.005198847770690918,
0.005152768135070801,
0.005186560153961181,
0.005107711791992187,
0.0051363840103149415,
0.005126143932342529,
0.005114880084991455,
0.005112832069396973,
0.005161983966827393,
0.005115903854370117,
0.005105663776397705,
0.005153791904449463,
0.005154816150665284,
0.005144576072692871,
0.005131264209747314,
0.005138432025909424,
0.005131264209747314,
0.0053043198585510255,
0.005173247814178467,
0.0051404800415039064,
0.00530841588973999,
0.005125120162963868,
0.005158912181854248,
0.005111807823181152,
0.005121024131774903,
0.0051404800415039064,
0.005146624088287354,
0.005108736038208008,
0.005108736038208008,
0.005129216194152832,
0.005134335994720459,
0.0051066880226135255,
0.0051333122253417966,
0.005134335994720459,
0.005116928100585938,
0.005150720119476319,
0.005155839920043945,
0.005203968048095703,
0.005105663776397705,
0.005139455795288086,
0.005105663776397705,
0.0051066880226135255,
0.005100543975830078
]
},
"throughput": {
"unit": "samples/s",
"value": 188.71794965554983
},
"energy": {
"unit": "kWh",
"cpu": 6.082694839548182e-08,
"ram": 3.325539556068727e-08,
"gpu": 1.2793315077949033e-07,
"total": 2.2201549473565943e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4504190.129570192
}
}
}
}