{ "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.254976, "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.0051841254234308, "mean": 0.006485058873699558, "stdev": 0.0002643138021520586, "p50": 0.006511616230010986, "p90": 0.006612991809844971, "p95": 0.00711679983139038, "p99": 0.007441920127868654, "values": [ 0.007704576015472412, 0.007312384128570557, 0.00723967981338501, 0.007110655784606934, 0.007131135940551757, 0.007132160186767578, 0.007161856174468994, 0.007135231971740722, 0.007051263809204102, 0.007088128089904785, 0.0075939841270446775, 0.006658048152923584, 0.0062156801223754886, 0.006398975849151611, 0.0064143362045288085, 0.0064143362045288085, 0.0064133119583129885, 0.006364160060882569, 0.006468607902526856, 0.006551551818847656, 0.006504447937011719, 0.006565887928009034, 0.0065146880149841305, 0.006490111827850342, 0.006526976108551025, 0.006479872226715088, 0.006573056221008301, 0.006561791896820069, 0.006563839912414551, 0.006511616230010986, 0.006492159843444824, 0.0065064959526062015, 0.006518784046173095, 0.006503424167633057, 0.0065136637687683106, 0.006555647850036621, 0.006511616230010986, 0.006556672096252441, 0.006555647850036621, 0.006516736030578613, 0.006555647850036621, 0.006546432018280029, 0.0065781760215759275, 0.006593535900115967, 0.006526976108551025, 0.006606847763061524, 0.006564864158630371, 0.006599679946899414, 0.00657919979095459, 0.0065710082054138185, 0.006573056221008301, 0.006646783828735352, 0.006594560146331787, 0.006562816143035889, 0.006574079990386963, 0.006576128005981445, 0.0065372161865234375, 0.006576128005981445, 0.006576128005981445, 0.006586368083953857, 0.006590464115142822, 0.00653926420211792, 0.00657919979095459, 0.006604800224304199, 0.006559743881225586, 0.006606847763061524, 0.006546432018280029, 0.006509568214416504, 0.006523903846740723, 0.006347775936126709, 0.006398975849151611, 0.006436863899230957, 0.006423552036285401, 0.0068915200233459475, 0.006623231887817383, 0.006532095909118653, 0.006617087841033936, 0.006523903846740723, 0.0065669121742248536, 0.006589439868927002, 0.006552576065063476, 0.006398975849151611, 0.006460415840148926, 0.0064133119583129885, 0.006441984176635742, 0.0064542717933654785, 0.0063836159706115725, 0.006371359825134277, 0.00643071985244751, 0.006401023864746094, 0.0064542717933654785, 0.0065146880149841305, 0.006536191940307618, 0.006453248023986816, 0.00653004789352417, 0.006559743881225586, 0.006533120155334473, 0.006555647850036621, 0.006508543968200684, 0.006525951862335205, 0.006593535900115967, 0.0065474557876586915, 0.006542431831359863, 0.006559743881225586, 0.006523903846740723, 0.006533120155334473, 0.006560768127441406, 0.006554624080657959, 0.006520832061767578, 0.006171648025512695, 0.006142975807189942, 0.00624128007888794, 0.006220799922943115, 0.006266880035400391, 0.006202367782592774, 0.006232063770294189, 0.006188032150268555, 0.006203392028808594, 0.006266880035400391, 0.006211584091186524, 0.006214655876159668, 0.0062044157981872555, 0.006232063770294189, 0.006231040000915527, 0.00624128007888794, 0.0061931519508361815, 0.006258687973022461, 0.006211584091186524, 0.006270976066589356, 0.006205440044403076, 0.0062197761535644535, 0.006235136032104492, 0.006203392028808594, 0.006232063770294189, 0.0061859841346740725, 0.00620851182937622, 0.006199295997619629, 0.006244351863861084, 0.00622489595413208, 0.006187007904052734, 0.006236159801483154, 0.006194176197052002, 0.00626585578918457, 0.006203392028808594, 0.0062197761535644535, 0.006200319766998291, 0.00621670389175415, 0.006210559844970703, 0.006202367782592774, 0.006205440044403076, 0.0061859841346740725, 0.00624128007888794, 0.006261760234832763, 0.006270976066589356, 0.006281216144561768 ] }, "throughput": { "unit": "samples/s", "value": 154.20060472473799 }, "energy": { "unit": "kWh", "cpu": 7.498483821114488e-08, "ram": 4.0913420450107086e-08, "gpu": 1.4255252494339606e-07, "total": 2.5845078360464803e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3869208.6208943333 } } } }