{ "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.736448, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 189, "total": 1.0042328033447268, "mean": 0.005313401075898024, "stdev": 0.00020731764148691314, "p50": 0.005338111877441406, "p90": 0.005431302452087402, "p95": 0.005788262462615967, "p99": 0.00599269386291504, "values": [ 0.006617087841033936, 0.005792768001556397, 0.005961728096008301, 0.005834752082824707, 0.005898240089416504, 0.005848063945770264, 0.00587775993347168, 0.005806079864501953, 0.005874688148498535, 0.0062197761535644535, 0.005493760108947754, 0.005215231895446777, 0.0051773438453674315, 0.005153791904449463, 0.0051998720169067385, 0.0051773438453674315, 0.005156864166259765, 0.005197824001312256, 0.005181439876556396, 0.005128191947937012, 0.005241856098175048, 0.0051660799980163576, 0.0052070398330688475, 0.0050841598510742185, 0.005129216194152832, 0.005087232112884522, 0.005082111835479736, 0.005085184097290039, 0.0051138558387756345, 0.005098495960235596, 0.005081088066101074, 0.00511078405380249, 0.005107711791992187, 0.0050841598510742185, 0.005090303897857666, 0.005098495960235596, 0.0051066880226135255, 0.005094399929046631, 0.005107711791992187, 0.005126143932342529, 0.005088287830352783, 0.005091328144073487, 0.005123072147369385, 0.005187583923339844, 0.005203968048095703, 0.005145599842071533, 0.005175295829772949, 0.005125120162963868, 0.005123072147369385, 0.005152768135070801, 0.00516096019744873, 0.0051333122253417966, 0.005131264209747314, 0.005370880126953125, 0.005155839920043945, 0.0051476478576660155, 0.005163008213043213, 0.005142528057098389, 0.005152768135070801, 0.00515993595123291, 0.005127168178558349, 0.005154816150665284, 0.005125120162963868, 0.005181439876556396, 0.005156864166259765, 0.005139455795288086, 0.005127168178558349, 0.005100543975830078, 0.005093376159667969, 0.005096447944641113, 0.0051066880226135255, 0.005098495960235596, 0.005083136081695557, 0.005122047901153564, 0.005186560153961181, 0.005158912181854248, 0.0051363840103149415, 0.0051701760292053225, 0.005158912181854248, 0.005215231895446777, 0.005187583923339844, 0.005194752216339111, 0.0051476478576660155, 0.005153791904449463, 0.005268479824066162, 0.005157887935638428, 0.005153791904449463, 0.005686272144317627, 0.005416959762573242, 0.00536575984954834, 0.005419007778167725, 0.005349376201629639, 0.00537395191192627, 0.005420032024383545, 0.005348351955413819, 0.005352447986602784, 0.005392384052276611, 0.005354496002197265, 0.005406720161437988, 0.0053821439743042, 0.005393407821655274, 0.005410816192626953, 0.00535859203338623, 0.005313536167144775, 0.00535756778717041, 0.005326848030090332, 0.0054906878471374515, 0.005463039875030518, 0.0054282240867614745, 0.0053821439743042, 0.005429247856140137, 0.005413887977600097, 0.005400576114654541, 0.005436416149139404, 0.005478400230407715, 0.0054354238510131835, 0.005396480083465576, 0.005350399971008301, 0.005395455837249756, 0.005384191989898681, 0.00538316822052002, 0.005346303939819336, 0.005351424217224121, 0.005438464164733887, 0.005337088108062744, 0.005430272102355957, 0.0053534722328186036, 0.0053606400489807126, 0.0053606400489807126, 0.00537497615814209, 0.0053637118339538575, 0.005356544017791748, 0.0053534722328186036, 0.005416959762573242, 0.005361663818359375, 0.005347328186035156, 0.005379072189331055, 0.005349376201629639, 0.005338111877441406, 0.005395455837249756, 0.005369855880737305, 0.005379072189331055, 0.005386240005493164, 0.005404672145843506, 0.005379072189331055, 0.005403647899627686, 0.005341184139251709, 0.005375999927520752, 0.0053688640594482424, 0.005350399971008301, 0.0053606400489807126, 0.0053606400489807126, 0.005342207908630371, 0.005359615802764893, 0.005354496002197265, 0.005422080039978027, 0.005378047943115235, 0.005351424217224121, 0.005351424217224121, 0.005370880126953125, 0.005362688064575195, 0.005350399971008301, 0.005392384052276611, 0.005385216236114502, 0.0053002238273620605, 0.005319680213928223, 0.0053043198585510255, 0.005345280170440674, 0.005351424217224121, 0.005321728229522705, 0.005347328186035156, 0.005348351955413819, 0.005339136123657226, 0.005305344104766845, 0.005303296089172363, 0.005292031764984131, 0.005277696132659912, 0.005306367874145508, 0.005276671886444092, 0.005265408039093018, 0.005315584182739258, 0.00531660795211792, 0.005781504154205322, 0.005291007995605469, 0.005296127796173096, 0.0052899842262268066, 0.00537395191192627, 0.005356544017791748, 0.005342207908630371 ] }, "throughput": { "unit": "samples/s", "value": 188.20337213693 }, "energy": { "unit": "kWh", "cpu": 6.427617939384851e-08, "ram": 3.514162850380573e-08, "gpu": 1.2563523564324278e-07, "total": 2.2505304354089702e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4443396.91775054 } } } }