{ "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.525888, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 148, "total": 1.0018223357200626, "mean": 0.006769069835946366, "stdev": 0.00046299375259236823, "p50": 0.006656000137329102, "p90": 0.007011123275756836, "p95": 0.007096883201599121, "p99": 0.009260073108673095, "values": [ 0.00979251194000244, 0.009292799949645996, 0.00922316837310791, 0.007867392063140868, 0.006922239780426025, 0.006850560188293457, 0.00709222412109375, 0.007077888011932373, 0.006953983783721924, 0.007009280204772949, 0.00693555212020874, 0.006972415924072266, 0.00693555212020874, 0.007019519805908203, 0.006866943836212158, 0.006881279945373535, 0.0069621758460998535, 0.006890495777130127, 0.007070720195770264, 0.006987775802612305, 0.006947840213775635, 0.00694271993637085, 0.006923264026641846, 0.007015423774719238, 0.006761472225189209, 0.0067041277885437015, 0.006691840171813965, 0.006691840171813965, 0.006761472225189209, 0.0066826238632202144, 0.006744063854217529, 0.0066713600158691405, 0.006691840171813965, 0.00709939193725586, 0.006905856132507324, 0.0067870721817016606, 0.0068915200233459475, 0.0068618240356445315, 0.006854656219482422, 0.006850560188293457, 0.00688640022277832, 0.006895616054534912, 0.006887423992156983, 0.007006207942962647, 0.007049215793609619, 0.006707200050354004, 0.006763519763946534, 0.0066406397819519045, 0.006582272052764892, 0.006627327919006347, 0.006723584175109864, 0.006638591766357422, 0.006653952121734619, 0.006638591766357422, 0.006605823993682861, 0.006594560146331787, 0.0066344962120056155, 0.006618112087249756, 0.006687744140625, 0.00830463981628418, 0.00704307222366333, 0.006924287796020508, 0.006843391895294189, 0.006915071964263916, 0.0068884482383728025, 0.006652927875518798, 0.006628352165222168, 0.006628352165222168, 0.006609920024871826, 0.006711296081542969, 0.006864895820617676, 0.0066979842185974124, 0.006737919807434082, 0.006716415882110595, 0.006662144184112549, 0.006658048152923584, 0.006721536159515381, 0.006626304149627686, 0.006714431762695312, 0.006563839912414551, 0.006486015796661377, 0.006402048110961914, 0.006400000095367431, 0.006520832061767578, 0.006436863899230957, 0.006409215927124024, 0.006309887886047363, 0.006295551776885986, 0.0067041277885437015, 0.006740992069244385, 0.006854656219482422, 0.006781951904296875, 0.006937600135803222, 0.0072499198913574215, 0.007465983867645264, 0.006808576107025147, 0.00658022403717041, 0.006603775978088379, 0.006549503803253174, 0.006598656177520752, 0.006684671878814697, 0.006636544227600098, 0.006594560146331787, 0.006561791896820069, 0.00652288007736206, 0.006650879859924317, 0.006560768127441406, 0.006589439868927002, 0.0065177597999572755, 0.0065382399559021, 0.006505472183227539, 0.006515711784362793, 0.006518784046173095, 0.006540287971496582, 0.00643891191482544, 0.006421504020690918, 0.006472703933715821, 0.00653107213973999, 0.006434815883636475, 0.006510591983795166, 0.006450175762176514, 0.006457344055175781, 0.006487040042877197, 0.006595583915710449, 0.006625279903411865, 0.006523903846740723, 0.0065177597999572755, 0.006540287971496582, 0.0065372161865234375, 0.006508543968200684, 0.006518784046173095, 0.0064849920272827145, 0.006533120155334473, 0.006534143924713135, 0.006563839912414551, 0.006520832061767578, 0.006539328098297119, 0.006638591766357422, 0.006560768127441406, 0.006460415840148926, 0.006426623821258545, 0.006419456005096436, 0.006472703933715821, 0.006556672096252441, 0.006711296081542969, 0.006557695865631104, 0.006617087841033936, 0.00653926420211792 ] }, "throughput": { "unit": "samples/s", "value": 147.73078491369895 }, "energy": { "unit": "kWh", "cpu": 7.697041717614619e-08, "ram": 4.2073845984954723e-08, "gpu": 1.468381405584373e-07, "total": 2.6588240371953816e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3761061.2286130604 } } } }