{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.0+cu121", "_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.29792, "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.12", "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": 880.504832, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 153, "total": 1.0036009888648987, "mean": 0.006559483587352279, "stdev": 0.00019405672413934052, "p50": 0.006616127967834473, "p90": 0.006747136116027832, "p95": 0.0068374527931213385, "p99": 0.006954352550506592, "values": [ 0.007342080116271973, 0.006853631973266602, 0.00695091199874878, 0.006900735855102539, 0.006881279945373535, 0.006851583957672119, 0.006917119979858399, 0.0067645440101623535, 0.006820864200592041, 0.006707200050354004, 0.0066744318008422855, 0.006653952121734619, 0.0066938881874084475, 0.006638591766357422, 0.006652927875518798, 0.006586368083953857, 0.0065771517753601075, 0.006623231887817383, 0.006676479816436768, 0.006696959972381592, 0.00669593620300293, 0.006747136116027832, 0.006686719894409179, 0.006654975891113281, 0.006660096168518067, 0.006643712043762207, 0.006713344097137451, 0.006723584175109864, 0.0067276802062988285, 0.006650879859924317, 0.006737919807434082, 0.006646783828735352, 0.006625279903411865, 0.006692863941192627, 0.006691840171813965, 0.006654975891113281, 0.006592512130737305, 0.006526976108551025, 0.006584320068359375, 0.006617087841033936, 0.006657023906707763, 0.006592512130737305, 0.00667955207824707, 0.006628352165222168, 0.006583295822143555, 0.006716415882110595, 0.006740992069244385, 0.006718463897705078, 0.006724607944488525, 0.006652927875518798, 0.006646783828735352, 0.006627327919006347, 0.006659071922302246, 0.006669312000274658, 0.006703104019165039, 0.006662144184112549, 0.006713344097137451, 0.006623231887817383, 0.006567935943603515, 0.006631423950195312, 0.006636544227600098, 0.006551551818847656, 0.006747136116027832, 0.0067051520347595215, 0.006527999877929688, 0.006532095909118653, 0.006616127967834473, 0.00653004789352417, 0.006622208118438721, 0.006636544227600098, 0.006565887928009034, 0.0066344962120056155, 0.006730751991271973, 0.0066938881874084475, 0.0067358717918396, 0.006719488143920899, 0.006690815925598144, 0.006668288230895996, 0.0066938881874084475, 0.006625279903411865, 0.006645760059356689, 0.006642687797546387, 0.006599679946899414, 0.006583295822143555, 0.006515711784362793, 0.006425600051879882, 0.006565887928009034, 0.006524928092956543, 0.006384640216827392, 0.006306816101074219, 0.0063272957801818845, 0.006559743881225586, 0.006638591766357422, 0.006765567779541016, 0.006758399963378906, 0.0067717118263244626, 0.006803455829620361, 0.006958079814910889, 0.0068280320167541505, 0.006555647850036621, 0.006573056221008301, 0.00658739185333252, 0.00653004789352417, 0.0066641921997070315, 0.0065812478065490725, 0.006459392070770263, 0.006543360233306885, 0.006453248023986816, 0.00652185583114624, 0.006493184089660644, 0.006308864116668702, 0.006464511871337891, 0.0065382399559021, 0.006294528007507324, 0.006328320026397705, 0.006277120113372803, 0.006331391811370849, 0.006271999835968017, 0.006305791854858398, 0.006306816101074219, 0.0062740478515625, 0.006319104194641113, 0.00628326416015625, 0.006292479991912842, 0.006270976066589356, 0.006305791854858398, 0.006357024192810059, 0.006300672054290772, 0.006346752166748047, 0.00628223991394043, 0.006377471923828125, 0.0062904319763183595, 0.0062740478515625, 0.006295551776885986, 0.006277120113372803, 0.006298624038696289, 0.0062679038047790524, 0.006303743839263916, 0.006318079948425293, 0.006280191898345947, 0.006296576023101807, 0.006244351863861084, 0.006309887886047363, 0.006271999835968017, 0.006296576023101807, 0.0062975997924804685, 0.0062740478515625, 0.006340608119964599, 0.00628326416015625, 0.00628223991394043, 0.0062638077735900875, 0.006305791854858398, 0.006322175979614258 ] }, "throughput": { "unit": "samples/s", "value": 152.45102555453573 }, "energy": { "unit": "kWh", "cpu": 7.459958331889826e-08, "ram": 4.077939120865919e-08, "gpu": 1.466248552452841e-07, "total": 2.6200382977284155e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3816738.1021376834 } } } }