IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
93e6516 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.2",
"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.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 713.510912,
"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.1939453125,
"mean": 7.1939453125,
"stdev": 0.0,
"p50": 7.1939453125,
"p90": 7.1939453125,
"p95": 7.1939453125,
"p99": 7.1939453125,
"values": [
7.1939453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.331032633781434e-07,
"ram": 4.888891604321088e-07,
"gpu": 1.912779307998956e-06,
"total": 3.3347717318092086e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 880.39424,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 190,
"total": 1.0035242929458619,
"mean": 0.00528170680497822,
"stdev": 0.0001234737445792862,
"p50": 0.005237247943878174,
"p90": 0.005372108697891236,
"p95": 0.005548288154602051,
"p99": 0.005774745597839353,
"values": [
0.00572211217880249,
0.0059023361206054685,
0.0056483840942382815,
0.005673984050750733,
0.005583871841430664,
0.00553984022140503,
0.005598207950592041,
0.006044672012329101,
0.005679103851318359,
0.0053647360801696775,
0.00536575984954834,
0.0054241280555725096,
0.005332992076873779,
0.005388288021087646,
0.005390336036682129,
0.005332992076873779,
0.005356544017791748,
0.00537395191192627,
0.005343232154846191,
0.005344255924224854,
0.005386240005493164,
0.0053534722328186036,
0.005412864208221436,
0.00531660795211792,
0.005352447986602784,
0.005400576114654541,
0.0053821439743042,
0.005306367874145508,
0.005351424217224121,
0.00521830415725708,
0.005252096176147461,
0.005348351955413819,
0.005318655967712403,
0.005315584182739258,
0.005337088108062744,
0.005310463905334473,
0.005295104026794434,
0.005313536167144775,
0.005321728229522705,
0.005319680213928223,
0.005321728229522705,
0.005321728229522705,
0.0051773438453674315,
0.00520908784866333,
0.005213183879852295,
0.005165056228637695,
0.005219327926635742,
0.005253119945526123,
0.005193727970123291,
0.005230591773986816,
0.005222400188446045,
0.0051998720169067385,
0.0052070398330688475,
0.005220352172851562,
0.0052336640357971195,
0.005188608169555664,
0.005204991817474365,
0.005214208126068115,
0.005181439876556396,
0.005215231895446777,
0.005227519989013672,
0.005214208126068115,
0.0051998720169067385,
0.005216256141662597,
0.005212160110473632,
0.005206016063690186,
0.005235712051391602,
0.00522547197341919,
0.005192704200744629,
0.005213183879852295,
0.00522547197341919,
0.005188608169555664,
0.005192704200744629,
0.005237760066986084,
0.0051968002319335935,
0.005189631938934326,
0.005255167961120606,
0.005322751998901368,
0.00530841588973999,
0.005331967830657959,
0.005291007995605469,
0.005276671886444092,
0.005284863948822022,
0.005319680213928223,
0.005284863948822022,
0.005296127796173096,
0.005294079780578613,
0.005296127796173096,
0.005294079780578613,
0.00530944013595581,
0.005293087959289551,
0.005311488151550293,
0.005284863948822022,
0.005291007995605469,
0.005371903896331787,
0.005321728229522705,
0.005345280170440674,
0.0053350400924682614,
0.005239808082580567,
0.005193727970123291,
0.005192704200744629,
0.005237760066986084,
0.005210112094879151,
0.005192704200744629,
0.005189631938934326,
0.005223423957824707,
0.005206016063690186,
0.005192704200744629,
0.005215231895446777,
0.005210112094879151,
0.005239808082580567,
0.005224448204040527,
0.005206016063690186,
0.005206016063690186,
0.0052674560546875,
0.005232639789581299,
0.005197824001312256,
0.005208064079284668,
0.005269504070281982,
0.005181439876556396,
0.005287936210632324,
0.005758975982666016,
0.005294079780578613,
0.0055552000999450684,
0.0052705278396606445,
0.005216256141662597,
0.005212160110473632,
0.0052674560546875,
0.005231616020202637,
0.00522649621963501,
0.005248000144958496,
0.005203968048095703,
0.005295104026794434,
0.005280767917633057,
0.005210112094879151,
0.00520908784866333,
0.005262335777282715,
0.0052008957862854,
0.005216256141662597,
0.005208064079284668,
0.005228544235229492,
0.005186560153961181,
0.005234687805175781,
0.005220352172851562,
0.005227519989013672,
0.0052111358642578124,
0.0052367358207702636,
0.005187583923339844,
0.005210112094879151,
0.005212160110473632,
0.0051968002319335935,
0.005181439876556396,
0.005214208126068115,
0.005311488151550293,
0.0051968002319335935,
0.0052306241989135745,
0.005265408039093018,
0.005237760066986084,
0.005231616020202637,
0.005303296089172363,
0.005279744148254394,
0.005190656185150146,
0.005202943801879883,
0.005245952129364013,
0.0052633600234985355,
0.005259263992309571,
0.005265408039093018,
0.005284863948822022,
0.005231616020202637,
0.005213183879852295,
0.005210112094879151,
0.005220352172851562,
0.005224448204040527,
0.005195839881896973,
0.005249023914337158,
0.0052408318519592285,
0.005219327926635742,
0.005221375942230225,
0.005216256141662597,
0.005233727931976319,
0.005224448204040527,
0.005215231895446777,
0.0052715520858764645,
0.00520908784866333,
0.00521727991104126,
0.0052367358207702636,
0.00520908784866333,
0.0052111358642578124,
0.005328896045684814,
0.005306367874145508
]
},
"throughput": {
"unit": "samples/s",
"value": 189.33273597418545
},
"energy": {
"unit": "kWh",
"cpu": 6.033013213911234e-08,
"ram": 3.2984613955630115e-08,
"gpu": 1.3299503025380655e-07,
"total": 2.2630977634854903e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4418722.054940564
}
}
}
}