IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
82bbf94 verified
raw
history blame
13.5 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.224-212.876.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.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"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": 792.715264,
"max_global_vram": 1226.309632,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.041228515625,
"mean": 8.041228515625,
"stdev": 0.0,
"p50": 8.041228515625,
"p90": 8.041228515625,
"p95": 8.041228515625,
"p99": 8.041228515625,
"values": [
8.041228515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.4193561805538545e-06,
"ram": 1.307172070160598e-06,
"gpu": 3.19250255400097e-06,
"total": 6.919030804715422e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1047.924736,
"max_global_vram": 1236.795392,
"max_process_vram": 0.0,
"max_reserved": 589.299712,
"max_allocated": 449.025024
},
"latency": {
"unit": "s",
"count": 178,
"total": 1.0037033576965337,
"mean": 0.005638782908407489,
"stdev": 0.0002489384721039144,
"p50": 0.005568511962890625,
"p90": 0.005987839984893799,
"p95": 0.0060819455862045286,
"p99": 0.006608568224906921,
"values": [
0.006113279819488526,
0.0063907837867736815,
0.006114304065704346,
0.006072319984436035,
0.00601804780960083,
0.006043647766113281,
0.006007808208465576,
0.006060031890869141,
0.0059985918998718265,
0.006062079906463623,
0.005983232021331787,
0.006051839828491211,
0.006316031932830811,
0.005518335819244385,
0.00531660795211792,
0.00532480001449585,
0.005306367874145508,
0.0053012480735778805,
0.005320703983306885,
0.0057497601509094234,
0.005835775852203369,
0.006236159801483154,
0.006549503803253174,
0.007327744007110596,
0.006700032234191895,
0.005711904048919678,
0.005617663860321045,
0.005616640090942383,
0.005645311832427978,
0.005588992118835449,
0.0056145920753479005,
0.005567488193511963,
0.005570559978485107,
0.005611519813537597,
0.005578752040863037,
0.005612544059753418,
0.005567488193511963,
0.005566463947296142,
0.0056258559226989744,
0.005533696174621582,
0.005597184181213379,
0.005525504112243652,
0.005559296131134033,
0.005616640090942383,
0.005560319900512695,
0.005609471797943116,
0.005568511962890625,
0.00556441593170166,
0.005897215843200684,
0.00562278413772583,
0.00561356782913208,
0.005547008037567139,
0.005571584224700928,
0.005600255966186523,
0.005578752040863037,
0.005646336078643799,
0.005563392162322998,
0.005553152084350586,
0.005577727794647217,
0.005538815975189209,
0.005585919857025146,
0.005550079822540284,
0.005586944103240967,
0.005578752040863037,
0.005535744190216065,
0.0055797758102417,
0.005566463947296142,
0.005569536209106446,
0.005573631763458252,
0.0055316481590271,
0.00555622386932373,
0.005548031806945801,
0.00552345609664917,
0.005604351997375488,
0.005574656009674072,
0.005538815975189209,
0.005609471797943116,
0.005545983791351319,
0.0055920639038085935,
0.005595136165618897,
0.005548031806945801,
0.0055808000564575196,
0.005573631763458252,
0.0056217598915100095,
0.0055808000564575196,
0.00553984022140503,
0.005590015888214111,
0.005527552127838135,
0.005581823825836182,
0.005534719944000244,
0.00557260799407959,
0.005575679779052735,
0.006076416015625,
0.005568511962890625,
0.005536767959594726,
0.005502975940704345,
0.005604351997375488,
0.005530623912811279,
0.005569536209106446,
0.00550707197189331,
0.005547008037567139,
0.005595136165618897,
0.005553152084350586,
0.005608448028564453,
0.00551526403427124,
0.005526527881622314,
0.005569536209106446,
0.005533696174621582,
0.0054906878471374515,
0.005497856140136719,
0.005505023956298828,
0.00551423978805542,
0.005477375984191894,
0.005473279953002929,
0.005516287803649903,
0.005464064121246338,
0.005494783878326416,
0.005517312049865723,
0.005517312049865723,
0.005588992118835449,
0.0055214080810546875,
0.005557248115539551,
0.00556441593170166,
0.005538815975189209,
0.0055511040687561035,
0.005525504112243652,
0.005553152084350586,
0.0055552000999450684,
0.005573631763458252,
0.005563392162322998,
0.005538815975189209,
0.0055244798660278325,
0.005692416191101074,
0.00551526403427124,
0.00552243185043335,
0.005601280212402344,
0.005530623912811279,
0.005548031806945801,
0.005512191772460938,
0.005530623912811279,
0.005641215801239013,
0.005530623912811279,
0.005581823825836182,
0.005541888236999512,
0.005537792205810547,
0.005850111961364746,
0.005547008037567139,
0.005577727794647217,
0.005570559978485107,
0.005529600143432617,
0.005559296131134033,
0.005811200141906738,
0.005734399795532226,
0.005516287803649903,
0.005535744190216065,
0.005566463947296142,
0.005547008037567139,
0.005574656009674072,
0.005539872169494629,
0.0054917120933532714,
0.0054917120933532714,
0.005454847812652588,
0.005645311832427978,
0.005617663860321045,
0.005653503894805908,
0.0058009600639343266,
0.0065812478065490725,
0.0057487359046936035,
0.005563392162322998,
0.005623807907104492,
0.00555622386932373,
0.005529600143432617,
0.005646336078643799,
0.005525504112243652,
0.005581823825836182,
0.005538815975189209,
0.005529600143432617,
0.00557260799407959
]
},
"throughput": {
"unit": "samples/s",
"value": 177.343234567337
},
"energy": {
"unit": "kWh",
"cpu": 6.269933600145173e-08,
"ram": 3.4205484610079765e-08,
"gpu": 1.2550302437895512e-07,
"total": 2.224078449904866e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4496244.276108041
}
}
}
}