IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
01fa742 verified
raw
history blame
13.6 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.33.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": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 782.934016,
"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.44915771484375,
"mean": 7.44915771484375,
"stdev": 0.0,
"p50": 7.44915771484375,
"p90": 7.44915771484375,
"p95": 7.44915771484375,
"p99": 7.44915771484375,
"values": [
7.44915771484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.515890368046737e-07,
"ram": 5.055163474964837e-07,
"gpu": 1.7616680760002001e-06,
"total": 3.2187734603013577e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.413824,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 180,
"total": 1.0020177907943728,
"mean": 0.005566765504413181,
"stdev": 0.00020028412851727607,
"p50": 0.0055116798877716065,
"p90": 0.005696307373046874,
"p95": 0.005987993645668028,
"p99": 0.006303733649253845,
"values": [
0.0072202239036560055,
0.006319104194641113,
0.0060405759811401364,
0.006067200183868408,
0.006067200183868408,
0.005964799880981446,
0.005908480167388916,
0.005985280036926269,
0.005916672229766846,
0.006299647808074951,
0.005477375984191894,
0.005609471797943116,
0.005459936141967774,
0.005470208168029785,
0.005650432109832764,
0.0055920639038085935,
0.005649407863616943,
0.005554175853729248,
0.006182911872863769,
0.005752831935882568,
0.005599232196807862,
0.005566463947296142,
0.005547008037567139,
0.005479423999786377,
0.005578752040863037,
0.005430272102355957,
0.005568511962890625,
0.005433343887329102,
0.0054609918594360355,
0.005485568046569824,
0.005443583965301513,
0.005470208168029785,
0.005439487934112549,
0.006106112003326416,
0.005588992118835449,
0.005547008037567139,
0.005901311874389649,
0.005747712135314941,
0.005743616104125977,
0.0055920639038085935,
0.00551423978805542,
0.005585919857025146,
0.005543935775756836,
0.005526527881622314,
0.005560319900512695,
0.005400576114654541,
0.005440512180328369,
0.005447679996490478,
0.005426176071166992,
0.005469183921813964,
0.005440544128417968,
0.00546611213684082,
0.005571584224700928,
0.005506048202514649,
0.005492735862731934,
0.005469183921813964,
0.005425151824951172,
0.005465087890625,
0.005422080039978027,
0.005400576114654541,
0.005465087890625,
0.005408768177032471,
0.005390336036682129,
0.005438464164733887,
0.0054876160621643065,
0.005509119987487793,
0.005541888236999512,
0.005495808124542236,
0.005552127838134766,
0.005485568046569824,
0.005495808124542236,
0.005574656009674072,
0.005489664077758789,
0.005517312049865723,
0.005554175853729248,
0.005482495784759522,
0.005581823825836182,
0.005569536209106446,
0.00551423978805542,
0.005550079822540284,
0.005578752040863037,
0.00561356782913208,
0.005536767959594726,
0.005518335819244385,
0.005552127838134766,
0.005479423999786377,
0.005511168003082275,
0.005518335819244385,
0.005505023956298828,
0.005549056053161621,
0.005499904155731201,
0.005484543800354004,
0.006039552211761475,
0.0054876160621643065,
0.005573631763458252,
0.005468160152435303,
0.005508096218109131,
0.005508096218109131,
0.005484543800354004,
0.0055623679161071774,
0.00551526403427124,
0.005475327968597412,
0.00553984022140503,
0.0054988799095153805,
0.005486591815948487,
0.005512191772460938,
0.005464064121246338,
0.005552127838134766,
0.005493760108947754,
0.005477375984191894,
0.005549056053161621,
0.005692416191101074,
0.00557260799407959,
0.005505023956298828,
0.005518335819244385,
0.005536767959594726,
0.005731328010559082,
0.0055203838348388675,
0.005552127838134766,
0.005475327968597412,
0.00556441593170166,
0.005488639831542969,
0.005603328227996827,
0.005591040134429932,
0.005624832153320313,
0.005611519813537597,
0.0055511040687561035,
0.0055552000999450684,
0.005647359848022461,
0.005595136165618897,
0.005619711875915527,
0.00555622386932373,
0.005527552127838135,
0.005554175853729248,
0.005499904155731201,
0.0055511040687561035,
0.00551423978805542,
0.005472256183624268,
0.005586944103240967,
0.005505023956298828,
0.00552243185043335,
0.005518335819244385,
0.005493760108947754,
0.005499904155731201,
0.005512191772460938,
0.005468160152435303,
0.005516287803649903,
0.00547430419921875,
0.005481472015380859,
0.005473279953002929,
0.005468160152435303,
0.005483520030975342,
0.0054988799095153805,
0.005465087890625,
0.005518335819244385,
0.005506048202514649,
0.005488639831542969,
0.005495808124542236,
0.005482495784759522,
0.005488639831542969,
0.005477375984191894,
0.0054568958282470706,
0.005526527881622314,
0.005448703765869141,
0.005455872058868408,
0.005497856140136719,
0.0054876160621643065,
0.005469183921813964,
0.005534719944000244,
0.005464064121246338,
0.00550707197189331,
0.005467135906219483,
0.0054917120933532714,
0.005537792205810547,
0.005465087890625,
0.0054876160621643065,
0.005489664077758789,
0.005458943843841553,
0.005509119987487793,
0.005465087890625
]
},
"throughput": {
"unit": "samples/s",
"value": 179.637529047564
},
"energy": {
"unit": "kWh",
"cpu": 6.509335682616513e-08,
"ram": 3.5586978969341685e-08,
"gpu": 1.3414540646153092e-07,
"total": 2.3482574225703774e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4258476.9045695625
}
}
}
}