IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
cb47a0b verified
raw
history blame
9.94 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": "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,
"latency": true,
"memory": 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",
"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.2.0",
"optimum_benchmark_commit": "a84403909b6e036e6ac3ccba23f1df81c197a364",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1003.851776,
"max_global_vram": 1910.931456,
"max_process_vram": 230549.106688,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9985723943710324,
"mean": 0.00786277475882703,
"stdev": 0.00046526668923186655,
"p50": 0.007983373165130616,
"p90": 0.008282414054870606,
"p95": 0.008406637859344483,
"p99": 0.008604126892089843,
"values": [
0.007979692935943604,
0.007932332992553711,
0.008073293685913085,
0.00825361442565918,
0.008282894134521485,
0.008300812721252441,
0.008231852531433105,
0.008178414344787598,
0.008158413887023926,
0.008086092948913574,
0.007968493938446045,
0.008050573348999024,
0.007999053955078125,
0.00796513319015503,
0.00793841314315796,
0.007910573005676269,
0.007929614067077637,
0.007983373165130616,
0.007984013080596923,
0.0079622540473938,
0.007986413002014161,
0.00789201307296753,
0.007924492835998536,
0.007884334087371827,
0.007930253028869629,
0.007911212921142578,
0.007894573211669921,
0.008009934425354004,
0.008077452659606934,
0.007957454204559327,
0.007994732856750487,
0.007979372978210449,
0.007917613983154296,
0.0079569730758667,
0.007925932884216308,
0.007895692825317383,
0.007925774097442627,
0.007915213108062744,
0.00793681287765503,
0.007892492771148682,
0.007898413181304931,
0.00827713394165039,
0.008461773872375488,
0.008436654090881348,
0.00830545425415039,
0.00812209415435791,
0.008039532661437988,
0.008157294273376465,
0.008169453620910644,
0.008077933311462402,
0.008065773963928222,
0.008013293266296387,
0.00797601318359375,
0.007986574172973633,
0.008123533248901367,
0.008272653579711913,
0.008121614456176757,
0.008074254035949706,
0.008066093444824219,
0.008045774459838867,
0.008060333251953124,
0.007978733062744141,
0.007986894130706787,
0.008276494026184082,
0.008455694198608399,
0.008399694442749024,
0.008409613609313965,
0.00825537395477295,
0.00816849422454834,
0.008175533294677734,
0.008259854316711425,
0.008311054229736329,
0.008629295349121094,
0.008532493591308594,
0.008289454460144043,
0.00828209400177002,
0.008162734031677246,
0.008135533332824707,
0.008172014236450195,
0.008082733154296876,
0.008099854469299317,
0.00807057285308838,
0.008055853843688964,
0.008016013145446777,
0.008052494049072266,
0.008208012580871582,
0.008049612998962402,
0.008028813362121582,
0.008027853965759278,
0.00921473503112793,
0.008211853981018067,
0.007784812927246094,
0.007759852886199951,
0.0077164931297302244,
0.007749612808227539,
0.007730893135070801,
0.00735889196395874,
0.0073366518020629885,
0.007259531974792481,
0.007163852214813232,
0.00688129186630249,
0.006860811233520508,
0.006908812046051025,
0.006897931098937988,
0.006853771209716797,
0.006869932174682617,
0.006875370979309082,
0.006882252216339112,
0.006889451026916504,
0.006873452186584473,
0.006867051124572754,
0.006879692077636719,
0.007656332015991211,
0.007740013122558594,
0.007769773006439209,
0.007585933208465576,
0.007331212043762207,
0.007418252944946289,
0.007377771854400634,
0.007371372222900391,
0.00722625207901001,
0.007779852867126465,
0.007604652881622314,
0.0068857698440551755,
0.006884972095489502,
0.006907532215118408,
0.006903531074523926
]
},
"throughput": {
"unit": "samples/s",
"value": 127.18156511826369
},
"energy": null,
"efficiency": null
}
}
}