{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.4.1+cu124", "_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": {}, "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, "memory": true, "latency": 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.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.225-213.878.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": "1.22.0", "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.13.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 798.093312, "max_global_vram": 1226.309632, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 533.57312 }, "latency": { "unit": "s", "values": [ 8.29316015625 ], "count": 1, "total": 8.29316015625, "mean": 8.29316015625, "p50": 8.29316015625, "p90": 8.29316015625, "p95": 8.29316015625, "p99": 8.29316015625, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.720076423609294e-07, "ram": 5.12371238520837e-07, "gpu": 1.8200014559998506e-06, "total": 3.3043803368816168e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1052.942336, "max_global_vram": 1238.892544, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.025024 }, "latency": { "unit": "s", "values": [ 0.005987328052520752, 0.006145023822784424, 0.005953536033630371, 0.006022143840789795, 0.006034431934356689, 0.00607539176940918, 0.0059688959121704105, 0.006020095825195313, 0.006042623996734619, 0.006001664161682129, 0.005916672229766846, 0.005980160236358643, 0.005961728096008301, 0.005982207775115967, 0.005981184005737304, 0.0060026879310607914, 0.00592793607711792, 0.005911551952362061, 0.005824512004852295, 0.005890048027038574, 0.005915647983551026, 0.006015999794006348, 0.005900288105010986, 0.005952511787414551, 0.005959680080413818, 0.0059658241271972655, 0.005897215843200684, 0.005980160236358643, 0.006022143840789795, 0.006093823909759521, 0.005975039958953857, 0.005997568130493164, 0.0059996161460876465, 0.005979135990142822, 0.005899263858795166, 0.00587059211730957, 0.006012928009033203, 0.005993472099304199, 0.006056960105895996, 0.006055935859680176, 0.005929984092712402, 0.0059770879745483394, 0.005925888061523437, 0.005921792030334472, 0.005743616104125977, 0.005830656051635743, 0.005818367958068848, 0.005833727836608887, 0.0058716158866882326, 0.005957632064819336, 0.005951488018035888, 0.005829631805419922, 0.005867519855499268, 0.005843967914581299, 0.005894144058227539, 0.005830656051635743, 0.005859327793121338, 0.0057825279235839844, 0.005897215843200684, 0.005835775852203369, 0.005946368217468262, 0.0059351038932800295, 0.00601907205581665, 0.005951488018035888, 0.005907455921173096, 0.005994495868682862, 0.005934080123901367, 0.005897215843200684, 0.00588595199584961, 0.005922815799713135, 0.005900288105010986, 0.0058726401329040525, 0.005769216060638428, 0.005921792030334472, 0.005865471839904785, 0.0057825279235839844, 0.005724160194396972, 0.00577023983001709, 0.005566463947296142, 0.005687295913696289, 0.005843967914581299, 0.00573747205734253, 0.005581823825836182, 0.0055285758972167965, 0.005675039768218994, 0.005578752040863037, 0.005607423782348633, 0.005647359848022461, 0.005620736122131348, 0.005597184181213379, 0.00572108793258667, 0.005753856182098388, 0.006021120071411133, 0.0057794561386108395, 0.00566476821899414, 0.005559296131134033, 0.0055582718849182125, 0.005566463947296142, 0.00555622386932373, 0.005602303981781006, 0.005591040134429932, 0.005575679779052735, 0.005701632022857666, 0.005537792205810547, 0.005559296131134033, 0.005513216018676758, 0.005591040134429932, 0.005891071796417236, 0.005658624172210694, 0.005527552127838135, 0.00552345609664917, 0.005536767959594726, 0.005623807907104492, 0.005526527881622314, 0.005532671928405761, 0.005493760108947754, 0.005505023956298828, 0.005516287803649903, 0.005488639831542969, 0.005495808124542236, 0.005501952171325684, 0.005513216018676758, 0.00551526403427124, 0.005493760108947754, 0.00592080020904541, 0.005566463947296142, 0.005554175853729248, 0.0055511040687561035, 0.005530623912811279, 0.005494783878326416, 0.005660672187805176, 0.0054906878471374515, 0.005527552127838135, 0.005609471797943116, 0.005513216018676758, 0.005652480125427246, 0.005508096218109131, 0.005504000186920166, 0.0054917120933532714, 0.005509119987487793, 0.005519360065460205, 0.005517312049865723, 0.005493760108947754, 0.005509119987487793, 0.005534719944000244, 0.005499904155731201, 0.005478400230407715, 0.005488639831542969, 0.0055920639038085935, 0.0054609918594360355, 0.005473279953002929, 0.005504000186920166, 0.0054917120933532714, 0.005486591815948487, 0.005477375984191894, 0.0054876160621643065, 0.0055101442337036136, 0.00552345609664917, 0.005501952171325684, 0.005495808124542236, 0.005500927925109863, 0.0054988799095153805, 0.005516287803649903, 0.005509119987487793, 0.005497856140136719, 0.005473279953002929, 0.005552127838134766, 0.0055848960876464845, 0.00597811222076416, 0.005568511962890625, 0.005537792205810547, 0.005548031806945801, 0.005530623912811279, 0.005505023956298828, 0.0055214080810546875 ], "count": 175, "total": 1.0028995199203485, "mean": 0.005730854399544853, "p50": 0.005701632022857666, "p90": 0.005996339225769043, "p95": 0.006021427202224731, "p99": 0.006080184125900268, "stdev": 0.0002039514373154956, "stdev_": 3.558831250915981 }, "throughput": { "unit": "samples/s", "value": 174.49405102307617 }, "energy": { "unit": "kWh", "cpu": 6.435554140390611e-08, "ram": 3.515205632484657e-08, "gpu": 1.3124935424864922e-07, "total": 2.3075695197740187e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4333563.914026436 } } } }