IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
76ff6a6 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": 713.609216,
"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.20145703125,
"mean": 7.20145703125,
"stdev": 0.0,
"p50": 7.20145703125,
"p90": 7.20145703125,
"p95": 7.20145703125,
"p99": 7.20145703125,
"values": [
7.20145703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.199869301584032e-07,
"ram": 4.887071236235366e-07,
"gpu": 1.7377791680000046e-06,
"total": 3.1464732217819444e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.627712,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 190,
"total": 0.9999177246093754,
"mean": 0.005262724866365132,
"stdev": 0.000192237248675724,
"p50": 0.005223936080932617,
"p90": 0.005392793416976929,
"p95": 0.00555371515750885,
"p99": 0.005925314378738404,
"values": [
0.0056514558792114256,
0.005756927967071533,
0.00557260799407959,
0.005526527881622314,
0.005463039875030518,
0.005447679996490478,
0.0054876160621643065,
0.005658624172210694,
0.005530623912811279,
0.0054609918594360355,
0.005451776027679443,
0.005928959846496582,
0.0052070398330688475,
0.004985856056213379,
0.004993023872375488,
0.004992000102996826,
0.004964352130889893,
0.004975615978240967,
0.004965375900268554,
0.004965375900268554,
0.004947968006134033,
0.004951039791107178,
0.004951039791107178,
0.00530841588973999,
0.00522547197341919,
0.0052295680046081545,
0.005285888195037842,
0.005224448204040527,
0.005244927883148193,
0.005250048160552978,
0.005235712051391602,
0.005235712051391602,
0.005264383792877197,
0.005214208126068115,
0.005250048160552978,
0.005223423957824707,
0.005230591773986816,
0.00521727991104126,
0.005215231895446777,
0.005249023914337158,
0.0056483840942382815,
0.005327871799468994,
0.005277696132659912,
0.00521830415725708,
0.005224448204040527,
0.005254144191741943,
0.005214208126068115,
0.005215231895446777,
0.00522547197341919,
0.0051773438453674315,
0.005222400188446045,
0.005222400188446045,
0.005286911964416504,
0.005213183879852295,
0.005195775985717774,
0.005234687805175781,
0.005189631938934326,
0.0052408318519592285,
0.00521830415725708,
0.005189631938934326,
0.005647359848022461,
0.005241856098175048,
0.005206048011779785,
0.005232639789581299,
0.005212160110473632,
0.005223423957824707,
0.00522547197341919,
0.005268479824066162,
0.005265408039093018,
0.005219327926635742,
0.005442560195922852,
0.005223423957824707,
0.005230591773986816,
0.005190656185150146,
0.005255167961120606,
0.0051998720169067385,
0.005387263774871826,
0.005924863815307617,
0.005387263774871826,
0.005283840179443359,
0.005244927883148193,
0.005239808082580567,
0.005224448204040527,
0.005261312007904053,
0.005216256141662597,
0.005197824001312256,
0.005228544235229492,
0.005190656185150146,
0.0052111358642578124,
0.005213183879852295,
0.005191679954528809,
0.00521830415725708,
0.005384191989898681,
0.005179391860961914,
0.0052111358642578124,
0.005173247814178467,
0.005198847770690918,
0.005172224044799805,
0.005193727970123291,
0.005206016063690186,
0.005208064079284668,
0.00521727991104126,
0.005234687805175781,
0.005228544235229492,
0.005283840179443359,
0.005215231895446777,
0.005239808082580567,
0.005206016063690186,
0.005212160110473632,
0.005234687805175781,
0.005187583923339844,
0.005725183963775635,
0.005291007995605469,
0.005201920032501221,
0.005212160110473632,
0.0052531838417053224,
0.005227519989013672,
0.005221375942230225,
0.005254144191741943,
0.005181439876556396,
0.00522547197341919,
0.005253119945526123,
0.005212160110473632,
0.005204991817474365,
0.00538316822052002,
0.0052899842262268066,
0.0052715520858764645,
0.005272575855255127,
0.007060480117797851,
0.005525504112243652,
0.0053606400489807126,
0.005306367874145508,
0.005313536167144775,
0.005245952129364013,
0.005262335777282715,
0.0052705278396606445,
0.00522547197341919,
0.00521727991104126,
0.005191679954528809,
0.005279744148254394,
0.00522547197341919,
0.005214208126068115,
0.005255167961120606,
0.0052008957862854,
0.005242879867553711,
0.005259263992309571,
0.005239808082580567,
0.005184512138366699,
0.005206016063690186,
0.005181439876556396,
0.005201920032501221,
0.0052008957862854,
0.00522649621963501,
0.005186560153961181,
0.005201920032501221,
0.005371903896331787,
0.005221375942230225,
0.0052111358642578124,
0.005224448204040527,
0.005191679954528809,
0.005204991817474365,
0.00520908784866333,
0.005239808082580567,
0.005206016063690186,
0.005197824001312256,
0.005213183879852295,
0.005227519989013672,
0.005206079959869385,
0.005215231895446777,
0.005172224044799805,
0.0052070398330688475,
0.005210112094879151,
0.0051968002319335935,
0.005202943801879883,
0.005346303939819336,
0.00520908784866333,
0.005184512138366699,
0.005189631938934326,
0.0052295680046081545,
0.005202943801879883,
0.005227519989013672,
0.005234687805175781,
0.005242879867553711,
0.0052111358642578124,
0.005232639789581299,
0.0052070398330688475,
0.005223423957824707,
0.005204991817474365,
0.005223423957824707,
0.005221375942230225
]
},
"throughput": {
"unit": "samples/s",
"value": 190.01563361048014
},
"energy": {
"unit": "kWh",
"cpu": 6.072338408623694e-08,
"ram": 3.311058916160903e-08,
"gpu": 1.2306132293877328e-07,
"total": 2.1689529618661925e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4610519.534455871
}
}
}
}