{ "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", "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.0", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "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": 878.4896, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 149, "total": 0.9998755855560303, "mean": 0.0067105743997049015, "stdev": 0.0002784245006028946, "p50": 0.006706175804138184, "p90": 0.007031193733215332, "p95": 0.007132979011535644, "p99": 0.00731500556945801, "values": [ 0.0075008001327514645, 0.007169023990631103, 0.0072468481063842774, 0.007244800090789795, 0.007178239822387696, 0.007163904190063477, 0.0071188478469848635, 0.0069959678649902345, 0.006970367908477783, 0.006994944095611572, 0.00669593620300293, 0.0067051520347595215, 0.006676479816436768, 0.0066826238632202144, 0.0066304001808166506, 0.006617087841033936, 0.006646783828735352, 0.006716415882110595, 0.0067358717918396, 0.006740992069244385, 0.006755328178405762, 0.006717440128326416, 0.006718463897705078, 0.006725632190704346, 0.006691840171813965, 0.006760447978973389, 0.006800384044647217, 0.006748159885406494, 0.006755328178405762, 0.006729728221893311, 0.00690176010131836, 0.006947840213775635, 0.006987775802612305, 0.007028736114501953, 0.007011328220367432, 0.006919167995452881, 0.006918144226074219, 0.006940671920776367, 0.006966271877288818, 0.006957056045532227, 0.00669593620300293, 0.006750207901000976, 0.006952960014343262, 0.007023615837097168, 0.007094272136688232, 0.007041024208068848, 0.007015423774719238, 0.0069632000923156735, 0.006956031799316406, 0.006960127830505371, 0.007018496036529541, 0.006803455829620361, 0.006718463897705078, 0.006688767910003662, 0.006799359798431396, 0.006912000179290771, 0.006956031799316406, 0.006914048194885254, 0.006663167953491211, 0.006776832103729248, 0.006713344097137451, 0.0066375679969787596, 0.006645760059356689, 0.006649856090545654, 0.006650879859924317, 0.006656000137329102, 0.006646783828735352, 0.0066375679969787596, 0.006927360057830811, 0.006985727787017822, 0.007087103843688965, 0.007041024208068848, 0.007054336071014404, 0.006985727787017822, 0.00698367977142334, 0.007001088142395019, 0.006969344139099121, 0.006917119979858399, 0.006971392154693603, 0.006892543792724609, 0.006851583957672119, 0.0066826238632202144, 0.006882304191589355, 0.00688640022277832, 0.0066979842185974124, 0.006643712043762207, 0.006387712001800537, 0.006375423908233643, 0.006378496170043945, 0.006759424209594727, 0.00678604793548584, 0.006872064113616944, 0.006914048194885254, 0.00689356803894043, 0.007065599918365479, 0.00694374418258667, 0.007377920150756836, 0.007142399787902832, 0.006560768127441406, 0.0065781760215759275, 0.0065136637687683106, 0.006503424167633057, 0.006511616230010986, 0.006492159843444824, 0.0065177597999572755, 0.0065075201988220215, 0.006462463855743408, 0.006505472183227539, 0.00637337589263916, 0.006291456222534179, 0.006303743839263916, 0.006255616188049316, 0.006453248023986816, 0.006463488101959228, 0.006463488101959228, 0.0064880638122558594, 0.006465536117553711, 0.006706175804138184, 0.006586368083953857, 0.006553599834442139, 0.006583295822143555, 0.006582272052764892, 0.006561791896820069, 0.006597631931304931, 0.006559743881225586, 0.006563839912414551, 0.0065771517753601075, 0.006545407772064209, 0.006463488101959228, 0.006505472183227539, 0.006250495910644531, 0.006261760234832763, 0.006247424125671387, 0.006259712219238281, 0.0062791681289672855, 0.0062494721412658695, 0.006277120113372803, 0.006228991985321045, 0.0062679038047790524, 0.006269951820373535, 0.006277120113372803, 0.006250495910644531, 0.006277120113372803, 0.006281216144561768, 0.006268928050994873, 0.006284287929534912, 0.006276095867156982, 0.006259712219238281, 0.006299647808074951 ] }, "throughput": { "unit": "samples/s", "value": 149.01854005880259 }, "energy": { "unit": "kWh", "cpu": 7.740248132635046e-08, "ram": 4.2315766504365376e-08, "gpu": 1.4506729107189593e-07, "total": 2.6478553890261175e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3776641.2929665335 } } } }