{ "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": "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": {}, "hub_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, "latency": true, "memory": 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.0", "optimum_benchmark_commit": null, "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "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": { "forward": { "memory": { "unit": "MB", "max_ram": 869.39648, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 184, "total": 1.0034453759193425, "mean": 0.005453507477822511, "stdev": 0.0003607021298235741, "p50": 0.005364223957061768, "p90": 0.005670809459686279, "p95": 0.006284646582603453, "p99": 0.007111301102638242, "values": [ 0.006037504196166992, 0.005590015888214111, 0.0060661759376525876, 0.00577023983001709, 0.005760000228881836, 0.005550079822540284, 0.005525504112243652, 0.005475327968597412, 0.005588992118835449, 0.005500927925109863, 0.0055101442337036136, 0.005458943843841553, 0.005462016105651855, 0.005464064121246338, 0.005416959762573242, 0.0053350400924682614, 0.005318655967712403, 0.005405695915222168, 0.005436416149139404, 0.00546611213684082, 0.0054988799095153805, 0.005477375984191894, 0.005496831893920898, 0.005426176071166992, 0.005385216236114502, 0.005434368133544922, 0.005429247856140137, 0.0054241280555725096, 0.005473279953002929, 0.005390336036682129, 0.0053975038528442385, 0.005464064121246338, 0.005381120204925537, 0.005470208168029785, 0.0056145920753479005, 0.0053647360801696775, 0.005311488151550293, 0.005262335777282715, 0.005284863948822022, 0.00535859203338623, 0.005702655792236328, 0.005552127838134766, 0.005439487934112549, 0.005395455837249756, 0.005484543800354004, 0.005497856140136719, 0.005440512180328369, 0.005518335819244385, 0.005411839962005615, 0.005378047943115235, 0.005400576114654541, 0.005401599884033203, 0.005462016105651855, 0.005426176071166992, 0.00547430419921875, 0.005444608211517334, 0.005331967830657959, 0.005379072189331055, 0.005388288021087646, 0.005459968090057373, 0.005479423999786377, 0.0053944320678710935, 0.00532480001449585, 0.005385216236114502, 0.005444608211517334, 0.00572108793258667, 0.006351871967315674, 0.006323200225830078, 0.007945216178894043, 0.007314432144165039, 0.007069695949554444, 0.006504447937011719, 0.005706751823425293, 0.0056442880630493165, 0.0056514558792114256, 0.005547008037567139, 0.005554175853729248, 0.005582848072052002, 0.005541888236999512, 0.005526527881622314, 0.005679103851318359, 0.005234687805175781, 0.00532480001449585, 0.005352447986602784, 0.005248000144958496, 0.005155839920043945, 0.0051363840103149415, 0.0050954241752624516, 0.005116928100585938, 0.0051435518264770505, 0.0051138558387756345, 0.005210112094879151, 0.005325823783874512, 0.005275648117065429, 0.0053002238273620605, 0.005452799797058106, 0.0057118721008300784, 0.006604800224304199, 0.006464511871337891, 0.006406144142150879, 0.006328320026397705, 0.005597184181213379, 0.005352447986602784, 0.005391359806060791, 0.00532480001449585, 0.005398528099060058, 0.005387263774871826, 0.005318655967712403, 0.005322751998901368, 0.005400576114654541, 0.00541593599319458, 0.005369855880737305, 0.005320703983306885, 0.005331967830657959, 0.005605375766754151, 0.005414912223815918, 0.005321728229522705, 0.005329984188079834, 0.0053637118339538575, 0.005294079780578613, 0.005372928142547607, 0.005303296089172363, 0.005331967830657959, 0.0052930560111999515, 0.005313536167144775, 0.005274623870849609, 0.005348351955413819, 0.005288959980010987, 0.0053340158462524415, 0.005355519771575928, 0.005355519771575928, 0.0052633600234985355, 0.0053309440612792965, 0.005355519771575928, 0.005250048160552978, 0.005198847770690918, 0.005237760066986084, 0.005178368091583252, 0.005241856098175048, 0.00521830415725708, 0.005232639789581299, 0.005269504070281982, 0.0052367358207702636, 0.005210112094879151, 0.0052111358642578124, 0.005279744148254394, 0.005243904113769531, 0.005305344104766845, 0.005379072189331055, 0.00530841588973999, 0.005260287761688232, 0.005329919815063477, 0.005400576114654541, 0.00530841588973999, 0.005296127796173096, 0.005340159893035889, 0.005288959980010987, 0.005298175811767578, 0.005306367874145508, 0.005602303981781006, 0.005299200057983398, 0.005310463905334473, 0.005322751998901368, 0.005277696132659912, 0.005258240222930908, 0.005189631938934326, 0.005286911964416504, 0.005268479824066162, 0.005254144191741943, 0.005238783836364746, 0.0052633600234985355, 0.00522547197341919, 0.005292096138000488, 0.005220352172851562, 0.005230591773986816, 0.005198847770690918, 0.005276671886444092, 0.005214208126068115, 0.0052336640357971195, 0.005186560153961181, 0.005280767917633057, 0.005192704200744629, 0.0052930560111999515, 0.005245952129364013 ] }, "throughput": { "unit": "samples/s", "value": 183.3682275245146 }, "energy": { "unit": "kWh", "cpu": 5.965211716262674e-08, "ram": 3.260365910956033e-08, "gpu": 1.204495659296505e-07, "total": 2.1270534220183757e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4701339.372337405 } } } }