{ "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", "model": "google-bert/bert-base-uncased", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 880.652288, "max_global_vram": 1231.552512, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 147, "total": 1.0001664638519288, "mean": 0.006803853495591352, "stdev": 0.00022937204313752113, "p50": 0.006718463897705078, "p90": 0.007129702568054199, "p95": 0.007175475072860718, "p99": 0.007654768638610836, "values": [ 0.00783564805984497, 0.007169023990631103, 0.007346176147460938, 0.007258111953735351, 0.00729804801940918, 0.0072202239036560055, 0.007178239822387696, 0.007861248016357422, 0.007163904190063477, 0.007111680030822754, 0.007073791980743408, 0.007039999961853028, 0.007114751815795899, 0.007045119762420654, 0.0070256638526916505, 0.007005184173583984, 0.007049215793609619, 0.007085055828094483, 0.00714035177230835, 0.007132160186767578, 0.007128064155578613, 0.007442431926727295, 0.0071495680809020995, 0.007122943878173828, 0.007142399787902832, 0.0067717118263244626, 0.006785024166107178, 0.006867968082427979, 0.006782976150512696, 0.006747136116027832, 0.006748159885406494, 0.006716415882110595, 0.006776832103729248, 0.007028736114501953, 0.0067010560035705566, 0.006922239780426025, 0.007061503887176514, 0.007011328220367432, 0.007023615837097168, 0.006649856090545654, 0.006729728221893311, 0.006730751991271973, 0.0067348480224609375, 0.006830080032348633, 0.00684441614151001, 0.006761472225189209, 0.006841343879699707, 0.006788095951080322, 0.006703104019165039, 0.006694911956787109, 0.00678604793548584, 0.00674508810043335, 0.006711296081542969, 0.006730751991271973, 0.006719488143920899, 0.006648831844329834, 0.006718463897705078, 0.006711296081542969, 0.006686719894409179, 0.006740992069244385, 0.0068055038452148435, 0.0066375679969787596, 0.006691840171813965, 0.006718463897705078, 0.006675456047058105, 0.0067276802062988285, 0.006696959972381592, 0.006662144184112549, 0.0067010560035705566, 0.006746111869812011, 0.006752255916595459, 0.0067758078575134275, 0.0068055038452148435, 0.006795263767242431, 0.006737919807434082, 0.006748159885406494, 0.006737919807434082, 0.006651904106140137, 0.006725632190704346, 0.006672383785247803, 0.0066416640281677245, 0.006557695865631104, 0.006458367824554443, 0.0065781760215759275, 0.006586368083953857, 0.0064471039772033695, 0.00637337589263916, 0.006369279861450195, 0.006436863899230957, 0.006947840213775635, 0.006922239780426025, 0.00687820816040039, 0.006976511955261231, 0.007003136157989502, 0.007162879943847656, 0.00690176010131836, 0.006748159885406494, 0.006748159885406494, 0.006751232147216797, 0.006744063854217529, 0.006740992069244385, 0.006694911956787109, 0.006667263984680176, 0.006717472076416015, 0.00669593620300293, 0.006661119937896728, 0.006716415882110595, 0.006677504062652588, 0.006666240215301514, 0.006646783828735352, 0.006643743991851807, 0.006657023906707763, 0.0067051520347595215, 0.006651904106140137, 0.006684671878814697, 0.006663167953491211, 0.006687744140625, 0.006648831844329834, 0.006709248065948486, 0.006673408031463623, 0.0066416640281677245, 0.0067010560035705566, 0.006675456047058105, 0.006676479816436768, 0.006718463897705078, 0.006694911956787109, 0.006687744140625, 0.006668288230895996, 0.006662144184112549, 0.006657023906707763, 0.006691840171813965, 0.006675456047058105, 0.006702079772949219, 0.006699007987976074, 0.006709248065948486, 0.006665215969085693, 0.0066938881874084475, 0.006700032234191895, 0.006628352165222168, 0.00667955207824707, 0.006694911956787109, 0.0066304001808166506, 0.0066826238632202144, 0.006668288230895996, 0.006635519981384277, 0.006653952121734619, 0.006673408031463623 ] }, "throughput": { "unit": "samples/s", "value": 146.97553388648996 }, "energy": { "unit": "kWh", "cpu": 7.723130360998289e-08, "ram": 4.2117662243461904e-08, "gpu": 1.4656216631168754e-07, "total": 2.659111321651323e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3760654.8919471125 } } } }