{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "fill-mask", "library": "transformers", "model_type": "bert", "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.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": 871.440384, "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.004082369804382, "mean": 0.005456969401110774, "stdev": 0.00019773627577341206, "p50": 0.005440512180328369, "p90": 0.005704089641571045, "p95": 0.005813657522201538, "p99": 0.005968076939582822, "values": [ 0.006342656135559082, 0.005940224170684814, 0.005856256008148194, 0.005814271926879883, 0.00587059211730957, 0.005752831935882568, 0.0057487359046936035, 0.0057077760696411135, 0.005675007820129394, 0.005772287845611572, 0.005647359848022461, 0.005628928184509278, 0.005761023998260498, 0.005709824085235596, 0.005909503936767578, 0.005810175895690918, 0.005928959846496582, 0.00576204776763916, 0.005657599925994873, 0.005610496044158936, 0.00561356782913208, 0.005650432109832764, 0.005540863990783691, 0.005571584224700928, 0.005602303981781006, 0.005534719944000244, 0.005492735862731934, 0.005421055793762207, 0.00541593599319458, 0.005500927925109863, 0.005626880168914795, 0.005659647941589355, 0.005575679779052735, 0.005605375766754151, 0.005695487976074219, 0.005543935775756836, 0.005540863990783691, 0.005527552127838135, 0.00555622386932373, 0.005582848072052002, 0.005530623912811279, 0.005565440177917481, 0.005492735862731934, 0.005529600143432617, 0.005583871841430664, 0.005483520030975342, 0.005529600143432617, 0.00547430419921875, 0.005469183921813964, 0.005587999820709229, 0.005657599925994873, 0.005578752040863037, 0.0056555519104003905, 0.005561344146728516, 0.005618752002716065, 0.0055316481590271, 0.005628928184509278, 0.005538815975189209, 0.005439487934112549, 0.00546611213684082, 0.005281792163848877, 0.0053647360801696775, 0.005582848072052002, 0.005446656227111817, 0.005250048160552978, 0.0052899842262268066, 0.005238783836364746, 0.005244927883148193, 0.0052930560111999515, 0.005243904113769531, 0.005352447986602784, 0.005496831893920898, 0.005616640090942383, 0.005670911788940429, 0.005856256008148194, 0.005921792030334472, 0.005662720203399658, 0.0054906878471374515, 0.005494783878326416, 0.005471231937408447, 0.005470208168029785, 0.005482495784759522, 0.005462016105651855, 0.005420032024383545, 0.005497856140136719, 0.005442560195922852, 0.005475327968597412, 0.0054988799095153805, 0.005419007778167725, 0.005493760108947754, 0.005417984008789062, 0.0053975038528442385, 0.005453824043273926, 0.0053606400489807126, 0.005255167961120606, 0.005440512180328369, 0.005426176071166992, 0.005406720161437988, 0.005468160152435303, 0.005444608211517334, 0.0054282240867614745, 0.005452799797058106, 0.005403647899627686, 0.005426176071166992, 0.005417984008789062, 0.005405695915222168, 0.005462016105651855, 0.005406720161437988, 0.005342207908630371, 0.00530944013595581, 0.005260287761688232, 0.005237760066986084, 0.005255167961120606, 0.005237760066986084, 0.005238783836364746, 0.00522547197341919, 0.006104063987731933, 0.005788671970367432, 0.005276671886444092, 0.0052674560546875, 0.005249023914337158, 0.005252096176147461, 0.0052111358642578124, 0.005480447769165039, 0.005430272102355957, 0.005381120204925537, 0.0053975038528442385, 0.0054609918594360355, 0.005416959762573242, 0.005440512180328369, 0.005476352214813233, 0.005223423957824707, 0.005231616020202637, 0.00522649621963501, 0.00522547197341919, 0.005241856098175048, 0.0052674560546875, 0.0052336640357971195, 0.005436416149139404, 0.005443679809570313, 0.005425151824951172, 0.005420032024383545, 0.005440512180328369, 0.005420032024383545, 0.005446656227111817, 0.005402624130249023, 0.0053975038528442385, 0.005435391902923584, 0.005453824043273926, 0.0052971520423889164, 0.005188608169555664, 0.00515174388885498, 0.0051476478576660155, 0.005129216194152832, 0.005178368091583252, 0.00516096019744873, 0.005184512138366699, 0.005208064079284668, 0.005313536167144775, 0.005340159893035889, 0.005549056053161621, 0.005409791946411133, 0.005410816192626953, 0.005437439918518067, 0.005347328186035156, 0.005221375942230225, 0.005439487934112549, 0.00542310380935669, 0.005352447986602784, 0.005294079780578613, 0.0052295680046081545, 0.005222400188446045, 0.005273600101470947, 0.005222400188446045, 0.005198847770690918, 0.005254144191741943, 0.00521830415725708, 0.005214208126068115, 0.005258240222930908, 0.00520908784866333, 0.005251071929931641, 0.005244927883148193, 0.005256192207336426, 0.005235712051391602 ] }, "throughput": { "unit": "samples/s", "value": 183.25189798507 }, "energy": { "unit": "kWh", "cpu": 6.093303956876794e-08, "ram": 3.330075049434847e-08, "gpu": 1.284744617538469e-07, "total": 2.2270825181696333e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4490179.379710939 } } } }