{ "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": 879.648768, "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.0055592956542974, "mean": 0.0065722829781326595, "stdev": 0.00022627404021686054, "p50": 0.006519807815551758, "p90": 0.006733209609985352, "p95": 0.0071567358016967775, "p99": 0.007455211563110351, "values": [ 0.007582719802856445, 0.007178239822387696, 0.007417856216430664, 0.007214079856872559, 0.007288928031921387, 0.007142399787902832, 0.0071905279159545895, 0.007142399787902832, 0.00749567985534668, 0.006558720111846924, 0.0063170561790466305, 0.006323200225830078, 0.0062791681289672855, 0.00649945592880249, 0.007225344181060791, 0.007032832145690918, 0.0066406397819519045, 0.006726655960083008, 0.0065136637687683106, 0.0065136637687683106, 0.0067348480224609375, 0.0064880638122558594, 0.00658739185333252, 0.006621183872222901, 0.006615039825439453, 0.00658841609954834, 0.0066416959762573245, 0.006556672096252441, 0.006524928092956543, 0.006499328136444092, 0.006592512130737305, 0.006518784046173095, 0.006810624122619629, 0.006552576065063476, 0.006623231887817383, 0.006722559928894043, 0.006527999877929688, 0.006490111827850342, 0.00671449613571167, 0.006551551818847656, 0.006535168170928955, 0.006511616230010986, 0.006510591983795166, 0.006505504131317139, 0.006479872226715088, 0.006565887928009034, 0.006536191940307618, 0.006512639999389648, 0.006550528049468994, 0.006461440086364746, 0.006526976108551025, 0.006573056221008301, 0.0064440321922302245, 0.006492159843444824, 0.006475776195526123, 0.006633471965789795, 0.0065669121742248536, 0.006471680164337158, 0.006526976108551025, 0.006495232105255127, 0.006536191940307618, 0.0065669121742248536, 0.006492159843444824, 0.006563839912414551, 0.006520832061767578, 0.006494207859039307, 0.006511616230010986, 0.006460415840148926, 0.006466559886932373, 0.00652185583114624, 0.006526976108551025, 0.006510591983795166, 0.006533120155334473, 0.006435840129852295, 0.006508543968200684, 0.006536191940307618, 0.006452223777770996, 0.0065146880149841305, 0.006525951862335205, 0.006519807815551758, 0.0065812478065490725, 0.006540287971496582, 0.006545407772064209, 0.0065710082054138185, 0.006673408031463623, 0.006574079990386963, 0.006533120155334473, 0.006574079990386963, 0.006504447937011719, 0.006479872226715088, 0.006471680164337158, 0.006468607902526856, 0.006421504020690918, 0.006467584133148193, 0.006456319808959961, 0.006213632106781006, 0.006293504238128662, 0.006201344013214111, 0.006240255832672119, 0.0062791681289672855, 0.006472703933715821, 0.006304768085479737, 0.006293504238128662, 0.006303743839263916, 0.006467584133148193, 0.006536191940307618, 0.0065484800338745115, 0.006462463855743408, 0.00652185583114624, 0.006486015796661377, 0.0064849920272827145, 0.0065669121742248536, 0.006725632190704346, 0.006459424018859863, 0.006475776195526123, 0.006437888145446777, 0.006518784046173095, 0.0065372161865234375, 0.006436863899230957, 0.006460415840148926, 0.00642252779006958, 0.006519807815551758, 0.0065372161865234375, 0.006421504020690918, 0.006636544227600098, 0.006812672138214112, 0.006482944011688232, 0.006692863941192627, 0.007061503887176514, 0.00657919979095459, 0.006535168170928955, 0.0064880638122558594, 0.0065146880149841305, 0.0064880638122558594, 0.0065177597999572755, 0.00628223991394043, 0.0064839677810668945, 0.0068689918518066405, 0.00652185583114624, 0.006498303890228272, 0.006474751949310303, 0.006550528049468994, 0.006673471927642822, 0.006448128223419189, 0.006458367824554443, 0.006503424167633057, 0.006549503803253174, 0.006573056221008301, 0.0065064959526062015, 0.006497280120849609, 0.0064849920272827145, 0.0065146880149841305, 0.0065474557876586915 ] }, "throughput": { "unit": "samples/s", "value": 152.1541302051671 }, "energy": { "unit": "kWh", "cpu": 7.575301839709704e-08, "ram": 4.1411696244264764e-08, "gpu": 1.463394659745208e-07, "total": 2.635041806158826e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3795006.203175683 } } } }