IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c8cc3bf verified
raw
history blame
13.7 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": {},
"hub_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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 712.216576,
"max_global_vram": 1218.9696,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.57312
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.15112939453125,
"mean": 7.15112939453125,
"stdev": 0.0,
"p50": 7.15112939453125,
"p90": 7.15112939453125,
"p95": 7.15112939453125,
"p99": 7.15112939453125,
"values": [
7.15112939453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.285012880961102e-07,
"ram": 4.834496537624016e-07,
"gpu": 1.7452791739999349e-06,
"total": 3.157230115858447e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 878.702592,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 183,
"total": 1.0027490248680109,
"mean": 0.005479502868131209,
"stdev": 0.00019125043365667645,
"p50": 0.0054271998405456545,
"p90": 0.005713919925689697,
"p95": 0.005741158485412598,
"p99": 0.005928632297515871,
"values": [
0.00587775993347168,
0.006160384178161621,
0.0055848960876464845,
0.005536767959594726,
0.005540863990783691,
0.0054609918594360355,
0.005502975940704345,
0.00546611213684082,
0.0055848960876464845,
0.00556441593170166,
0.0055285758972167965,
0.005451776027679443,
0.005387263774871826,
0.005384191989898681,
0.005431295871734619,
0.00531660795211792,
0.005246975898742676,
0.0052408318519592285,
0.0052705278396606445,
0.005342207908630371,
0.005411839962005615,
0.005403647899627686,
0.005393407821655274,
0.005444608211517334,
0.005399551868438721,
0.00541593599319458,
0.005339136123657226,
0.005269504070281982,
0.005351424217224121,
0.005362720012664795,
0.0057077760696411135,
0.005691391944885254,
0.005726208209991455,
0.0056852478981018065,
0.0057077760696411135,
0.005652480125427246,
0.005868544101715088,
0.005643263816833496,
0.00572108793258667,
0.00566476821899414,
0.005709824085235596,
0.005569536209106446,
0.005508096218109131,
0.005548031806945801,
0.005606400012969971,
0.0056145920753479005,
0.005544960021972656,
0.005533696174621582,
0.005734399795532226,
0.005629951953887939,
0.005673984050750733,
0.005709824085235596,
0.005736447811126709,
0.005744639873504639,
0.0057149438858032225,
0.006373439788818359,
0.005667840003967285,
0.005636096000671387,
0.005609471797943116,
0.005703680038452149,
0.005718016147613526,
0.005692416191101074,
0.00566476821899414,
0.0056514558792114256,
0.00573747205734253,
0.005689343929290771,
0.0055623679161071774,
0.005629951953887939,
0.005647359848022461,
0.0057077760696411135,
0.005727231979370117,
0.005637119770050049,
0.005640192031860352,
0.0056145920753479005,
0.005633024215698243,
0.00557260799407959,
0.005611519813537597,
0.005600255966186523,
0.005627903938293457,
0.005734399795532226,
0.005744639873504639,
0.005757952213287353,
0.0057415680885314945,
0.00576204776763916,
0.005747712135314941,
0.005661695957183838,
0.0057077760696411135,
0.005658624172210694,
0.005699584007263184,
0.005641215801239013,
0.005605375766754151,
0.005702655792236328,
0.005569536209106446,
0.0055285758972167965,
0.0055316481590271,
0.005338111877441406,
0.0054271998405456545,
0.0055623679161071774,
0.005538815975189209,
0.005305344104766845,
0.005314559936523438,
0.005320703983306885,
0.005311488151550293,
0.005338111877441406,
0.005554175853729248,
0.005508096218109131,
0.005475327968597412,
0.005496831893920898,
0.005574656009674072,
0.005553152084350586,
0.005628928184509278,
0.005696512222290039,
0.005554175853729248,
0.005386240005493164,
0.005321728229522705,
0.005347328186035156,
0.005345280170440674,
0.005286911964416504,
0.005347328186035156,
0.005312511920928955,
0.005602303981781006,
0.005341184139251709,
0.0053647360801696775,
0.005302271842956543,
0.005325823783874512,
0.005299200057983398,
0.005275648117065429,
0.005299200057983398,
0.005307392120361328,
0.005283840179443359,
0.005282815933227539,
0.005282815933227539,
0.0053012480735778805,
0.00530841588973999,
0.00530944013595581,
0.00530841588973999,
0.00531660795211792,
0.005282815933227539,
0.005273600101470947,
0.005320703983306885,
0.005303296089172363,
0.005283840179443359,
0.005314559936523438,
0.005269504070281982,
0.005287936210632324,
0.0053350400924682614,
0.005310463905334473,
0.005258240222930908,
0.005328896045684814,
0.005274623870849609,
0.0054241280555725096,
0.005303296089172363,
0.005329919815063477,
0.005257215976715088,
0.005242879867553711,
0.005201920032501221,
0.005206016063690186,
0.005220352172851562,
0.005351424217224121,
0.005298175811767578,
0.005283840179443359,
0.0052971520423889164,
0.005329919815063477,
0.00526643180847168,
0.005322751998901368,
0.00530944013595581,
0.005277696132659912,
0.005298175811767578,
0.0053012480735778805,
0.005305344104766845,
0.005326848030090332,
0.005313536167144775,
0.005348351955413819,
0.005331967830657959,
0.005313536167144775,
0.005305344104766845,
0.005343232154846191,
0.005326848030090332,
0.00532480001449585,
0.005340159893035889,
0.005339136123657226,
0.005302271842956543,
0.0053340158462524415
]
},
"throughput": {
"unit": "samples/s",
"value": 182.49830761399915
},
"energy": {
"unit": "kWh",
"cpu": 6.061727413379687e-08,
"ram": 3.31410650576135e-08,
"gpu": 1.228218102755099e-07,
"total": 2.1658014946692025e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4617228.321530624
}
}
}
}