{ "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", "library": "transformers", "model": "google-bert/bert-base-uncased", "processor": "google-bert/bert-base-uncased", "device": "cuda", "device_ids": "0", "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "hub_kwargs": {}, "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.1", "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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 877.740032, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 146, "total": 1.0017495069503783, "mean": 0.006861297992810811, "stdev": 0.0002303252700335116, "p50": 0.006808576107025147, "p90": 0.007195647954940796, "p95": 0.007248128056526184, "p99": 0.007381504154205323, "values": [ 0.007522304058074952, 0.0068884482383728025, 0.006977536201477051, 0.006964223861694336, 0.006999040126800537, 0.006916096210479736, 0.00693555212020874, 0.006804480075836182, 0.006808576107025147, 0.006773759841918945, 0.006799359798431396, 0.006754303932189941, 0.006773759841918945, 0.006863872051239014, 0.006801407814025879, 0.006859776020050049, 0.007316480159759522, 0.007161856174468994, 0.007413760185241699, 0.007206912040710449, 0.007233535766601563, 0.007302144050598145, 0.007164927959442138, 0.007131135940551757, 0.007130112171173096, 0.007181312084197998, 0.007168000221252442, 0.007157760143280029, 0.0072765440940856935, 0.006810624122619629, 0.0067758078575134275, 0.006811647891998291, 0.006810624122619629, 0.006870016098022461, 0.006767615795135498, 0.006725632190704346, 0.0067123198509216305, 0.0066938881874084475, 0.006762495994567871, 0.007225344181060791, 0.007217152118682861, 0.007113728046417236, 0.007252992153167725, 0.0071833600997924804, 0.006882304191589355, 0.006810624122619629, 0.006998015880584717, 0.006747136116027832, 0.0067358717918396, 0.006770688056945801, 0.006796288013458252, 0.006815743923187256, 0.0067348480224609375, 0.006750207901000976, 0.006739967823028564, 0.006699007987976074, 0.006762495994567871, 0.006816768169403077, 0.006759424209594727, 0.006856704235076904, 0.006806528091430664, 0.006707200050354004, 0.006732800006866455, 0.006761472225189209, 0.006792191982269287, 0.006759424209594727, 0.007064576148986816, 0.007342080116271973, 0.007137279987335205, 0.007160831928253173, 0.007305215835571289, 0.007227392196655274, 0.007223296165466309, 0.006853631973266602, 0.00678604793548584, 0.006785024166107178, 0.007184383869171143, 0.007209983825683594, 0.007103487968444824, 0.00710041618347168, 0.006972415924072266, 0.006904831886291504, 0.007007232189178467, 0.007006207942962647, 0.006802432060241699, 0.0068392958641052244, 0.006840320110321045, 0.006988800048828125, 0.0069212160110473635, 0.0068884482383728025, 0.0069621758460998535, 0.006975488185882568, 0.007138304233551026, 0.007156735897064209, 0.0068055038452148435, 0.00678604793548584, 0.006847487926483154, 0.006788095951080322, 0.006813695907592773, 0.00677785587310791, 0.006817791938781738, 0.00672870397567749, 0.006752255916595459, 0.006749184131622315, 0.006780928134918213, 0.00672870397567749, 0.0067573761940002445, 0.006709248065948486, 0.0067420158386230465, 0.00682700777053833, 0.00672870397567749, 0.006847487926483154, 0.00674508810043335, 0.00672051191329956, 0.006766592025756836, 0.0068249602317810056, 0.006808576107025147, 0.006785024166107178, 0.006790143966674805, 0.006748159885406494, 0.006904831886291504, 0.006803455829620361, 0.006799359798431396, 0.006754303932189941, 0.0068249602317810056, 0.006754303932189941, 0.006765567779541016, 0.006808576107025147, 0.00679423999786377, 0.006776832103729248, 0.006825984001159668, 0.006740992069244385, 0.00643174409866333, 0.00638976001739502, 0.0064174079895019534, 0.0064174079895019534, 0.006434815883636475, 0.006411263942718506, 0.006401023864746094, 0.006397952079772949, 0.006415359973907471, 0.006421504020690918, 0.006409215927124024, 0.006459392070770263, 0.006412288188934326, 0.006456319808959961 ] }, "throughput": { "unit": "samples/s", "value": 145.7450180778897 }, "energy": { "unit": "kWh", "cpu": 7.811473431991555e-08, "ram": 4.270149809742993e-08, "gpu": 1.4060501014473794e-07, "total": 2.614212425620834e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3825243.848584783 } } } }