{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_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.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.1", "optimum_benchmark_commit": null, "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": 713.244672, "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.1274189453125, "mean": 7.1274189453125, "stdev": 0.0, "p50": 7.1274189453125, "p90": 7.1274189453125, "p95": 7.1274189453125, "p99": 7.1274189453125, "values": [ 7.1274189453125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.57244634628296e-07, "ram": 4.84702313834949e-07, "gpu": 1.705001363999474e-06, "total": 3.146948312462719e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 879.853568, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 196, "total": 1.0029928331375122, "mean": 0.005117310373150573, "stdev": 0.00026734493795063733, "p50": 0.004995584011077881, "p90": 0.0055848960876464845, "p95": 0.00576307213306427, "p99": 0.006006016159057618, "values": [ 0.0057784318923950195, 0.006049791812896729, 0.0058122239112854005, 0.005788671970367432, 0.005750783920288086, 0.005757952213287353, 0.005701632022857666, 0.005746687889099121, 0.0057283201217651365, 0.005958655834197998, 0.005702655792236328, 0.0057149438858032225, 0.005833727836608887, 0.005731328010559082, 0.00550707197189331, 0.005385216236114502, 0.005380095958709717, 0.005437439918518067, 0.005972991943359375, 0.00537497615814209, 0.005038080215454102, 0.004997119903564453, 0.0050206718444824215, 0.00501043176651001, 0.005033984184265137, 0.0049827837944030765, 0.004993023872375488, 0.005000192165374756, 0.004969503879547119, 0.004965375900268554, 0.004974592208862305, 0.004986879825592041, 0.004975615978240967, 0.0049725441932678225, 0.005127168178558349, 0.005005311965942383, 0.004967423915863037, 0.004996096134185791, 0.005045248031616211, 0.004997119903564453, 0.005049344062805176, 0.00499507188796997, 0.00500432014465332, 0.005021696090698242, 0.004963327884674072, 0.004974592208862305, 0.005053440093994141, 0.004989952087402344, 0.004955135822296143, 0.004965375900268554, 0.0049827837944030765, 0.00612556791305542, 0.005436416149139404, 0.0054282240867614745, 0.005791744232177734, 0.006003712177276611, 0.005273600101470947, 0.005241856098175048, 0.005179391860961914, 0.004999167919158935, 0.0049725441932678225, 0.0049530878067016604, 0.004973567962646484, 0.00500432014465332, 0.0049797120094299315, 0.004973567962646484, 0.005035007953643799, 0.0050094079971313476, 0.004960256099700928, 0.004943871974945068, 0.004963327884674072, 0.004993023872375488, 0.004944896221160889, 0.0049530878067016604, 0.004957183837890625, 0.004973567962646484, 0.004947968006134033, 0.004956160068511963, 0.004964352130889893, 0.005037055969238281, 0.0049387521743774416, 0.004933631896972656, 0.00496230411529541, 0.004977695941925049, 0.004967423915863037, 0.00496127986907959, 0.0049500160217285155, 0.004996096134185791, 0.004937727928161621, 0.004980735778808594, 0.005038080215454102, 0.005092351913452148, 0.004993023872375488, 0.004971519947052002, 0.004974592208862305, 0.004989952087402344, 0.004956160068511963, 0.0049827837944030765, 0.005144576072692871, 0.0050022401809692385, 0.004952064037322998, 0.004951039791107178, 0.0049530878067016604, 0.004999167919158935, 0.004935679912567138, 0.004932608127593994, 0.004911104202270508, 0.004956160068511963, 0.005045248031616211, 0.004928512096405029, 0.004926464080810547, 0.004936704158782959, 0.004946944236755371, 0.004930560111999512, 0.00495411205291748, 0.004937727928161621, 0.0049428482055664065, 0.005000192165374756, 0.004924416065216064, 0.004934656143188477, 0.004958208084106445, 0.004934656143188477, 0.004958208084106445, 0.005018623828887939, 0.004981760025024414, 0.004934656143188477, 0.005223423957824707, 0.005090303897857666, 0.00515174388885498, 0.005071872234344482, 0.005075967788696289, 0.005096447944641113, 0.005138432025909424, 0.0051333122253417966, 0.005137407779693603, 0.00517632007598877, 0.005132287979125977, 0.005121024131774903, 0.005138432025909424, 0.005158912181854248, 0.005115903854370117, 0.005096447944641113, 0.0050165758132934574, 0.004988927841186524, 0.004951039791107178, 0.004923391819000244, 0.004930560111999512, 0.004996096134185791, 0.004947968006134033, 0.004966400146484375, 0.004966400146484375, 0.004978687763214112, 0.004932608127593994, 0.0049530878067016604, 0.005017600059509277, 0.0050503678321838375, 0.004955135822296143, 0.004939775943756103, 0.004967423915863037, 0.004947968006134033, 0.004928512096405029, 0.004944896221160889, 0.004932608127593994, 0.004952064037322998, 0.004951039791107178, 0.004934656143188477, 0.004940800189971924, 0.004978687763214112, 0.004941823959350586, 0.004939775943756103, 0.004944896221160889, 0.004952064037322998, 0.0049725441932678225, 0.004940800189971924, 0.0049428482055664065, 0.005184512138366699, 0.0050800638198852536, 0.0050769920349121095, 0.005122047901153564, 0.005127168178558349, 0.005361663818359375, 0.0052633600234985355, 0.0051660799980163576, 0.005662720203399658, 0.005325823783874512, 0.005251071929931641, 0.005228544235229492, 0.005243904113769531, 0.005286911964416504, 0.005235712051391602, 0.005676032066345215, 0.005272575855255127, 0.005227519989013672, 0.005260287761688232, 0.0053012480735778805, 0.005312511920928955 ] }, "throughput": { "unit": "samples/s", "value": 195.41515504839904 }, "energy": { "unit": "kWh", "cpu": 6.104458685953733e-08, "ram": 3.325432754812068e-08, "gpu": 1.2950295260512796e-07, "total": 2.2380186701278602e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4468237.970252808 } } } }