{ "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": "35e06a8a39b8c67a2e53b499c65346db81ed78be", "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.576384, "max_global_vram": 3161.944064, "max_process_vram": 44470.92736, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.18954248046875, "mean": 7.18954248046875, "stdev": 0.0, "p50": 7.18954248046875, "p90": 7.18954248046875, "p95": 7.18954248046875, "p99": 7.18954248046875, "values": [ 7.18954248046875 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1018.32704, "max_global_vram": 3225.481216, "max_process_vram": 227146.338304, "max_reserved": 589.299712, "max_allocated": 439.456768 }, "latency": { "unit": "s", "count": 137, "total": 1.0045476846694943, "mean": 0.007332464851602151, "stdev": 0.00044642942977707274, "p50": 0.007166864871978759, "p90": 0.007801999664306641, "p95": 0.008078958702087401, "p99": 0.008439707832336425, "values": [ 0.00806798267364502, 0.008286863327026368, 0.008208943367004394, 0.008122862815856934, 0.00838830280303955, 0.0079793438911438, 0.008128623008728027, 0.007853903770446778, 0.00769742488861084, 0.007428144931793213, 0.007440945148468017, 0.007222384929656983, 0.007081425189971924, 0.007114864826202392, 0.007112946033477783, 0.007083664894104004, 0.007119824886322021, 0.00715534496307373, 0.007124465942382812, 0.0071612648963928225, 0.007180465221405029, 0.007016305923461914, 0.007078705787658691, 0.007163984775543213, 0.0070947051048278805, 0.007143506050109863, 0.007067824840545654, 0.007166864871978759, 0.007089584827423096, 0.007152145862579346, 0.007079185009002686, 0.007171666145324707, 0.00705054521560669, 0.009809260368347167, 0.007859023094177246, 0.007623505115509033, 0.0077339038848876955, 0.007757743835449219, 0.0077009439468383786, 0.0078276629447937, 0.007724944114685058, 0.007718704223632813, 0.007708943843841552, 0.007777103900909424, 0.0077009439468383786, 0.007732304096221923, 0.007681105136871338, 0.0077095842361450196, 0.007702383995056152, 0.007713263988494873, 0.007731823921203613, 0.00774510383605957, 0.007720784187316894, 0.007741104125976563, 0.0077131037712097165, 0.007724944114685058, 0.00772270393371582, 0.007801424026489258, 0.007723663806915283, 0.007802863121032715, 0.007744143962860108, 0.007666544914245605, 0.00735038423538208, 0.006932625770568848, 0.0071471848487854005, 0.00692702579498291, 0.006859665870666504, 0.006902705192565918, 0.006917426109313965, 0.006962386131286621, 0.0068927850723266605, 0.006899985790252685, 0.006898386001586914, 0.0069134259223937984, 0.006800624847412109, 0.006942225933074951, 0.006879345893859863, 0.006902865886688233, 0.006911825180053711, 0.007112946033477783, 0.00688846492767334, 0.006944625854492187, 0.006908306121826172, 0.006973265171051025, 0.006975185871124267, 0.007290225028991699, 0.007077744960784912, 0.0070007858276367185, 0.007386865139007569, 0.006898866176605224, 0.0069244661331176755, 0.006896944999694824, 0.006887186050415039, 0.006956786155700684, 0.006975665092468262, 0.0070830249786376955, 0.007669424057006836, 0.007509584903717041, 0.00755950403213501, 0.007441585063934326, 0.007060464859008789, 0.007145265102386475, 0.0070913457870483395, 0.006945105075836182, 0.007607025146484375, 0.007778542995452881, 0.008468623161315919, 0.007815663814544677, 0.007333745002746582, 0.007304143905639648, 0.007349104881286621, 0.00730158519744873, 0.007299825191497803, 0.0072531051635742185, 0.0072628650665283205, 0.0073430252075195315, 0.007291824817657471, 0.007078545093536377, 0.006826226234436035, 0.006903346061706543, 0.006872944831848145, 0.006999986171722412, 0.006844786167144776, 0.00686590576171875, 0.006878864765167236, 0.007060306072235107, 0.006960305213928222, 0.0069342260360717774, 0.006887186050415039, 0.0069001450538635255, 0.006799506187438965, 0.006933425903320313, 0.007294865131378174, 0.00726670503616333, 0.007418865203857422, 0.007750223159790039, 0.007463183879852295 ] }, "throughput": { "unit": "samples/s", "value": 136.37978773011082 }, "energy": null, "efficiency": null } } }