IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ae802a5 verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": "6",
"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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"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.1",
"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": 904.454144,
"max_global_vram": 875.425792,
"max_process_vram": 48006.356992,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.6468671875,
"mean": 8.6468671875,
"stdev": 0.0,
"p50": 8.6468671875,
"p90": 8.6468671875,
"p95": 8.6468671875,
"p99": 8.6468671875,
"values": [
8.6468671875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1023.791104,
"max_global_vram": 939.872256,
"max_process_vram": 240932.306944,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 125,
"total": 1.0017708358764645,
"mean": 0.008014166687011718,
"stdev": 0.0007465907271951295,
"p50": 0.007964495182037354,
"p90": 0.008243439483642577,
"p95": 0.008332015800476074,
"p99": 0.00884146957397461,
"values": [
0.007716013908386231,
0.007700973987579345,
0.007814895153045655,
0.00794785499572754,
0.00785521411895752,
0.007820495128631592,
0.007783054828643799,
0.0077804942131042484,
0.007849454879760742,
0.007880495071411133,
0.00891569709777832,
0.008011215209960938,
0.00803569507598877,
0.00799649477005005,
0.007924174785614014,
0.00786705493927002,
0.0078100948333740235,
0.007739374160766602,
0.0077337751388549805,
0.007784173965454101,
0.007783695220947266,
0.007960494995117187,
0.007923695087432861,
0.007801134109497071,
0.007723054885864258,
0.0076532940864562984,
0.007686735153198242,
0.0076459341049194334,
0.007636013984680176,
0.007864494800567627,
0.007649134159088135,
0.00760353422164917,
0.007625773906707763,
0.007637615203857422,
0.007648173809051514,
0.0076409740447998045,
0.007554574012756348,
0.007689455032348633,
0.007588334083557129,
0.0075956940650939945,
0.007597455024719238,
0.007678733825683594,
0.007626093864440918,
0.007636175155639648,
0.007637613773345947,
0.007556494235992432,
0.0076553750038146975,
0.0076030540466308595,
0.00758609390258789,
0.015914429664611818,
0.008352175712585449,
0.008254255294799805,
0.00803665542602539,
0.008123375892639161,
0.008118254661560059,
0.0080820951461792,
0.008066254615783692,
0.007988494873046875,
0.008142575263977051,
0.008245615005493164,
0.008339056015014648,
0.008295695304870605,
0.008203535079956055,
0.00827361488342285,
0.008212815284729004,
0.008240176200866698,
0.008163535118103027,
0.008411855697631835,
0.008543215751647949,
0.008606415748596191,
0.00826801586151123,
0.00818033504486084,
0.008144015312194825,
0.008093134880065918,
0.008043054580688477,
0.0080820951461792,
0.007995534896850585,
0.007928494930267333,
0.007967053890228271,
0.007926255226135255,
0.008009775161743164,
0.008067376136779785,
0.007951854228973388,
0.008009296417236328,
0.00803073501586914,
0.008039534568786621,
0.00805809497833252,
0.008303854942321777,
0.008195535659790039,
0.008096175193786621,
0.008050894737243653,
0.008007214546203614,
0.008077614784240723,
0.008115376472473144,
0.00813553524017334,
0.008003535270690918,
0.008082096099853515,
0.008153935432434083,
0.00814321517944336,
0.008051694869995117,
0.008064974784851074,
0.00799969482421875,
0.008000494956970215,
0.007990254878997802,
0.007962894916534425,
0.008016494750976563,
0.00799041509628296,
0.008016494750976563,
0.007925294876098632,
0.007879855155944825,
0.007880815029144287,
0.007964495182037354,
0.007877614974975586,
0.007858573913574219,
0.007896494865417481,
0.007846415042877197,
0.007865135192871093,
0.007880333900451661,
0.007892815113067627,
0.007893294811248779,
0.007920014858245849,
0.00799041509628296,
0.007978254795074463,
0.007911214828491211,
0.007987053871154785
]
},
"throughput": {
"unit": "samples/s",
"value": 124.779036804995
},
"energy": null,
"efficiency": null
}
}
}