{ "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.006272, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 152, "total": 1.005482048511505, "mean": 0.006615013477049377, "stdev": 0.00013405824033559024, "p50": 0.006593535900115967, "p90": 0.0068042752742767335, "p95": 0.006880051374435424, "p99": 0.007000135698318482, "values": [ 0.0071188478469848635, 0.006799359798431396, 0.006872064113616944, 0.00679423999786377, 0.006833151817321777, 0.006830080032348633, 0.0067870721817016606, 0.006726655960083008, 0.0067573761940002445, 0.006633471965789795, 0.006646783828735352, 0.006622208118438721, 0.006604800224304199, 0.0066447358131408694, 0.006636544227600098, 0.006533120155334473, 0.006575104236602783, 0.006623231887817383, 0.006598656177520752, 0.006746111869812011, 0.006759424209594727, 0.00672051191329956, 0.006690815925598144, 0.006642687797546387, 0.006605823993682861, 0.006653984069824218, 0.006706175804138184, 0.006633471965789795, 0.006667263984680176, 0.006677504062652588, 0.006667263984680176, 0.006624256134033203, 0.00667852783203125, 0.00662937593460083, 0.006668288230895996, 0.006653952121734619, 0.006552576065063476, 0.006518784046173095, 0.0065443840026855465, 0.006545407772064209, 0.006569983959197998, 0.006535168170928955, 0.006639616012573242, 0.006624256134033203, 0.0066375679969787596, 0.006665215969085693, 0.006703104019165039, 0.006620160102844238, 0.006660096168518067, 0.006616064071655273, 0.0065710082054138185, 0.0065812478065490725, 0.0066744318008422855, 0.006591487884521485, 0.0066119680404663084, 0.006635519981384277, 0.006563839912414551, 0.0065372161865234375, 0.006603775978088379, 0.006556672096252441, 0.006583295822143555, 0.006717440128326416, 0.006627327919006347, 0.006576128005981445, 0.006574079990386963, 0.0065413122177124024, 0.006604800224304199, 0.006550528049468994, 0.006591487884521485, 0.006609920024871826, 0.006595583915710449, 0.0070225920677185055, 0.006978559970855713, 0.00693555212020874, 0.00690176010131836, 0.006882304191589355, 0.006895616054534912, 0.00688640022277832, 0.006813695907592773, 0.006812672138214112, 0.006849535942077637, 0.0067276802062988285, 0.0067338237762451176, 0.006631423950195312, 0.006651904106140137, 0.006744063854217529, 0.006680575847625733, 0.006496255874633789, 0.006498303890228272, 0.006567935943603515, 0.006582272052764892, 0.006711296081542969, 0.0067717118263244626, 0.006731776237487793, 0.006802432060241699, 0.0067870721817016606, 0.00687820816040039, 0.006804480075836182, 0.0066744318008422855, 0.006509568214416504, 0.006583295822143555, 0.006597631931304931, 0.006497280120849609, 0.006534143924713135, 0.006554624080657959, 0.006478847980499268, 0.006510591983795166, 0.006474751949310303, 0.0064880638122558594, 0.0065064959526062015, 0.006453248023986816, 0.006467616081237793, 0.006515711784362793, 0.0064849920272827145, 0.00652288007736206, 0.0064778242111206055, 0.006469632148742676, 0.006481919765472412, 0.0064430079460144046, 0.0064849920272827145, 0.006498303890228272, 0.006466559886932373, 0.006472703933715821, 0.006440959930419922, 0.006472703933715821, 0.006475776195526123, 0.006474751949310303, 0.006495232105255127, 0.006464511871337891, 0.0065064959526062015, 0.006504447937011719, 0.006492159843444824, 0.00652185583114624, 0.006503424167633057, 0.006511616230010986, 0.006487040042877197, 0.006472703933715821, 0.00643993616104126, 0.006481919765472412, 0.006451200008392334, 0.0064767999649047855, 0.00652288007736206, 0.006468607902526856, 0.006504447937011719, 0.006492159843444824, 0.006469632148742676, 0.006496255874633789, 0.006467584133148193, 0.006500351905822754, 0.0064839677810668945, 0.006470655918121338, 0.006508543968200684 ] }, "throughput": { "unit": "samples/s", "value": 151.17127175469483 }, "energy": { "unit": "kWh", "cpu": 7.640579161250891e-08, "ram": 4.176809449540263e-08, "gpu": 1.4003595432258047e-07, "total": 2.58209840430492e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3872819.092923734 } } } }