{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.4.0+cu124", "_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": 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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.261056, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.223-212.873.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.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 783.048704, "max_global_vram": 1218.9696, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.387380859375, "mean": 7.387380859375, "stdev": 0.0, "p50": 7.387380859375, "p90": 7.387380859375, "p95": 7.387380859375, "p99": 7.387380859375, "values": [ 7.387380859375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0004186798608335e-06, "ram": 5.149910476854207e-07, "gpu": 1.6555568800001585e-06, "total": 3.170966607546413e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1038.626816, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 180, "total": 1.0036522846221925, "mean": 0.005575846025678846, "stdev": 0.00016605527113938733, "p50": 0.005560319900512695, "p90": 0.005769523239135743, "p95": 0.005828659224510193, "p99": 0.005993502531051636, "values": [ 0.005896192073822021, 0.005955584049224853, 0.00582041597366333, 0.005984255790710449, 0.005769216060638428, 0.005879807949066162, 0.006316031932830811, 0.005970943927764893, 0.005733376026153565, 0.005684224128723145, 0.00572108793258667, 0.00562179183959961, 0.005598207950592041, 0.005629951953887939, 0.005796864032745362, 0.005756927967071533, 0.005656576156616211, 0.005412864208221436, 0.005495808124542236, 0.005545983791351319, 0.005751808166503906, 0.005720064163208007, 0.005827583789825439, 0.0057118721008300784, 0.005763072013854981, 0.00568012809753418, 0.005645311832427978, 0.005591040134429932, 0.00557260799407959, 0.0055101442337036136, 0.005675007820129394, 0.00571289587020874, 0.005829631805419922, 0.005790719985961914, 0.005679103851318359, 0.005689343929290771, 0.005765120029449463, 0.005772287845611572, 0.005786623954772949, 0.0057497601509094234, 0.00582860803604126, 0.005764095783233642, 0.005734399795532226, 0.005473279953002929, 0.005504000186920166, 0.005436416149139404, 0.005535744190216065, 0.005560319900512695, 0.005526527881622314, 0.0055552000999450684, 0.0057077760696411135, 0.005753856182098388, 0.005851136207580566, 0.005751808166503906, 0.005700607776641845, 0.005608448028564453, 0.005628928184509278, 0.005647359848022461, 0.005697535991668701, 0.005765120029449463, 0.005582848072052002, 0.0055214080810546875, 0.005689343929290771, 0.0056730880737304685, 0.00572111988067627, 0.005585919857025146, 0.005681151866912842, 0.0055920639038085935, 0.005638144016265869, 0.005517312049865723, 0.005421055793762207, 0.005536767959594726, 0.005672959804534912, 0.005570559978485107, 0.005728256225585937, 0.005646336078643799, 0.005702655792236328, 0.005755904197692871, 0.005598207950592041, 0.005544960021972656, 0.005534719944000244, 0.0055285758972167965, 0.00550707197189331, 0.005618688106536865, 0.005561344146728516, 0.005670911788940429, 0.005689343929290771, 0.00570470380783081, 0.005634047985076904, 0.005700607776641845, 0.005657599925994873, 0.005659647941589355, 0.0060282878875732426, 0.0056217598915100095, 0.005629951953887939, 0.0055808000564575196, 0.005443583965301513, 0.005508096218109131, 0.0055623679161071774, 0.005409791946411133, 0.005416959762573242, 0.0053975038528442385, 0.005471231937408447, 0.0055582718849182125, 0.0055848960876464845, 0.005805056095123291, 0.005560319900512695, 0.005392384052276611, 0.005442560195922852, 0.005435391902923584, 0.005483520030975342, 0.005480447769165039, 0.005669888019561768, 0.005557248115539551, 0.005623807907104492, 0.0055623679161071774, 0.00557260799407959, 0.005611519813537597, 0.005730303764343261, 0.005549056053161621, 0.005420032024383545, 0.00547430419921875, 0.005499904155731201, 0.005437439918518067, 0.005455872058868408, 0.00550707197189331, 0.005413887977600097, 0.0054271998405456545, 0.005445631980895996, 0.005431295871734619, 0.0055623679161071774, 0.005402624130249023, 0.0054579200744628905, 0.005412864208221436, 0.005411839962005615, 0.0053637118339538575, 0.005517312049865723, 0.005400576114654541, 0.0054241280555725096, 0.0053975038528442385, 0.005463039875030518, 0.005387263774871826, 0.005454847812652588, 0.005807104110717773, 0.005492735862731934, 0.005407743930816651, 0.005391359806060791, 0.005399551868438721, 0.005393407821655274, 0.005420032024383545, 0.005439487934112549, 0.005378047943115235, 0.005298175811767578, 0.005285888195037842, 0.005295104026794434, 0.005224448204040527, 0.005241856098175048, 0.005210112094879151, 0.0054271998405456545, 0.005421055793762207, 0.005468160152435303, 0.005413887977600097, 0.005419007778167725, 0.005478400230407715, 0.005451776027679443, 0.005370880126953125, 0.005447679996490478, 0.005475327968597412, 0.005398528099060058, 0.005416959762573242, 0.005426176071166992, 0.005393407821655274, 0.005699584007263184, 0.0054271998405456545, 0.005451776027679443, 0.005407743930816651, 0.005430272102355957, 0.005463039875030518, 0.005468160152435303, 0.005403647899627686 ] }, "throughput": { "unit": "samples/s", "value": 179.3449810835213 }, "energy": { "unit": "kWh", "cpu": 6.44400816236405e-08, "ram": 3.5178076801005677e-08, "gpu": 1.3075040653260912e-07, "total": 2.3036856495725528e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4340870.0322700245 } } } }