{ "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.324608, "max_global_vram": 1231.552512, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 146, "total": 1.0020045108795173, "mean": 0.0068630445950651825, "stdev": 0.00020117385489072046, "p50": 0.006883840084075927, "p90": 0.007060479879379272, "p95": 0.007094527959823608, "p99": 0.007237939238548279, "values": [ 0.00724070405960083, 0.006833151817321777, 0.0070256638526916505, 0.006938623905181885, 0.006945792198181152, 0.006887423992156983, 0.0069212160110473635, 0.006831103801727295, 0.006856704235076904, 0.006846464157104492, 0.006875135898590088, 0.006801407814025879, 0.006856704235076904, 0.006806528091430664, 0.007019519805908203, 0.0069816322326660156, 0.006987775802612305, 0.007029759883880615, 0.007061503887176514, 0.0070594558715820314, 0.007057407855987549, 0.0070553598403930665, 0.007047167778015137, 0.0069632000923156735, 0.006998015880584717, 0.00709222412109375, 0.007080959796905518, 0.007046144008636474, 0.007095295906066895, 0.0070266880989074704, 0.007002111911773682, 0.007010303974151612, 0.007041024208068848, 0.006996992111206054, 0.007004159927368164, 0.0068915200233459475, 0.006945792198181152, 0.006965248107910156, 0.006993919849395752, 0.006975488185882568, 0.007087103843688965, 0.007021567821502686, 0.007090176105499267, 0.007110655784606934, 0.007123968124389648, 0.0070594558715820314, 0.007126016139984131, 0.007234560012817383, 0.006960127830505371, 0.006989823818206787, 0.0070553598403930665, 0.007001088142395019, 0.007058432102203369, 0.0070266880989074704, 0.007015423774719238, 0.007035903930664063, 0.007017471790313721, 0.006979584217071533, 0.006998015880584717, 0.0070830078125, 0.006952960014343262, 0.006936575889587402, 0.0069621758460998535, 0.006982656002044678, 0.00698367977142334, 0.006957056045532227, 0.0069816322326660156, 0.007019519805908203, 0.0070860800743103025, 0.007106560230255127, 0.007007232189178467, 0.0070594558715820314, 0.007027711868286133, 0.007010303974151612, 0.0069847040176391605, 0.00698367977142334, 0.007011328220367432, 0.006987775802612305, 0.0067870721817016606, 0.006770688056945801, 0.0067358717918396, 0.006779903888702392, 0.0068392958641052244, 0.006751232147216797, 0.006639616012573242, 0.007954432010650634, 0.006880256175994873, 0.006808576107025147, 0.006960127830505371, 0.0068055038452148435, 0.006819839954376221, 0.006816768169403077, 0.006927360057830811, 0.006856704235076904, 0.0067358717918396, 0.006663167953491211, 0.00673689603805542, 0.006780928134918213, 0.006730751991271973, 0.006702079772949219, 0.006702079772949219, 0.006680575847625733, 0.0066406397819519045, 0.006703104019165039, 0.006632448196411133, 0.006619135856628418, 0.006649856090545654, 0.006830080032348633, 0.006715392112731934, 0.006656000137329102, 0.006623231887817383, 0.006605823993682861, 0.0066744318008422855, 0.006639616012573242, 0.006645760059356689, 0.006621183872222901, 0.006623231887817383, 0.006616064071655273, 0.0066119680404663084, 0.006595583915710449, 0.006626304149627686, 0.006636544227600098, 0.006622208118438721, 0.006623231887817383, 0.006612991809844971, 0.006601727962493896, 0.006633471965789795, 0.006595583915710449, 0.006601727962493896, 0.006620160102844238, 0.006621183872222901, 0.006598656177520752, 0.006632448196411133, 0.006645760059356689, 0.0066078720092773435, 0.006643712043762207, 0.006636544227600098, 0.006628352165222168, 0.006625311851501465, 0.0066344962120056155, 0.006603775978088379, 0.006636544227600098, 0.006643712043762207, 0.006632448196411133, 0.006636544227600098, 0.006623231887817383 ] }, "throughput": { "unit": "samples/s", "value": 145.70792687534654 }, "energy": { "unit": "kWh", "cpu": 7.723481280119045e-08, "ram": 4.222094199316676e-08, "gpu": 1.4248929148051975e-07, "total": 2.61945046274877e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3817594.62231109 } } } }