{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.2.0.dev20231010+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": "5", "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": "warn", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.256576, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 8, "gpu_vram_mb": 549621596160, "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 948.342784, "max_global_vram": 68702.69952, "max_process_vram": 45956.349952, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.95468994140625, "mean": 7.95468994140625, "stdev": 0.0, "p50": 7.95468994140625, "p90": 7.95468994140625, "p95": 7.95468994140625, "p99": 7.95468994140625, "values": [ 7.95468994140625 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1085.915136, "max_global_vram": 68702.69952, "max_process_vram": 245438.574592, "max_reserved": 589.299712, "max_allocated": 439.456768 }, "latency": { "unit": "s", "count": 144, "total": 0.9991695203781129, "mean": 0.0069386772248480055, "stdev": 0.00039704962636426933, "p50": 0.006777500867843627, "p90": 0.007408827209472658, "p95": 0.007563506865501403, "p99": 0.008175498347282404, "values": [ 0.007647178173065186, 0.007564778804779053, 0.007212940216064453, 0.00748413896560669, 0.007207019805908203, 0.007170380115509033, 0.007132619857788086, 0.007122220039367676, 0.0071342201232910156, 0.007104300975799561, 0.008574055671691895, 0.006942860126495361, 0.0069689412117004395, 0.00689870023727417, 0.006946220874786377, 0.0069446201324462895, 0.006959341049194336, 0.0069126210212707515, 0.006866219997406006, 0.0069083008766174315, 0.006893260955810547, 0.006960299968719483, 0.006942700862884521, 0.006957260131835938, 0.006887500762939453, 0.01024061107635498, 0.007123819828033447, 0.006729421138763428, 0.0067822208404541015, 0.006766541004180908, 0.006800621032714844, 0.006718380928039551, 0.006918220996856689, 0.006964140892028808, 0.006699981212615967, 0.0069170999526977535, 0.006815821170806885, 0.006807981014251709, 0.0069689412117004395, 0.006694540977478027, 0.0067396612167358394, 0.006647021770477295, 0.006724620819091797, 0.006733901023864746, 0.006743021011352539, 0.006841421127319336, 0.006735820770263672, 0.007071499824523926, 0.006849260807037354, 0.006876300811767578, 0.006743181228637696, 0.006733261108398438, 0.006739981174468994, 0.0067022209167480465, 0.00676478099822998, 0.0067092618942260745, 0.006709421157836914, 0.006690220832824707, 0.006731181144714355, 0.006706221103668213, 0.006726381778717041, 0.006703821182250977, 0.006762540817260742, 0.006719661235809326, 0.006697260856628418, 0.006737260818481445, 0.006734221935272217, 0.006717580795288086, 0.0067487812042236325, 0.006771340847015381, 0.0067755007743835445, 0.0067963008880615235, 0.006773740768432617, 0.006763340950012207, 0.006745261192321777, 0.00677022123336792, 0.006706380844116211, 0.006708141803741455, 0.006779500961303711, 0.006699020862579346, 0.006764141082763672, 0.006892301082611084, 0.006766380786895752, 0.00672990083694458, 0.006751181125640869, 0.006790700912475586, 0.006747180938720703, 0.0067395009994506835, 0.006758861064910889, 0.006731340885162354, 0.0067414212226867675, 0.0067822208404541015, 0.006734221935272217, 0.006689741134643555, 0.006763340950012207, 0.006741100788116455, 0.006704620838165283, 0.0067254209518432615, 0.006704142093658447, 0.006734860897064209, 0.006708301067352295, 0.006763660907745361, 0.006702061176300049, 0.006749101161956787, 0.006703341960906982, 0.006735500812530518, 0.0067375807762145995, 0.006728621006011963, 0.006684300899505616, 0.006699021816253662, 0.006720941066741943, 0.006745100975036621, 0.006754061222076416, 0.006732941150665283, 0.006687020778656006, 0.006989420890808106, 0.006691660881042481, 0.006832941055297852, 0.006891661167144776, 0.006891980171203614, 0.0074298992156982425, 0.00757581901550293, 0.007566379070281982, 0.007438858985900879, 0.0071911802291870115, 0.007556299209594727, 0.007545098781585693, 0.007585419178009033, 0.007209259033203125, 0.0068886208534240725, 0.0071942200660705564, 0.007527178764343262, 0.0071396598815917965, 0.007106860160827636, 0.007006060123443603, 0.007581258773803711, 0.007528618812561035, 0.007359659194946289, 0.007099660873413086, 0.007041739940643311, 0.006956620216369629, 0.007079501152038575, 0.007055019855499268, 0.007045259952545166 ] }, "throughput": { "unit": "samples/s", "value": 144.1196884643824 }, "energy": null, "efficiency": null } } }