{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.2.2+rocm5.7", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "fill-mask", "library": "transformers", "model_type": "bert", "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": {}, "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, "memory": true, "latency": true, "energy": false, "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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.236096, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 1, "gpu_vram_mb": 68702699520, "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "a7a97473b632c48148612a312a4eb89b241c78ba", "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 898.1504, "max_global_vram": 3161.923584, "max_process_vram": 43573.030912, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.380751953125, "mean": 7.380751953125, "stdev": 0.0, "p50": 7.380751953125, "p90": 7.380751953125, "p95": 7.380751953125, "p99": 7.380751953125, "values": [ 7.380751953125 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1017.982976, "max_global_vram": 3225.464832, "max_process_vram": 238981.85728, "max_reserved": 589.299712, "max_allocated": 439.456768 }, "latency": { "unit": "s", "count": 136, "total": 1.0006222372055058, "mean": 0.00735751645004048, "stdev": 0.0003711456206522475, "p50": 0.007233583450317382, "p90": 0.007601022958755493, "p95": 0.007905822038650513, "p99": 0.008589380884170536, "values": [ 0.008134382247924805, 0.008021902084350586, 0.007868782043457031, 0.0077209420204162596, 0.007635502815246582, 0.008045262336730957, 0.007543023109436035, 0.007415342807769776, 0.007370223999023437, 0.007272462844848632, 0.007477104187011719, 0.0072332630157470705, 0.007177264213562012, 0.00726142406463623, 0.007187983989715576, 0.007233903884887695, 0.007220784187316895, 0.007282702922821045, 0.007229263782501221, 0.007206704139709473, 0.007174384117126465, 0.007232304096221924, 0.007187502861022949, 0.007226704120635986, 0.007267824172973633, 0.0073462238311767574, 0.007260463237762451, 0.007243663787841797, 0.007221263885498047, 0.007324142932891846, 0.01043005657196045, 0.007596942901611328, 0.007146704196929932, 0.0070796642303466795, 0.00727102279663086, 0.0071009440422058106, 0.007152143955230713, 0.007144464015960693, 0.007147823810577393, 0.0070940651893615725, 0.0070775852203369145, 0.007097104072570801, 0.007089104175567627, 0.007101103782653808, 0.0071321439743041995, 0.0072073440551757816, 0.007123663902282715, 0.0071865439414978026, 0.007151504039764404, 0.007156623840332031, 0.007358222961425781, 0.007128943920135498, 0.007169104099273681, 0.007102223873138427, 0.007123663902282715, 0.007286384105682373, 0.007157104015350342, 0.007250864028930664, 0.007193102836608887, 0.007189104080200195, 0.007158544063568115, 0.0071150240898132325, 0.007081583976745605, 0.007096624851226806, 0.007117104053497314, 0.0071700639724731445, 0.007179183959960938, 0.007197423934936524, 0.007184783935546875, 0.007242703914642334, 0.00718782377243042, 0.007262063980102539, 0.007198863029479981, 0.00722270393371582, 0.007172304153442383, 0.007184783935546875, 0.00730350399017334, 0.007534862995147705, 0.007540782928466797, 0.007476943016052246, 0.0075396628379821775, 0.007462062835693359, 0.007201263904571533, 0.007571662902832031, 0.007147183895111084, 0.0073620638847351075, 0.007420942783355713, 0.007330383777618408, 0.007202223777770996, 0.007351502895355224, 0.007556783199310303, 0.007664622783660889, 0.007545423030853271, 0.007444622993469238, 0.007521903991699218, 0.007483344078063964, 0.007765262126922607, 0.007560623168945312, 0.0075695829391479496, 0.0075556631088256835, 0.007591503143310547, 0.007452784061431884, 0.007529582977294922, 0.0074913430213928225, 0.008016942024230957, 0.008022702217102051, 0.008834380149841309, 0.007595343112945557, 0.007516303062438965, 0.007464303970336914, 0.007584622859954834, 0.0076051030158996585, 0.007545262813568115, 0.007636783123016358, 0.007424942970275879, 0.0074473428726196285, 0.007192624092102051, 0.007304944038391113, 0.007101744174957275, 0.007148943901062012, 0.007131663799285889, 0.007331182956695556, 0.007187503814697266, 0.0073358240127563475, 0.00725710391998291, 0.007173422813415527, 0.007091664791107178, 0.007221582889556885, 0.007104944229125976, 0.0071131038665771485, 0.00711822509765625, 0.007122223854064942, 0.00712830400466919, 0.007174223899841309, 0.007128785133361817, 0.007142542839050293 ] }, "throughput": { "unit": "samples/s", "value": 135.91542836366992 }, "energy": null, "efficiency": null } } }