{ "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.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.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": 866.066432, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 154, "total": 0.9999482889175418, "mean": 0.006493170707256763, "stdev": 0.00022779969990212862, "p50": 0.006435840129852295, "p90": 0.006732390403747558, "p95": 0.006823936057090759, "p99": 0.0071848344755172724, "values": [ 0.0075939841270446775, 0.006707200050354004, 0.006884352207183838, 0.0068618240356445315, 0.006812672138214112, 0.0067420158386230465, 0.006816768169403077, 0.006770688056945801, 0.0066447358131408694, 0.0066447358131408694, 0.006650879859924317, 0.0066078720092773435, 0.0067348480224609375, 0.006642687797546387, 0.00653004789352417, 0.006585343837738037, 0.006651904106140137, 0.006595583915710449, 0.006418432235717773, 0.0064471039772033695, 0.006435840129852295, 0.006436863899230957, 0.006395904064178467, 0.006397952079772949, 0.006415359973907471, 0.006487040042877197, 0.0065413122177124024, 0.006738944053649902, 0.006642687797546387, 0.006435840129852295, 0.006348800182342529, 0.006391808032989502, 0.006536191940307618, 0.006398975849151611, 0.006407167911529541, 0.006288383960723877, 0.006269951820373535, 0.006289408206939697, 0.006340608119964599, 0.006377471923828125, 0.0063170561790466305, 0.006429696083068847, 0.006360064029693604, 0.006639616012573242, 0.006683648109436035, 0.006650879859924317, 0.006668288230895996, 0.00677785587310791, 0.006633471965789795, 0.006606847763061524, 0.006626304149627686, 0.006649856090545654, 0.006725632190704346, 0.006690815925598144, 0.006647808074951172, 0.006606847763061524, 0.006707200050354004, 0.00657203197479248, 0.006654975891113281, 0.006651904106140137, 0.006715392112731934, 0.006616064071655273, 0.0065710082054138185, 0.006553599834442139, 0.006621183872222901, 0.006652927875518798, 0.006609920024871826, 0.006620160102844238, 0.006663167953491211, 0.006624256134033203, 0.006743040084838867, 0.006837247848510742, 0.006724607944488525, 0.006726655960083008, 0.006650879859924317, 0.006618112087249756, 0.006625279903411865, 0.006559743881225586, 0.006590464115142822, 0.00657203197479248, 0.006526976108551025, 0.00643071985244751, 0.006459392070770263, 0.006594560146331787, 0.006533120155334473, 0.006632448196411133, 0.006308864116668702, 0.006309887886047363, 0.006726655960083008, 0.006676479816436768, 0.006564864158630371, 0.006618112087249756, 0.006670335769653321, 0.0070553598403930665, 0.007267327785491944, 0.006386688232421875, 0.0062791681289672855, 0.0062566399574279785, 0.006319104194641113, 0.006326272010803223, 0.006248447895050049, 0.006308864116668702, 0.006352896213531494, 0.006259712219238281, 0.006328320026397705, 0.006254591941833496, 0.006299647808074951, 0.006262784004211426, 0.006323200225830078, 0.006308864116668702, 0.0070563840866088865, 0.006316031932830811, 0.006304768085479737, 0.006318079948425293, 0.006299647808074951, 0.0063610877990722655, 0.006299647808074951, 0.006336512088775635, 0.006276095867156982, 0.006240255832672119, 0.006328320026397705, 0.006261760234832763, 0.006239232063293457, 0.006271999835968017, 0.006236159801483154, 0.006301695823669433, 0.0062566399574279785, 0.006289408206939697, 0.006309887886047363, 0.006369279861450195, 0.006419456005096436, 0.006210559844970703, 0.006227968215942382, 0.006285312175750732, 0.006255616188049316, 0.006231040000915527, 0.006276095867156982, 0.0062197761535644535, 0.0062044157981872555, 0.006247424125671387, 0.006262784004211426, 0.006232063770294189, 0.007111680030822754, 0.006264832019805908, 0.006342656135559082, 0.006302720069885254, 0.0062494721412658695, 0.006231040000915527, 0.006305791854858398, 0.006313983917236328, 0.006275072097778321, 0.0062873601913452145, 0.0062904319763183595, 0.006220799922943115 ] }, "throughput": { "unit": "samples/s", "value": 154.00796391852145 }, "energy": { "unit": "kWh", "cpu": 7.236775182450044e-08, "ram": 3.955953015198558e-08, "gpu": 1.393700301950769e-07, "total": 2.5129731217156295e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3979350.162397642 } } } }