{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.2.2", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "fill-mask", "model": "google-bert/bert-base-uncased", "library": "transformers", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "hub_kwargs": { "revision": "main", "force_download": false, "local_files_only": false, "trust_remote_code": false }, "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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.289728, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": null, "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 865.513472, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 155, "total": 1.0002043509483338, "mean": 0.006452931296440862, "stdev": 0.0002178305028007688, "p50": 0.006425600051879882, "p90": 0.006752051258087159, "p95": 0.006833459186553955, "p99": 0.006953451557159424, "values": [ 0.00724889612197876, 0.00682700777053833, 0.006974463939666748, 0.006883327960968018, 0.006923264026641846, 0.006847487926483154, 0.006606847763061524, 0.006573056221008301, 0.006551551818847656, 0.006433792114257812, 0.00648089599609375, 0.006429696083068847, 0.006509568214416504, 0.006463488101959228, 0.006405119895935059, 0.006400000095367431, 0.006407167911529541, 0.0066375679969787596, 0.006750207901000976, 0.0067348480224609375, 0.006511616230010986, 0.006502399921417237, 0.006469632148742676, 0.006497280120849609, 0.006459392070770263, 0.006491136074066162, 0.006797311782836914, 0.00673689603805542, 0.0067123198509216305, 0.00675328016281128, 0.006687744140625, 0.006435840129852295, 0.006470655918121338, 0.006463488101959228, 0.006441984176635742, 0.0064133119583129885, 0.006331391811370849, 0.006411263942718506, 0.006392831802368164, 0.006388735771179199, 0.006388735771179199, 0.0064204797744750975, 0.006452223777770996, 0.006445055961608887, 0.006830080032348633, 0.006841343879699707, 0.006761472225189209, 0.006723584175109864, 0.006774784088134766, 0.0067358717918396, 0.006722559928894043, 0.006765567779541016, 0.006765567779541016, 0.006711296081542969, 0.006714367866516113, 0.00674508810043335, 0.006685696125030518, 0.006652927875518798, 0.006719488143920899, 0.006478847980499268, 0.006533120155334473, 0.006434815883636475, 0.00636518383026123, 0.006434815883636475, 0.006425600051879882, 0.006499328136444092, 0.0064440321922302245, 0.006385663986206055, 0.0064430079460144046, 0.006468607902526856, 0.006510591983795166, 0.006534143924713135, 0.0065136637687683106, 0.006498303890228272, 0.006511616230010986, 0.006441984176635742, 0.006489088058471679, 0.0064174079895019534, 0.006425600051879882, 0.006508543968200684, 0.006871039867401123, 0.00693555212020874, 0.006567935943603515, 0.006608895778656006, 0.006618112087249756, 0.006486015796661377, 0.0063508481979370115, 0.006369279861450195, 0.006407167911529541, 0.006429696083068847, 0.006563839912414551, 0.006512639999389648, 0.0066119680404663084, 0.006713344097137451, 0.006316031932830811, 0.006363135814666748, 0.00638976001739502, 0.006325247764587402, 0.006369279861450195, 0.006334464073181153, 0.006409215927124024, 0.006385663986206055, 0.0063610877990722655, 0.006368256092071533, 0.006352896213531494, 0.006376448154449463, 0.0063508481979370115, 0.006323200225830078, 0.006367231845855713, 0.006329343795776367, 0.0063498239517211915, 0.006468607902526856, 0.006401023864746094, 0.006407167911529541, 0.0063610877990722655, 0.006371327877044678, 0.006293504238128662, 0.006344704151153564, 0.00633241605758667, 0.006323200225830078, 0.006378496170043945, 0.00633241605758667, 0.006355967998504639, 0.006299647808074951, 0.006303743839263916, 0.006328320026397705, 0.006346752166748047, 0.006328320026397705, 0.006326272010803223, 0.006347775936126709, 0.006352896213531494, 0.0063170561790466305, 0.006322175979614258, 0.006102015972137451, 0.006116352081298828, 0.00608358383178711, 0.006116352081298828, 0.006088704109191895, 0.0061758079528808595, 0.006095871925354004, 0.00608460807800293, 0.0061224961280822755, 0.006093823909759521, 0.006153215885162353, 0.006100992202758789, 0.006109183788299561, 0.006091775894165039, 0.006123519897460937, 0.006080512046813965, 0.006110208034515381, 0.006108160018920898, 0.006131711959838867, 0.006094848155975342, 0.006090752124786377, 0.006091775894165039 ] }, "throughput": { "unit": "samples/s", "value": 154.96833207437894 }, "energy": { "unit": "kWh", "cpu": 7.421182985934946e-08, "ram": 4.056934931102063e-08, "gpu": 1.3537510829999924e-07, "total": 2.5015628747036935e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3997500.962746933 } } } }