{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.2.2", "_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.214-202.855.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "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.0", "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": 866.041856, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 155, "total": 1.002450977802276, "mean": 0.0064674256632404935, "stdev": 0.00019750743205881847, "p50": 0.006493184089660644, "p90": 0.006580838203430176, "p95": 0.006742732906341552, "p99": 0.007255674724578858, "values": [ 0.007309311866760254, 0.006625279903411865, 0.006788095951080322, 0.0067276802062988285, 0.00677785587310791, 0.006856704235076904, 0.006940671920776367, 0.007209983825683594, 0.006408192157745361, 0.006195199966430664, 0.006196224212646485, 0.006168575763702393, 0.006195199966430664, 0.006160384178161621, 0.006171648025512695, 0.006162432193756104, 0.006174719810485839, 0.006160384178161621, 0.006202367782592774, 0.006140927791595459, 0.00616755199432373, 0.00628326416015625, 0.006170623779296875, 0.006187007904052734, 0.00617574405670166, 0.006168575763702393, 0.006144000053405762, 0.006236159801483154, 0.006176767826080322, 0.006243328094482422, 0.006169600009918213, 0.0062269439697265625, 0.006196224212646485, 0.006207520008087158, 0.006182911872863769, 0.006154240131378174, 0.006174719810485839, 0.006189055919647217, 0.006191103935241699, 0.006149119853973388, 0.006277120113372803, 0.006719488143920899, 0.006461440086364746, 0.006491136074066162, 0.006457344055175781, 0.006525951862335205, 0.006495232105255127, 0.006493184089660644, 0.006493184089660644, 0.006469632148742676, 0.006491136074066162, 0.006497280120849609, 0.006467584133148193, 0.006497280120849609, 0.006504447937011719, 0.006491136074066162, 0.006500351905822754, 0.006498303890228272, 0.006474751949310303, 0.006489088058471679, 0.006460415840148926, 0.0064839677810668945, 0.006501376152038574, 0.006474751949310303, 0.0065064959526062015, 0.006545407772064209, 0.006502399921417237, 0.006491136074066162, 0.006464511871337891, 0.006503424167633057, 0.0065064959526062015, 0.006495232105255127, 0.006605823993682861, 0.00653004789352417, 0.006479872226715088, 0.006504447937011719, 0.006493184089660644, 0.006510591983795166, 0.006501376152038574, 0.006449151992797852, 0.006516736030578613, 0.006502399921417237, 0.006490111827850342, 0.006560768127441406, 0.006478847980499268, 0.006493184089660644, 0.006502399921417237, 0.006455296039581298, 0.006487040042877197, 0.0064767999649047855, 0.006482944011688232, 0.0065146880149841305, 0.006464511871337891, 0.006516736030578613, 0.0064778242111206055, 0.006469632148742676, 0.0064737281799316405, 0.006469632148742676, 0.006479872226715088, 0.006512639999389648, 0.006583295822143555, 0.0065064959526062015, 0.006512639999389648, 0.00653926420211792, 0.00653107213973999, 0.0065382399559021, 0.006501376152038574, 0.006574079990386963, 0.006510591983795166, 0.006525951862335205, 0.006500351905822754, 0.006501376152038574, 0.00653004789352417, 0.006499328136444092, 0.006529024124145508, 0.0065771517753601075, 0.006499328136444092, 0.006472703933715821, 0.006491136074066162, 0.006448128223419189, 0.006478847980499268, 0.006474751949310303, 0.006497280120849609, 0.006499328136444092, 0.006472703933715821, 0.006470655918121338, 0.0065177597999572755, 0.0064737281799316405, 0.006494207859039307, 0.006499328136444092, 0.006496255874633789, 0.006642687797546387, 0.006604800224304199, 0.006497280120849609, 0.006510591983795166, 0.006435840129852295, 0.00643993616104126, 0.006425600051879882, 0.006412288188934326, 0.006460415840148926, 0.006385663986206055, 0.006462463855743408, 0.0065064959526062015, 0.006667263984680176, 0.007445504188537597, 0.00694374418258667, 0.006558720111846924, 0.006471680164337158, 0.006562816143035889, 0.006504447937011719, 0.006575104236602783, 0.006555647850036621, 0.0065484800338745115, 0.006540287971496582, 0.006549503803253174 ] }, "throughput": { "unit": "samples/s", "value": 154.6210272943364 }, "energy": { "unit": "kWh", "cpu": 7.693178871626496e-08, "ram": 4.193464474918719e-08, "gpu": 1.4653595952257972e-07, "total": 2.654023929880319e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3767863.5401192266 } } } }