IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f313038 verified
raw
history blame
10.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": "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",
"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.2.1",
"optimum_benchmark_commit": "d8da484bc148044dec1ba23c2d50d43cabd271ad",
"transformers_version": "4.41.0",
"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": 1009.205248,
"max_global_vram": 1919.2832,
"max_process_vram": 201755.42272,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 134,
"total": 1.0040535893440241,
"mean": 0.007492937233910633,
"stdev": 0.00036391008216396373,
"p50": 0.00762760853767395,
"p90": 0.007710760688781739,
"p95": 0.007734744572639465,
"p99": 0.008563439612388599,
"values": [
0.007380807876586914,
0.0071736078262329105,
0.007474887847900391,
0.007297769069671631,
0.007429768085479736,
0.007752007961273193,
0.0077472090721130375,
0.00724240779876709,
0.007276328086853028,
0.007198728084564209,
0.006919047832489014,
0.0069849672317504885,
0.007322247982025147,
0.007154568195343018,
0.007332169055938721,
0.007203207969665527,
0.007192807197570801,
0.007114888191223145,
0.0070886478424072264,
0.0070121679306030275,
0.006896967887878418,
0.006922246932983399,
0.007026567935943604,
0.0071521677970886235,
0.007148808002471924,
0.007191207885742188,
0.007130727767944336,
0.0071302480697631836,
0.00715936803817749,
0.007315847873687744,
0.007189127922058105,
0.006967688083648681,
0.006780646800994873,
0.006487526893615723,
0.006838088035583496,
0.006676486968994141,
0.00682208776473999,
0.00668192720413208,
0.006687367916107178,
0.007034566879272461,
0.006713287830352783,
0.006924808025360107,
0.0073438482284545895,
0.008876649856567383,
0.009401769638061523,
0.007733288764953613,
0.007787367820739746,
0.007729289054870606,
0.007710087776184082,
0.007728649139404297,
0.007646567821502685,
0.007649448871612549,
0.0076697678565979,
0.0076627287864685055,
0.007641287803649902,
0.0076462488174438474,
0.007627367973327637,
0.007627849102020264,
0.007680808067321777,
0.007621609210968018,
0.007621928215026856,
0.0076572890281677245,
0.00769376802444458,
0.007684488773345947,
0.00762608814239502,
0.007686889171600342,
0.007683527946472168,
0.00771104907989502,
0.007631688117980957,
0.007627849102020264,
0.007595367908477783,
0.0076043281555175785,
0.00761824893951416,
0.007613607883453369,
0.007644168853759766,
0.007660808086395264,
0.007623528957366944,
0.007622888088226318,
0.0076854491233825685,
0.007621287822723389,
0.007684968948364258,
0.0076067280769348145,
0.007660489082336425,
0.007614408016204834,
0.007660168170928955,
0.007635368824005127,
0.007682407855987549,
0.007629609107971192,
0.00761024808883667,
0.007651049137115479,
0.007617767810821533,
0.007622249126434326,
0.007596168041229248,
0.007637928962707519,
0.007646728038787842,
0.007631848812103272,
0.007656007766723633,
0.007622408866882324,
0.007730408191680908,
0.0076620888710021975,
0.007688327789306641,
0.007674728870391846,
0.007737448215484619,
0.007701609134674072,
0.007653927803039551,
0.007655048847198486,
0.007673128128051758,
0.007520648956298828,
0.007506247997283936,
0.00722000789642334,
0.007369607925415039,
0.007334887981414795,
0.007341127872467041,
0.007625288963317871,
0.007695208072662354,
0.007649768829345703,
0.007657447814941406,
0.007683369159698486,
0.007717607975006103,
0.007658409118652344,
0.007654888153076172,
0.007651528835296631,
0.00765504789352417,
0.007672648906707763,
0.007609928131103515,
0.0076451292037963865,
0.007638088226318359,
0.007657288074493408,
0.007927527904510498,
0.007724968910217285,
0.007661287784576416,
0.007693929195404053,
0.007680488109588623,
0.0076830492019653324
]
},
"throughput": {
"unit": "samples/s",
"value": 133.45901197120943
},
"energy": null,
"efficiency": null
}
}
}