{ "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.289728, "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.824896, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 147, "total": 1.0003845758438115, "mean": 0.00680533725063817, "stdev": 0.00020760545178324406, "p50": 0.006856704235076904, "p90": 0.007007232093811035, "p95": 0.0070872065544128416, "p99": 0.007268372364044188, "values": [ 0.007697408199310303, 0.007015423774719238, 0.007205887794494629, 0.007321599960327148, 0.007188479900360107, 0.007155712127685547, 0.007114751815795899, 0.007038976192474365, 0.0070563840866088865, 0.007045119762420654, 0.006957056045532227, 0.007002111911773682, 0.0068853759765625, 0.006986752033233643, 0.006905856132507324, 0.006940671920776367, 0.006993919849395752, 0.006948863983154297, 0.007028736114501953, 0.006960127830505371, 0.007005184173583984, 0.006952960014343262, 0.006947840213775635, 0.00694271993637085, 0.007146495819091797, 0.0069847040176391605, 0.006800384044647217, 0.006982656002044678, 0.0069928960800170895, 0.006946815967559815, 0.006936575889587402, 0.0069253120422363285, 0.00698367977142334, 0.00689356803894043, 0.006920191764831543, 0.006819839954376221, 0.006809599876403808, 0.006843391895294189, 0.007031807899475098, 0.006892543792724609, 0.0068577280044555666, 0.006914048194885254, 0.006931456089019775, 0.006999040126800537, 0.006988800048828125, 0.00710041618347168, 0.006993919849395752, 0.006961152076721191, 0.006882304191589355, 0.006899712085723877, 0.006944767951965332, 0.006956031799316406, 0.0068853759765625, 0.006910975933074951, 0.006899712085723877, 0.006801439762115479, 0.006895616054534912, 0.006876160144805908, 0.00692633581161499, 0.0069550080299377445, 0.006990848064422607, 0.006838272094726563, 0.006831103801727295, 0.006909952163696289, 0.006873087882995605, 0.006947840213775635, 0.006913023948669434, 0.006947840213775635, 0.006910975933074951, 0.006977536201477051, 0.007010303974151612, 0.006978559970855713, 0.007003136157989502, 0.006986752033233643, 0.006944767951965332, 0.006941696166992187, 0.006890495777130127, 0.006944767951965332, 0.006876160144805908, 0.006763519763946534, 0.00672051191329956, 0.0066078720092773435, 0.006706175804138184, 0.00676966381072998, 0.006657023906707763, 0.006603775978088379, 0.006592512130737305, 0.006841343879699707, 0.006696959972381592, 0.006746111869812011, 0.0067348480224609375, 0.006732800006866455, 0.006804480075836182, 0.006964223861694336, 0.006790143966674805, 0.006620160102844238, 0.006591487884521485, 0.0066416640281677245, 0.006677504062652588, 0.0066304001808166506, 0.006676511764526367, 0.006856704235076904, 0.006616064071655273, 0.006685696125030518, 0.006599679946899414, 0.00652185583114624, 0.006567935943603515, 0.0065413122177124024, 0.006604800224304199, 0.0065484800338745115, 0.006551551818847656, 0.006543360233306885, 0.00652185583114624, 0.006560768127441406, 0.006556672096252441, 0.0065372161865234375, 0.0065413122177124024, 0.006569983959197998, 0.006555647850036621, 0.006523903846740723, 0.006595583915710449, 0.006560768127441406, 0.006554624080657959, 0.006564864158630371, 0.006606847763061524, 0.006565887928009034, 0.006554624080657959, 0.00657203197479248, 0.0066078720092773435, 0.006543360233306885, 0.006718463897705078, 0.006542335987091064, 0.0065771517753601075, 0.0065771517753601075, 0.006558720111846924, 0.00653926420211792, 0.006554624080657959, 0.006542335987091064, 0.006568960189819336, 0.006515711784362793, 0.006560768127441406, 0.0065474557876586915, 0.006520832061767578, 0.006616064071655273, 0.006524928092956543, 0.006542335987091064, 0.0065710082054138185 ] }, "throughput": { "unit": "samples/s", "value": 146.94348908369312 }, "energy": { "unit": "kWh", "cpu": 7.445384038236075e-08, "ram": 4.07039983993417e-08, "gpu": 1.4116188791194962e-07, "total": 2.5631972669365203e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3901377.44331781 } } } }