{ "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": {}, "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, "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": 711.606272, "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.19244921875, "mean": 7.19244921875, "stdev": 0.0, "p50": 7.19244921875, "p90": 7.19244921875, "p95": 7.19244921875, "p99": 7.19244921875, "values": [ 7.19244921875 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.0020934873157077e-06, "ram": 4.863020779916382e-07, "gpu": 1.8575014860003694e-06, "total": 3.3458970513077152e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 878.788608, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 191, "total": 1.0041396164894107, "mean": 0.005257275479002149, "stdev": 0.00014852261034848483, "p50": 0.005268479824066162, "p90": 0.005413887977600097, "p95": 0.0054609918594360355, "p99": 0.005642956781387328, "values": [ 0.00548144006729126, 0.0057415680885314945, 0.005533696174621582, 0.005434368133544922, 0.005480447769165039, 0.005399551868438721, 0.005448703765869141, 0.005477375984191894, 0.005413887977600097, 0.005429247856140137, 0.005454847812652588, 0.005390336036682129, 0.005372928142547607, 0.005361663818359375, 0.005341184139251709, 0.005378047943115235, 0.0052408318519592285, 0.005190656185150146, 0.005213183879852295, 0.00530944013595581, 0.0052899842262268066, 0.005305344104766845, 0.005400576114654541, 0.0053340158462524415, 0.0053637118339538575, 0.005437439918518067, 0.005280767917633057, 0.0052295680046081545, 0.0053043198585510255, 0.005328896045684814, 0.005350399971008301, 0.0053975038528442385, 0.005375999927520752, 0.005390336036682129, 0.005380095958709717, 0.005338111877441406, 0.0053309440612792965, 0.005313536167144775, 0.005433343887329102, 0.005385216236114502, 0.0053637118339538575, 0.005318655967712403, 0.005320703983306885, 0.0051968002319335935, 0.005195775985717774, 0.005173247814178467, 0.005273600101470947, 0.0052715520858764645, 0.00520908784866333, 0.005298175811767578, 0.005295104026794434, 0.005268479824066162, 0.005340223789215088, 0.005361663818359375, 0.005368832111358642, 0.005412864208221436, 0.005351424217224121, 0.005344255924224854, 0.005395455837249756, 0.005299200057983398, 0.005254144191741943, 0.005371903896331787, 0.0053606400489807126, 0.005378047943115235, 0.005406720161437988, 0.005311488151550293, 0.005340159893035889, 0.005405695915222168, 0.005275648117065429, 0.005181439876556396, 0.0053002238273620605, 0.005273600101470947, 0.005287936210632324, 0.005442560195922852, 0.005332992076873779, 0.0052336640357971195, 0.005319680213928223, 0.005255167961120606, 0.005277696132659912, 0.0052899842262268066, 0.005257279872894287, 0.005257215976715088, 0.005318655967712403, 0.005286911964416504, 0.005343232154846191, 0.005441535949707031, 0.0053637118339538575, 0.005323775768280029, 0.005429247856140137, 0.005319680213928223, 0.005320703983306885, 0.005342207908630371, 0.005311488151550293, 0.005307392120361328, 0.005260287761688232, 0.005220352172851562, 0.005318655967712403, 0.005191679954528809, 0.005145599842071533, 0.005141503810882568, 0.005039103984832764, 0.0050954241752624516, 0.005179391860961914, 0.005224448204040527, 0.005086207866668701, 0.004999167919158935, 0.0050022401809692385, 0.004958208084106445, 0.005004288196563721, 0.0050124797821044925, 0.00515993595123291, 0.005402624130249023, 0.005467135906219483, 0.005406720161437988, 0.005511168003082275, 0.00587775993347168, 0.005631999969482422, 0.005481472015380859, 0.005350399971008301, 0.005303296089172363, 0.005294079780578613, 0.005220352172851562, 0.005277696132659912, 0.005272575855255127, 0.005239808082580567, 0.005216256141662597, 0.0052705278396606445, 0.005216256141662597, 0.005230591773986816, 0.005286911964416504, 0.00521830415725708, 0.00520908784866333, 0.005256192207336426, 0.005227519989013672, 0.005206016063690186, 0.005181439876556396, 0.005253119945526123, 0.005215231895446777, 0.0052070398330688475, 0.0052111358642578124, 0.0051998720169067385, 0.005206016063690186, 0.005227519989013672, 0.005204991817474365, 0.005188608169555664, 0.005188608169555664, 0.0052408318519592285, 0.005212160110473632, 0.005231616020202637, 0.005221375942230225, 0.0052070398330688475, 0.005194752216339111, 0.005251071929931641, 0.005220352172851562, 0.00521830415725708, 0.0052295680046081545, 0.005282815933227539, 0.005259263992309571, 0.005185535907745361, 0.005210112094879151, 0.005119999885559082, 0.005099520206451416, 0.005125120162963868, 0.005079040050506592, 0.005083136081695557, 0.005081088066101074, 0.005144576072692871, 0.005088255882263183, 0.005086207866668701, 0.005121024131774903, 0.005129216194152832, 0.005116928100585938, 0.005122047901153564, 0.005198847770690918, 0.005138432025909424, 0.005125120162963868, 0.005123072147369385, 0.005115903854370117, 0.005039103984832764, 0.004911104202270508, 0.004936704158782959, 0.004927487850189209, 0.0049162240028381345, 0.004922368049621582, 0.004926464080810547, 0.00495411205291748, 0.004900864124298096, 0.004927487850189209, 0.004985856056213379, 0.005039103984832764, 0.005048319816589355 ] }, "throughput": { "unit": "samples/s", "value": 190.21259281429244 }, "energy": { "unit": "kWh", "cpu": 6.148840118978103e-08, "ram": 3.361410304491643e-08, "gpu": 1.3166821126424747e-07, "total": 2.2677071549894493e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4409740.4631801 } } } }