IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
61321ec verified
raw
history blame
13.9 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.752576,
"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.14304638671875,
"mean": 7.14304638671875,
"stdev": 0.0,
"p50": 7.14304638671875,
"p90": 7.14304638671875,
"p95": 7.14304638671875,
"p99": 7.14304638671875,
"values": [
7.14304638671875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.336296055052017e-07,
"ram": 4.960487606743413e-07,
"gpu": 1.6772235640000535e-06,
"total": 3.1069019301795967e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.004544,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 188,
"total": 1.001772160053253,
"mean": 0.005328575319432198,
"stdev": 0.00020680077390644672,
"p50": 0.005315072059631347,
"p90": 0.00557404170036316,
"p95": 0.005653094530105591,
"p99": 0.005896038255691527,
"values": [
0.005649407863616943,
0.005808127880096436,
0.005526559829711914,
0.005422080039978027,
0.005471231937408447,
0.005425151824951172,
0.005440544128417968,
0.005500927925109863,
0.005393407821655274,
0.005399551868438721,
0.005467135906219483,
0.005408768177032471,
0.005395455837249756,
0.005409791946411133,
0.005361663818359375,
0.0053534722328186036,
0.005386240005493164,
0.005261312007904053,
0.0052408318519592285,
0.005194752216339111,
0.005278719902038574,
0.005283840179443359,
0.0053309440612792965,
0.005354496002197265,
0.005359615802764893,
0.0053821439743042,
0.005328896045684814,
0.0052971520423889164,
0.005268479824066162,
0.005224448204040527,
0.005319680213928223,
0.005393407821655274,
0.00532480001449585,
0.005350399971008301,
0.00537497615814209,
0.005314559936523438,
0.005650432109832764,
0.005523488044738769,
0.005475327968597412,
0.005534719944000244,
0.005502975940704345,
0.005494783878326416,
0.005525504112243652,
0.005354496002197265,
0.005336063861846924,
0.005400576114654541,
0.005560319900512695,
0.005594111919403076,
0.005378047943115235,
0.005411839962005615,
0.005850111961364746,
0.005694464206695556,
0.005769216060638428,
0.005559296131134033,
0.005526527881622314,
0.005391359806060791,
0.005321728229522705,
0.005441535949707031,
0.005650432109832764,
0.005431295871734619,
0.005391359806060791,
0.005499904155731201,
0.005473279953002929,
0.005489664077758789,
0.005497856140136719,
0.005508096218109131,
0.005654528141021729,
0.005448703765869141,
0.0053647360801696775,
0.0054241280555725096,
0.005545983791351319,
0.005605375766754151,
0.005561344146728516,
0.005533696174621582,
0.0053043198585510255,
0.005253119945526123,
0.005268479824066162,
0.005275648117065429,
0.005315584182739258,
0.005296127796173096,
0.005314559936523438,
0.005302271842956543,
0.005261312007904053,
0.005863423824310303,
0.005547008037567139,
0.005640192031860352,
0.0055285758972167965,
0.005730303764343261,
0.0056145920753479005,
0.005557248115539551,
0.006114304065704346,
0.006153215885162353,
0.005807104110717773,
0.0055582718849182125,
0.005565440177917481,
0.005463039875030518,
0.005345280170440674,
0.005368832111358642,
0.005178368091583252,
0.005150720119476319,
0.00531660795211792,
0.005384191989898681,
0.005404672145843506,
0.005150720119476319,
0.005154816150665284,
0.0051333122253417966,
0.0051660799980163576,
0.00520908784866333,
0.00551526403427124,
0.005375999927520752,
0.005396480083465576,
0.005381152153015136,
0.005391359806060791,
0.005518335819244385,
0.005532671928405761,
0.005344255924224854,
0.0053043198585510255,
0.005197824001312256,
0.005138432025909424,
0.005190656185150146,
0.005130239963531494,
0.005135359764099121,
0.005231616020202637,
0.005155839920043945,
0.005163008213043213,
0.005152768135070801,
0.005186560153961181,
0.005154816150665284,
0.005125120162963868,
0.005187583923339844,
0.00510975980758667,
0.005112832069396973,
0.005627903938293457,
0.005606400012969971,
0.0051333122253417966,
0.005130239963531494,
0.005104640007019043,
0.005094399929046631,
0.005096447944641113,
0.005165056228637695,
0.005125120162963868,
0.005130239963531494,
0.005138432025909424,
0.005129216194152832,
0.005092351913452148,
0.005119999885559082,
0.005144576072692871,
0.005123072147369385,
0.005128191947937012,
0.0051036162376403805,
0.005123072147369385,
0.005094399929046631,
0.005116928100585938,
0.0051404800415039064,
0.005124095916748047,
0.005129216194152832,
0.005104640007019043,
0.005139455795288086,
0.005101568222045898,
0.005137407779693603,
0.0051660799980163576,
0.005142528057098389,
0.005116928100585938,
0.005100543975830078,
0.005150720119476319,
0.005111807823181152,
0.00511897611618042,
0.00515174388885498,
0.00510975980758667,
0.0051066880226135255,
0.00511897611618042,
0.005152768135070801,
0.005129216194152832,
0.00511078405380249,
0.004988927841186524,
0.005135359764099121,
0.005114880084991455,
0.0051138558387756345,
0.005145599842071533,
0.00511078405380249,
0.00511078405380249,
0.005137407779693603,
0.005134335994720459,
0.005102591991424561,
0.005145599842071533,
0.005181439876556396,
0.005116928100585938,
0.005132287979125977
]
},
"throughput": {
"unit": "samples/s",
"value": 187.66742328915
},
"energy": {
"unit": "kWh",
"cpu": 5.899451265287637e-08,
"ram": 3.225283474797195e-08,
"gpu": 1.2740474537313477e-07,
"total": 2.1865209277398309e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4573475.548819388
}
}
}
}