IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
62c8d7b verified
raw
history blame
13.4 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 817.262592,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"values": [
0.08028569793701172
],
"count": 1,
"total": 0.08028569793701172,
"mean": 0.08028569793701172,
"p50": 0.08028569793701172,
"p90": 0.08028569793701172,
"p95": 0.08028569793701172,
"p99": 0.08028569793701172,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010697389408263911,
"ram": 5.861016307564481e-05,
"gpu": 0.00013972038955400003,
"total": 0.0003053044467122839
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1064.087552,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 452.872192
},
"latency": {
"unit": "s",
"values": [
0.006039552211761475,
0.005647359848022461,
0.005640192031860352,
0.005681151866912842,
0.005636096000671387,
0.005652575969696045,
0.005634047985076904,
0.005690368175506591,
0.005718016147613526,
0.005640192031860352,
0.005652480125427246,
0.005586944103240967,
0.00563097620010376,
0.005703680038452149,
0.005631999969482422,
0.005643263816833496,
0.005798912048339844,
0.005703680038452149,
0.005574656009674072,
0.005562496185302734,
0.005568511962890625,
0.005575679779052735,
0.005687295913696289,
0.005619711875915527,
0.005785600185394287,
0.005679103851318359,
0.005693439960479736,
0.005698560237884521,
0.005682176113128662,
0.0057118721008300784,
0.005615615844726562,
0.005629951953887939,
0.005653503894805908,
0.005754879951477051,
0.005808127880096436,
0.005590015888214111,
0.005590015888214111,
0.005535744190216065,
0.005552127838134766,
0.00557260799407959,
0.0055511040687561035,
0.0055552000999450684,
0.005615615844726562,
0.005559296131134033,
0.005607423782348633,
0.005588992118835449,
0.005610496044158936,
0.005654528141021729,
0.005600351810455323,
0.005631999969482422,
0.005574656009674072,
0.005552127838134766,
0.005746687889099121,
0.005553152084350586,
0.0055808000564575196,
0.005534719944000244,
0.00570470380783081,
0.005576704025268555,
0.005618720054626465,
0.005662720203399658,
0.005578752040863037,
0.005725183963775635,
0.005727231979370117,
0.0058122239112854005,
0.005966847896575928,
0.006744063854217529,
0.006081535816192627,
0.006475776195526123,
0.0065177597999572755,
0.006500351905822754,
0.006029344081878662,
0.005857279777526855,
0.0059351038932800295,
0.00607539176940918,
0.005796864032745362,
0.0059658241271972655,
0.005786623954772949,
0.005865471839904785,
0.005811200141906738,
0.00587059211730957,
0.005801983833312988,
0.005922815799713135,
0.005806079864501953,
0.005852159976959229,
0.00591974401473999,
0.005888000011444092,
0.005856256008148194,
0.005853184223175049,
0.005848095893859863,
0.005859327793121338,
0.005867519855499268,
0.005844992160797119,
0.006012928009033203,
0.0058429441452026365,
0.005924863815307617,
0.006023168087005615,
0.005835775852203369,
0.005833727836608887,
0.005889023780822754,
0.005806079864501953,
0.005864448070526123,
0.0058419198989868165,
0.005889023780822754,
0.005829631805419922,
0.005844992160797119,
0.00587059211730957,
0.005837823867797852,
0.005855231761932373,
0.005886079788208008,
0.00582041597366333,
0.005846015930175781,
0.005889023780822754,
0.006012928009033203,
0.005934080123901367,
0.005943295955657959,
0.005873663902282715,
0.005856256008148194,
0.006089824199676514,
0.007612415790557861,
0.007359488010406494,
0.006318079948425293,
0.0059391999244689945,
0.005980160236358643,
0.005903359889984131,
0.005943295955657959,
0.006178815841674804,
0.005967872142791748,
0.0059391999244689945,
0.006073344230651856,
0.005900288105010986,
0.005916672229766846,
0.006159359931945801,
0.005913599967956543,
0.005907455921173096,
0.005964799880981446,
0.00586956787109375,
0.005874688148498535,
0.005859327793121338,
0.005844992160797119,
0.005819392204284668,
0.005899263858795166,
0.005843967914581299,
0.00586137580871582,
0.005831679821014404,
0.005865471839904785,
0.0058009600639343266,
0.0058716158866882326,
0.005844992160797119,
0.0059996161460876465,
0.0058419198989868165,
0.005943295955657959,
0.005859327793121338,
0.005817344188690185,
0.0058787841796875,
0.005832704067230224,
0.005874688148498535,
0.0058419198989868165,
0.005886975765228271,
0.005844128131866455,
0.005881855964660645,
0.005843967914581299,
0.005868544101715088,
0.005921792030334472,
0.005876736164093017,
0.0059064321517944334,
0.0059023361206054685,
0.005850111961364746,
0.005917695999145508,
0.005851136207580566,
0.005931007862091065,
0.005844992160797119,
0.005745664119720459
],
"count": 172,
"total": 1.0041782054901132,
"mean": 0.005838245380756467,
"p50": 0.005844048023223877,
"p90": 0.006011596822738647,
"p95": 0.006121115279197692,
"p99": 0.006922536859512324,
"stdev": 0.00025894927564575965,
"stdev_": 4.435395547081431
},
"throughput": {
"unit": "samples/s",
"value": 342.56867767021777
},
"energy": {
"unit": "kWh",
"cpu": 6.86875320809253e-08,
"ram": 3.7536321593056106e-08,
"gpu": 1.571420653410383e-07,
"total": 2.6336591901501956e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7593997.004167959
}
}
}
}