IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c4446e3 verified
raw
history blame
10.6 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": "3b8c49a169ebd79001b2a83fbf2b332612417102",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1010.089984,
"max_global_vram": 938.917888,
"max_process_vram": 186544.635904,
"max_reserved": 589.299712,
"max_allocated": 439.700992
},
"latency": {
"unit": "s",
"count": 141,
"total": 0.9989686555862425,
"mean": 0.007084884082171932,
"stdev": 0.00047904403072757053,
"p50": 0.007028097152709961,
"p90": 0.00756633186340332,
"p95": 0.00758985185623169,
"p99": 0.007684058952331542,
"values": [
0.007311454772949219,
0.006869217872619629,
0.006803139209747315,
0.006610820770263672,
0.006642661094665527,
0.0068024988174438476,
0.006612101078033447,
0.006605539798736572,
0.006566822052001953,
0.006541861057281494,
0.0065618610382080075,
0.006530662059783935,
0.006530180931091308,
0.006494661808013916,
0.006531301975250244,
0.006550021171569824,
0.006549221038818359,
0.0065482621192932125,
0.006505061149597168,
0.006513701915740967,
0.006519142150878906,
0.006482821941375732,
0.006544900894165039,
0.0065677809715271,
0.006560740947723388,
0.006566182136535644,
0.0065677809715271,
0.006528901100158691,
0.0065268220901489255,
0.006716420173645019,
0.006918017864227295,
0.00696809720993042,
0.006749060153961182,
0.0068543381690979,
0.006952737808227539,
0.00690841817855835,
0.00692969799041748,
0.0071010560989379886,
0.007219454765319824,
0.006764579772949219,
0.006645540237426758,
0.006633380889892578,
0.007124415874481201,
0.0070976967811584475,
0.007084415912628174,
0.007028097152709961,
0.010289188385009765,
0.00769481086730957,
0.007622652053833008,
0.007536252975463867,
0.007569692134857178,
0.0075452117919921876,
0.007538173198699951,
0.007520572185516357,
0.007566652774810791,
0.007527291774749756,
0.00758985185623169,
0.0075504927635192875,
0.007544092178344727,
0.007548572063446045,
0.007546493053436279,
0.007498813152313232,
0.00756633186340332,
0.007505533218383789,
0.007558812141418457,
0.007517373085021973,
0.007585371971130371,
0.007554811954498291,
0.00759081220626831,
0.007491453170776367,
0.007597052097320557,
0.007579132080078125,
0.007546012878417969,
0.007563131809234619,
0.0075789718627929685,
0.007522013187408447,
0.006705379962921142,
0.0067359390258789065,
0.006929858207702637,
0.006777699947357178,
0.0068642587661743165,
0.007135776042938233,
0.006727779865264892,
0.00695369815826416,
0.006920417785644531,
0.007150335788726807,
0.0076679310798645015,
0.006732419967651367,
0.0067365789413452145,
0.0066922597885131834,
0.006718180179595947,
0.006730500221252441,
0.0066770601272583005,
0.006693860054016113,
0.0067676200866699215,
0.006671460151672364,
0.0068639378547668455,
0.006701700210571289,
0.006700419902801514,
0.007068737030029297,
0.007606011867523193,
0.007222175121307373,
0.007187295913696289,
0.007535772800445557,
0.007511773109436035,
0.0075856919288635255,
0.007356093883514404,
0.006978658199310303,
0.007043776988983154,
0.007128255844116211,
0.007116735935211182,
0.007086657047271729,
0.007021536827087402,
0.007166816234588623,
0.007238174915313721,
0.007175456047058106,
0.006976097106933594,
0.006726659774780273,
0.0067082600593566894,
0.006705379962921142,
0.0066512999534606935,
0.006737860202789306,
0.006707620143890381,
0.006717860221862793,
0.007529372215270996,
0.0075261731147766115,
0.007550811767578125,
0.0075151329040527345,
0.0075360918045043945,
0.006674341201782227,
0.00713369607925415,
0.007485053062438965,
0.007446652889251709,
0.007451131820678711,
0.007449053764343262,
0.007457852840423584,
0.0074600930213928225,
0.007474332809448242,
0.007453213214874268,
0.007469693183898926,
0.007453053951263428
]
},
"throughput": {
"unit": "samples/s",
"value": 141.1455696948314
},
"energy": null,
"efficiency": null
}
}
}