IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d49242e verified
raw
history blame
13.7 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.225-213.878.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",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": "1.22.0",
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 797.118464,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.57312
},
"latency": {
"unit": "s",
"values": [
8.321689453125
],
"count": 1,
"total": 8.321689453125,
"mean": 8.321689453125,
"p50": 8.321689453125,
"p90": 8.321689453125,
"p95": 8.321689453125,
"p99": 8.321689453125,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.70559171527954e-07,
"ram": 5.132303702308037e-07,
"gpu": 1.6197235179998652e-06,
"total": 3.103513059758623e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1052.368896,
"max_global_vram": 1238.892544,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"values": [
0.005818367958068848,
0.005747712135314941,
0.005552127838134766,
0.0055101442337036136,
0.0055797758102417,
0.005535744190216065,
0.005500927925109863,
0.0056145920753479005,
0.005277696132659912,
0.005278719902038574,
0.005319680213928223,
0.005244927883148193,
0.00526643180847168,
0.005264383792877197,
0.005256192207336426,
0.005213183879852295,
0.005243904113769531,
0.005208064079284668,
0.005246975898742676,
0.005273600101470947,
0.005234687805175781,
0.005307392120361328,
0.005226624011993408,
0.005265408039093018,
0.005251071929931641,
0.005224448204040527,
0.005582848072052002,
0.005603328227996827,
0.005615615844726562,
0.005534719944000244,
0.0055582718849182125,
0.005620736122131348,
0.005516287803649903,
0.00557260799407959,
0.005540863990783691,
0.00551423978805542,
0.005713119983673096,
0.005561344146728516,
0.005620736122131348,
0.0055316481590271,
0.0055203838348388675,
0.005587967872619629,
0.0055244798660278325,
0.005537792205810547,
0.005563392162322998,
0.0055552000999450684,
0.005578752040863037,
0.005517312049865723,
0.0055316481590271,
0.0055797758102417,
0.005646336078643799,
0.005860352039337159,
0.005727231979370117,
0.005547008037567139,
0.005612544059753418,
0.005506048202514649,
0.005611519813537597,
0.0055214080810546875,
0.005526527881622314,
0.005553152084350586,
0.005499904155731201,
0.005672959804534912,
0.005590015888214111,
0.005535744190216065,
0.0055808000564575196,
0.005527552127838135,
0.005598207950592041,
0.005499904155731201,
0.005491807937622071,
0.00552345609664917,
0.005492735862731934,
0.005500927925109863,
0.005568511962890625,
0.005552127838134766,
0.005577727794647217,
0.005486591815948487,
0.005500927925109863,
0.005606400012969971,
0.005534880161285401,
0.005554175853729248,
0.005530623912811279,
0.005550079822540284,
0.005573631763458252,
0.0055582718849182125,
0.005615615844726562,
0.0055511040687561035,
0.005557248115539551,
0.005566463947296142,
0.00555622386932373,
0.005479423999786377,
0.005570559978485107,
0.005518335819244385,
0.005542912006378174,
0.00552243185043335,
0.005540863990783691,
0.005611519813537597,
0.005571584224700928,
0.005542912006378174,
0.005522463798522949,
0.005545983791351319,
0.005536767959594726,
0.005468160152435303,
0.0055203838348388675,
0.005519360065460205,
0.00550707197189331,
0.005548031806945801,
0.005525504112243652,
0.005527552127838135,
0.005545983791351319,
0.0054917120933532714,
0.00571289587020874,
0.0062873601913452145,
0.006407296180725098,
0.006359039783477783,
0.005889023780822754,
0.005525504112243652,
0.005665791988372803,
0.005561344146728516,
0.00555622386932373,
0.005638144016265869,
0.005595136165618897,
0.005618688106536865,
0.0055285758972167965,
0.005560319900512695,
0.005617663860321045,
0.005571584224700928,
0.00562278413772583,
0.0055582718849182125,
0.00557260799407959,
0.005569536209106446,
0.005567488193511963,
0.005513216018676758,
0.00556441593170166,
0.005561344146728516,
0.005583968162536621,
0.005512191772460938,
0.005504000186920166,
0.005536767959594726,
0.0054988799095153805,
0.005543935775756836,
0.005529600143432617,
0.005598207950592041,
0.005582848072052002,
0.005533696174621582,
0.005575679779052735,
0.005540863990783691,
0.0055101442337036136,
0.005543935775756836,
0.0055316481590271,
0.005554175853729248,
0.005566463947296142,
0.0055285758972167965,
0.005619711875915527,
0.005586944103240967,
0.00552243185043335,
0.00553984022140503,
0.00552243185043335,
0.005574656009674072,
0.005550079822540284,
0.005554175853729248,
0.005591040134429932,
0.005527552127838135,
0.005577727794647217,
0.005518335819244385,
0.005550079822540284,
0.005567488193511963,
0.005548031806945801,
0.0055203838348388675,
0.005601280212402344,
0.0055552000999450684,
0.005607423782348633,
0.0056780800819396975,
0.005615615844726562,
0.0056217598915100095,
0.005578752040863037,
0.005612544059753418,
0.005526527881622314,
0.005518335819244385,
0.0055623679161071774,
0.005544960021972656,
0.005590015888214111
],
"count": 181,
"total": 1.0041557416915894,
"mean": 0.005547821777301599,
"p50": 0.005550079822540284,
"p90": 0.005620736122131348,
"p95": 0.00571289587020874,
"p99": 0.006301696109771727,
"stdev": 0.0001516323073857647,
"stdev_": 2.7331863472282816
},
"throughput": {
"unit": "samples/s",
"value": 180.25092372134372
},
"energy": {
"unit": "kWh",
"cpu": 6.15966727223662e-08,
"ram": 3.36570414537145e-08,
"gpu": 1.218653824663209e-07,
"total": 2.1711909664240162e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4605767.136398024
}
}
}
}