IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9c2a42c verified
raw
history blame
11.3 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": "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": 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.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "9337b863a5d9e4991ca83847e6c2f66a543b52d9",
"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": 898.224128,
"max_global_vram": 875.339776,
"max_process_vram": 40946.692096,
"max_reserved": 589.299712,
"max_allocated": 533.571072
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.06197802734375,
"mean": 7.06197802734375,
"stdev": 0.0,
"p50": 7.06197802734375,
"p90": 7.06197802734375,
"p95": 7.06197802734375,
"p99": 7.06197802734375,
"values": [
7.06197802734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1017.864192,
"max_global_vram": 938.881024,
"max_process_vram": 213864.792064,
"max_reserved": 589.299712,
"max_allocated": 439.456768
},
"latency": {
"unit": "s",
"count": 136,
"total": 1.0002100071907045,
"mean": 0.007354485346990473,
"stdev": 0.0005281262987507506,
"p50": 0.007271020174026489,
"p90": 0.00779749846458435,
"p95": 0.007948457837104798,
"p99": 0.009123198509216316,
"values": [
0.00830877685546875,
0.008129897117614747,
0.007917418003082275,
0.007966217994689941,
0.008008618354797364,
0.007930697917938233,
0.007942537784576416,
0.007886218070983888,
0.007535179138183593,
0.007459339141845703,
0.007844458103179932,
0.007470058917999268,
0.007332940101623536,
0.007403499126434327,
0.007262219905853271,
0.0072927789688110355,
0.0072154998779296875,
0.007227819919586181,
0.007239180088043213,
0.00736941909790039,
0.0072670202255249025,
0.007230379104614258,
0.007295340061187744,
0.007180459976196289,
0.009561733245849609,
0.010885729789733886,
0.007896297931671143,
0.007139979839324951,
0.006895340919494629,
0.0071372599601745605,
0.0070278201103210446,
0.007323019981384278,
0.007712138175964355,
0.007761258125305176,
0.0077074990272521975,
0.007722057819366455,
0.007697258949279785,
0.007758058071136474,
0.007719178199768067,
0.007711019039154053,
0.0076759781837463376,
0.0078095788955688476,
0.007710698127746582,
0.007757577896118164,
0.007761579036712646,
0.007736298084259033,
0.007749258041381836,
0.00775101900100708,
0.007734538078308106,
0.0077086181640625,
0.0074076600074768064,
0.007091340065002442,
0.006909101009368896,
0.007116460800170898,
0.006932139873504639,
0.006905100822448731,
0.006856300830841064,
0.006948140144348145,
0.006896941184997558,
0.0069455809593200685,
0.006914859771728516,
0.006906540870666504,
0.006919981002807617,
0.006832459926605225,
0.006885100841522216,
0.006919021129608154,
0.006913899898529053,
0.006897100925445557,
0.006936301231384277,
0.00692110013961792,
0.006933580875396728,
0.006898701190948486,
0.006922220230102539,
0.006887660980224609,
0.006855340957641601,
0.006895660877227783,
0.006867980003356934,
0.0069150209426879885,
0.007147019863128662,
0.007353740215301514,
0.007339019775390625,
0.0068886208534240725,
0.007116940021514893,
0.007435179233551025,
0.007757418155670166,
0.007685419082641602,
0.00772333812713623,
0.007736618995666504,
0.007691818237304688,
0.007739818096160889,
0.007275020122528076,
0.007450698852539062,
0.0076775789260864254,
0.007684298038482666,
0.0077854180335998535,
0.00729118013381958,
0.007130380153656006,
0.0073356590270996095,
0.007175819873809814,
0.007141900062561035,
0.006948781013488769,
0.006866701126098633,
0.007105100154876709,
0.007670537948608398,
0.007695979118347168,
0.0077185378074646,
0.008224937438964844,
0.007516458988189697,
0.007610058784484864,
0.007639179229736328,
0.007739337921142578,
0.007436938762664795,
0.007473739147186279,
0.007381899833679199,
0.007112460136413574,
0.007374538898468018,
0.007229420185089111,
0.007242219924926758,
0.007060299873352051,
0.006808141231536865,
0.006785420894622802,
0.006819820880889892,
0.006790060997009278,
0.006969099998474121,
0.006796620845794678,
0.007107339859008789,
0.006893900871276856,
0.006897581100463867,
0.006770060062408447,
0.006763980865478515,
0.006837901115417481,
0.006890699863433838,
0.006882861137390137,
0.006754540920257569,
0.006888461112976074,
0.00694542121887207
]
},
"throughput": {
"unit": "samples/s",
"value": 135.9714450188156
},
"energy": null,
"efficiency": null
}
}
}