{ "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.14848, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 144, "total": 1.0043454399108886, "mean": 0.006974621110492282, "stdev": 0.00037790858501514726, "p50": 0.007023103952407837, "p90": 0.007168409585952758, "p95": 0.007204096055030823, "p99": 0.008588963732719408, "values": [ 0.009975808143615723, 0.009486335754394531, 0.007302144050598145, 0.007030784130096435, 0.006986752033233643, 0.00693555212020874, 0.007008255958557129, 0.0068853759765625, 0.006765567779541016, 0.006765567779541016, 0.00677785587310791, 0.007214079856872559, 0.007102464199066162, 0.0070522880554199216, 0.007024640083312988, 0.007041024208068848, 0.0070830078125, 0.0071495680809020995, 0.007207935810089112, 0.007181312084197998, 0.0071485438346862796, 0.007050240039825439, 0.00708403205871582, 0.007098368167877197, 0.007175168037414551, 0.007156735897064209, 0.007080959796905518, 0.007176191806793213, 0.0071198720932006835, 0.0070860800743103025, 0.007085055828094483, 0.00709939193725586, 0.007088128089904785, 0.007062528133392334, 0.006988800048828125, 0.00697657585144043, 0.00704307222366333, 0.00709119987487793, 0.007054336071014404, 0.007046144008636474, 0.007108607769012451, 0.007122943878173828, 0.007171072006225586, 0.007174143791198731, 0.0073994240760803225, 0.00719974422454834, 0.007121920108795166, 0.007095295906066895, 0.007130112171173096, 0.00714035177230835, 0.007088160037994385, 0.007095295906066895, 0.007068672180175781, 0.007005184173583984, 0.007031807899475098, 0.007024640083312988, 0.007044095993041993, 0.007106560230255127, 0.007169023990631103, 0.0070256638526916505, 0.007003136157989502, 0.007035903930664063, 0.007066624164581299, 0.007046144008636474, 0.00704204797744751, 0.007021567821502686, 0.00703385591506958, 0.007111680030822754, 0.007166975975036621, 0.007204864025115967, 0.007094272136688232, 0.007147520065307617, 0.0070553598403930665, 0.007111680030822754, 0.007049215793609619, 0.007031807899475098, 0.007035903930664063, 0.0070256638526916505, 0.006916096210479736, 0.006848512172698974, 0.006957056045532227, 0.007004159927368164, 0.006834176063537598, 0.006752255916595459, 0.006706175804138184, 0.006752255916595459, 0.00694374418258667, 0.00704307222366333, 0.007028736114501953, 0.007049215793609619, 0.007121920108795166, 0.0072540159225463864, 0.007046144008636474, 0.00690176010131836, 0.006799359798431396, 0.006814720153808594, 0.006831103801727295, 0.0067686400413513184, 0.006747136116027832, 0.006749184131622315, 0.006692863941192627, 0.006738944053649902, 0.006722559928894043, 0.006718463897705078, 0.006721536159515381, 0.006683648109436035, 0.006688767910003662, 0.006725632190704346, 0.006718463897705078, 0.006683648109436035, 0.00667852783203125, 0.006690815925598144, 0.006731776237487793, 0.006719488143920899, 0.006700032234191895, 0.0067041277885437015, 0.006848512172698974, 0.006737919807434082, 0.00675328016281128, 0.006707200050354004, 0.006713344097137451, 0.0067051520347595215, 0.006690815925598144, 0.006684671878814697, 0.006713344097137451, 0.006686719894409179, 0.0067276802062988285, 0.006696959972381592, 0.006670335769653321, 0.0066826238632202144, 0.006740992069244385, 0.0066826238632202144, 0.006711296081542969, 0.006686719894409179, 0.006694911956787109, 0.006758399963378906, 0.006717440128326416, 0.006675456047058105, 0.006726655960083008, 0.006706175804138184, 0.006700032234191895, 0.006669312000274658, 0.006684671878814697, 0.006688767910003662 ] }, "throughput": { "unit": "samples/s", "value": 143.37696401825303 }, "energy": { "unit": "kWh", "cpu": 7.521202041127008e-08, "ram": 4.111725910074192e-08, "gpu": 1.424737426708877e-07, "total": 2.5880302218289974e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3863942.513365574 } } } }