{ "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.1", "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.342144, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 150, "total": 1.0054174752235412, "mean": 0.006702783168156941, "stdev": 0.00018587387079649486, "p50": 0.006678015947341919, "p90": 0.006967500925064087, "p95": 0.007019264149665832, "p99": 0.0072133919000625605, "values": [ 0.007231423854827881, 0.0067420158386230465, 0.006961152076721191, 0.006873087882995605, 0.007121920108795166, 0.007194623947143554, 0.007278592109680176, 0.007031807899475098, 0.007030784130096435, 0.006973440170288086, 0.006967296123504638, 0.006940671920776367, 0.006949888229370117, 0.006996992111206054, 0.006867968082427979, 0.0068618240356445315, 0.006883359909057617, 0.0066938881874084475, 0.006732800006866455, 0.006766592025756836, 0.00673689603805542, 0.006744063854217529, 0.006662144184112549, 0.006689792156219483, 0.006740992069244385, 0.006726655960083008, 0.006990848064422607, 0.006969344139099121, 0.0069816322326660156, 0.007005184173583984, 0.006876160144805908, 0.007044095993041993, 0.006900735855102539, 0.0069283838272094726, 0.006927360057830811, 0.006815743923187256, 0.006797311782836914, 0.006732800006866455, 0.006638591766357422, 0.0067348480224609375, 0.006659071922302246, 0.006694911956787109, 0.006755328178405762, 0.0068577280044555666, 0.006896639823913574, 0.00693555212020874, 0.006982656002044678, 0.006937600135803222, 0.00692633581161499, 0.006894591808319092, 0.006919167995452881, 0.006730751991271973, 0.006724607944488525, 0.006663167953491211, 0.006699007987976074, 0.006623231887817383, 0.006622208118438721, 0.006667263984680176, 0.006606847763061524, 0.006604800224304199, 0.006730751991271973, 0.006780928134918213, 0.006594560146331787, 0.006624256134033203, 0.0066938881874084475, 0.006626304149627686, 0.006675456047058105, 0.0066979842185974124, 0.006628352165222168, 0.00667955207824707, 0.006750207901000976, 0.0067983360290527345, 0.006763519763946534, 0.006759424209594727, 0.006729728221893311, 0.006648831844329834, 0.00672051191329956, 0.006676479816436768, 0.006638591766357422, 0.0067051520347595215, 0.006583295822143555, 0.006760447978973389, 0.006653952121734619, 0.006625279903411865, 0.006654975891113281, 0.0065075201988220215, 0.006344704151153564, 0.00638976001739502, 0.006425600051879882, 0.006366208076477051, 0.0066416640281677245, 0.006795263767242431, 0.006808576107025147, 0.00688643217086792, 0.007143424034118652, 0.0068280320167541505, 0.0068249602317810056, 0.006767615795135498, 0.006594560146331787, 0.006625279903411865, 0.006601727962493896, 0.006685696125030518, 0.006574079990386963, 0.006557695865631104, 0.006609920024871826, 0.00653926420211792, 0.00658022403717041, 0.006518784046173095, 0.006524928092956543, 0.0065075201988220215, 0.006490111827850342, 0.0065382399559021, 0.006451200008392334, 0.006797311782836914, 0.006643712043762207, 0.006487040042877197, 0.006520832061767578, 0.006518784046173095, 0.0065075201988220215, 0.006533120155334473, 0.006512639999389648, 0.006683648109436035, 0.006562816143035889, 0.006489088058471679, 0.006529024124145508, 0.006498303890228272, 0.0065177597999572755, 0.006520832061767578, 0.0065710082054138185, 0.006496255874633789, 0.00669593620300293, 0.00653107213973999, 0.006533120155334473, 0.006523903846740723, 0.006487040042877197, 0.006512639999389648, 0.0065413122177124024, 0.006487040042877197, 0.006563839912414551, 0.0065146880149841305, 0.006495232105255127, 0.006497280120849609, 0.006510591983795166, 0.006519807815551758, 0.006525951862335205, 0.006523903846740723, 0.0065075201988220215, 0.00653926420211792, 0.006552576065063476, 0.006490111827850342 ] }, "throughput": { "unit": "samples/s", "value": 149.19175735099444 }, "energy": { "unit": "kWh", "cpu": 7.665377257118089e-08, "ram": 4.1903343174659135e-08, "gpu": 1.4187287335483097e-07, "total": 2.60429989100671e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3839803.5627665105 } } } }