IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9ec66fd verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": null,
"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": 869.507072,
"max_global_vram": 1229.45536,
"max_process_vram": 0.0,
"max_reserved": 591.396864,
"max_allocated": 449.269248
},
"latency": {
"unit": "s",
"count": 184,
"total": 1.0000620141029362,
"mean": 0.005435119641863781,
"stdev": 0.00018445484382580108,
"p50": 0.0054568958282470706,
"p90": 0.005577420663833619,
"p95": 0.00564858889579773,
"p99": 0.0061302271080017085,
"values": [
0.006453248023986816,
0.005548031806945801,
0.005650432109832764,
0.005620736122131348,
0.0055920639038085935,
0.005637119770050049,
0.005576704025268555,
0.005577727794647217,
0.006127615928649902,
0.005496831893920898,
0.005210112094879151,
0.005158912181854248,
0.005155839920043945,
0.00516812801361084,
0.005195775985717774,
0.005161983966827393,
0.005165056228637695,
0.005172224044799805,
0.005167103767395019,
0.005171199798583984,
0.005208064079284668,
0.005197824001312256,
0.005180416107177735,
0.005163008213043213,
0.005183487892150879,
0.005154816150665284,
0.0051701760292053225,
0.005174272060394287,
0.005164031982421875,
0.005156864166259765,
0.005172224044799805,
0.005192704200744629,
0.005165056228637695,
0.005178368091583252,
0.005169151782989502,
0.005139455795288086,
0.005138432025909424,
0.005181439876556396,
0.005128191947937012,
0.005123072147369385,
0.0051476478576660155,
0.0051476478576660155,
0.005149695873260498,
0.005156864166259765,
0.005222400188446045,
0.005137407779693603,
0.005142528057098389,
0.005137407779693603,
0.005125120162963868,
0.005509119987487793,
0.005446656227111817,
0.005448703765869141,
0.005566463947296142,
0.005508096218109131,
0.005437439918518067,
0.0054917120933532714,
0.005439487934112549,
0.005446656227111817,
0.00541593599319458,
0.005453824043273926,
0.005433343887329102,
0.005453824043273926,
0.0054590082168579105,
0.005419007778167725,
0.005463039875030518,
0.005437439918518067,
0.005435391902923584,
0.005472256183624268,
0.005440512180328369,
0.005450751781463623,
0.005472256183624268,
0.005440512180328369,
0.0054579200744628905,
0.005434368133544922,
0.005440512180328369,
0.005470208168029785,
0.005449728012084961,
0.005432320117950439,
0.0054568958282470706,
0.005429247856140137,
0.005464064121246338,
0.005459968090057373,
0.005454847812652588,
0.005439487934112549,
0.005472256183624268,
0.005421055793762207,
0.006142975807189942,
0.005463039875030518,
0.005449728012084961,
0.005470208168029785,
0.005435391902923584,
0.005486591815948487,
0.0054568958282470706,
0.005421055793762207,
0.005494783878326416,
0.005445631980895996,
0.0054579200744628905,
0.005455872058868408,
0.005437439918518067,
0.005416959762573242,
0.005472256183624268,
0.005405695915222168,
0.005452799797058106,
0.005560319900512695,
0.005484543800354004,
0.005743616104125977,
0.005566463947296142,
0.005568511962890625,
0.005654528141021729,
0.005616640090942383,
0.005676032066345215,
0.005611519813537597,
0.005638144016265869,
0.005470208168029785,
0.005549056053161621,
0.005508096218109131,
0.0054609918594360355,
0.0054579200744628905,
0.005484543800354004,
0.005501952171325684,
0.005479423999786377,
0.005538815975189209,
0.005598207950592041,
0.005482495784759522,
0.0055285758972167965,
0.0054271998405456545,
0.005482495784759522,
0.005405695915222168,
0.00550707197189331,
0.005465087890625,
0.005420032024383545,
0.005478400230407715,
0.005445631980895996,
0.005479423999786377,
0.0054568958282470706,
0.005443583965301513,
0.005464064121246338,
0.005458943843841553,
0.005465087890625,
0.005473279953002929,
0.00547430419921875,
0.005449728012084961,
0.005568511962890625,
0.0055623679161071774,
0.005587967872619629,
0.005479423999786377,
0.005479423999786377,
0.00550707197189331,
0.005560319900512695,
0.005897215843200684,
0.005681151866912842,
0.005454847812652588,
0.005518335819244385,
0.005447679996490478,
0.005458943843841553,
0.005436416149139404,
0.005530623912811279,
0.005450751781463623,
0.005455872058868408,
0.005438464164733887,
0.005462016105651855,
0.005433343887329102,
0.005436416149139404,
0.005480447769165039,
0.005475327968597412,
0.005442560195922852,
0.005497856140136719,
0.0054579200744628905,
0.005485568046569824,
0.005470208168029785,
0.005437439918518067,
0.005483520030975342,
0.005540863990783691,
0.0054609918594360355,
0.005478400230407715,
0.005481472015380859,
0.005468160152435303,
0.005440512180328369,
0.0054568958282470706,
0.005480447769165039,
0.005453824043273926,
0.005449728012084961,
0.0059351038932800295,
0.005455872058868408
]
},
"throughput": {
"unit": "samples/s",
"value": 183.98859011263374
},
"energy": {
"unit": "kWh",
"cpu": 6.193592885716094e-08,
"ram": 3.384956825982499e-08,
"gpu": 1.2501312084374966e-07,
"total": 2.2079861796073558e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4529013.855412034
}
}
}
}