IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3fba8ac verified
raw
history blame
13.8 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 787.402752,
"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.67660546875,
"mean": 7.67660546875,
"stdev": 0.0,
"p50": 7.67660546875,
"p90": 7.67660546875,
"p95": 7.67660546875,
"p99": 7.67660546875,
"values": [
7.67660546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.3556948993056815e-06,
"ram": 1.274983253241829e-06,
"gpu": 3.1258358340001922e-06,
"total": 6.756513986547703e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1042.86208,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 186,
"total": 1.0044766368865965,
"mean": 0.005400412026272026,
"stdev": 0.00018772734302751904,
"p50": 0.00541593599319458,
"p90": 0.005518847942352295,
"p95": 0.005796608090400696,
"p99": 0.006138163137435913,
"values": [
0.006174719810485839,
0.006131711959838867,
0.0058009600639343266,
0.005783552169799804,
0.005923840045928955,
0.005904384136199951,
0.005967872142791748,
0.005858304023742676,
0.006239232063293457,
0.0057415680885314945,
0.0052705597877502446,
0.005261312007904053,
0.005239808082580567,
0.005232639789581299,
0.005259263992309571,
0.005235712051391602,
0.005212160110473632,
0.005256192207336426,
0.005237760066986084,
0.005212160110473632,
0.00526643180847168,
0.005264383792877197,
0.005227519989013672,
0.005248000144958496,
0.005269504070281982,
0.005995615959167481,
0.005586944103240967,
0.005605375766754151,
0.005826560020446778,
0.005590015888214111,
0.005506048202514649,
0.005570559978485107,
0.005468160152435303,
0.005475327968597412,
0.005526527881622314,
0.0054568958282470706,
0.005495808124542236,
0.005459968090057373,
0.005471231937408447,
0.005511168003082275,
0.005467135906219483,
0.0054906878471374515,
0.005530623912811279,
0.005429247856140137,
0.005511168003082275,
0.005442592144012451,
0.005431295871734619,
0.005475327968597412,
0.005441535949707031,
0.005458943843841553,
0.005493760108947754,
0.005454847812652588,
0.005469183921813964,
0.005448703765869141,
0.005417984008789062,
0.005440512180328369,
0.005409791946411133,
0.005400576114654541,
0.005462016105651855,
0.005434368133544922,
0.005468160152435303,
0.005464064121246338,
0.00542310380935669,
0.005409791946411133,
0.005447679996490478,
0.005416959762573242,
0.005420032024383545,
0.005441535949707031,
0.00541593599319458,
0.005422080039978027,
0.005425151824951172,
0.0053975038528442385,
0.0054609918594360355,
0.005391359806060791,
0.005388288021087646,
0.005465087890625,
0.005393407821655274,
0.005390336036682129,
0.005448703765869141,
0.005414912223815918,
0.005433343887329102,
0.005430272102355957,
0.005447679996490478,
0.005476352214813233,
0.005434368133544922,
0.0054282240867614745,
0.005450751781463623,
0.005407743930816651,
0.005420032024383545,
0.005421055793762207,
0.0053821439743042,
0.005436416149139404,
0.005486591815948487,
0.005420032024383545,
0.005446656227111817,
0.005435391902923584,
0.005401599884033203,
0.005508096218109131,
0.005421055793762207,
0.0054271998405456545,
0.005540863990783691,
0.00547430419921875,
0.005451776027679443,
0.005458943843841553,
0.005451776027679443,
0.005413887977600097,
0.005476352214813233,
0.005430272102355957,
0.005499904155731201,
0.005450751781463623,
0.005443583965301513,
0.005447679996490478,
0.005446656227111817,
0.005433343887329102,
0.005452799797058106,
0.005442560195922852,
0.005448703765869141,
0.005272575855255127,
0.005265408039093018,
0.005269504070281982,
0.0052367358207702636,
0.005198847770690918,
0.005206016063690186,
0.00522547197341919,
0.005214208126068115,
0.00520908784866333,
0.00536678409576416,
0.005455872058868408,
0.005371903896331787,
0.005430272102355957,
0.005389311790466309,
0.005395455837249756,
0.005429247856140137,
0.005400576114654541,
0.005389311790466309,
0.005395455837249756,
0.00536678409576416,
0.005386240005493164,
0.00541593599319458,
0.0053821439743042,
0.005386271953582764,
0.005413887977600097,
0.00537497615814209,
0.005403647899627686,
0.00536575984954834,
0.005395455837249756,
0.00537395191192627,
0.005370880126953125,
0.00537395191192627,
0.0052408318519592285,
0.005208064079284668,
0.005189631938934326,
0.0052070398330688475,
0.005227519989013672,
0.005206016063690186,
0.005169151782989502,
0.005202943801879883,
0.005194752216339111,
0.005173247814178467,
0.005221375942230225,
0.005171199798583984,
0.005175295829772949,
0.005198847770690918,
0.005208064079284668,
0.005192736148834229,
0.005215231895446777,
0.005227519989013672,
0.00520908784866333,
0.0053606400489807126,
0.0054271998405456545,
0.0053647360801696775,
0.005370880126953125,
0.005181439876556396,
0.005145599842071533,
0.005130239963531494,
0.005163008213043213,
0.005115903854370117,
0.0051333122253417966,
0.005144576072692871,
0.0051333122253417966,
0.005131264209747314,
0.005148672103881836,
0.005172224044799805,
0.005157887935638428,
0.005144576072692871,
0.005220352172851562
]
},
"throughput": {
"unit": "samples/s",
"value": 185.17105641850682
},
"energy": {
"unit": "kWh",
"cpu": 6.113009711483422e-08,
"ram": 3.342060842993924e-08,
"gpu": 1.2344368409278322e-07,
"total": 2.1799438963755664e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4587274.019586591
}
}
}
}