{ "config": { "name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "fill-mask", "library": "transformers", "model_type": "bert", "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", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.1", "optimum_benchmark_commit": null, "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.7", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 875.638784, "max_global_vram": 1231.552512, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 192, "total": 1.0011557769775392, "mean": 0.00521435300509135, "stdev": 0.00017883960613527348, "p50": 0.005245440006256104, "p90": 0.005377945566177368, "p95": 0.005456793665885925, "p99": 0.005612359762191773, "values": [ 0.005890048027038574, 0.005371903896331787, 0.0055848960876464845, 0.005488639831542969, 0.005422080039978027, 0.00550707197189331, 0.005410816192626953, 0.0053975038528442385, 0.0054579200744628905, 0.005386240005493164, 0.00536575984954834, 0.0053534722328186036, 0.005304384231567383, 0.005295104026794434, 0.005350399971008301, 0.005341184139251709, 0.005321728229522705, 0.005305344104766845, 0.005184512138366699, 0.005124095916748047, 0.005257215976715088, 0.005255167961120606, 0.005269504070281982, 0.005362688064575195, 0.005331967830657959, 0.0053002238273620605, 0.00536678409576416, 0.005296127796173096, 0.005250048160552978, 0.005262335777282715, 0.005344255924224854, 0.005347328186035156, 0.00535859203338623, 0.005370880126953125, 0.005319680213928223, 0.0053534722328186036, 0.005350399971008301, 0.005557248115539551, 0.005377024173736572, 0.005302271842956543, 0.005313536167144775, 0.005359615802764893, 0.00531660795211792, 0.005265408039093018, 0.005214208126068115, 0.0051404800415039064, 0.005158912181854248, 0.005197824001312256, 0.00526643180847168, 0.005192704200744629, 0.005235712051391602, 0.00531660795211792, 0.005251071929931641, 0.005284863948822022, 0.005346303939819336, 0.005350399971008301, 0.005359615802764893, 0.00536678409576416, 0.005359615802764893, 0.005327871799468994, 0.005390336036682129, 0.005246975898742676, 0.0052674560546875, 0.00536678409576416, 0.005341184139251709, 0.005343232154846191, 0.005338111877441406, 0.005310463905334473, 0.005329919815063477, 0.005281792163848877, 0.005156864166259765, 0.005167103767395019, 0.005292031764984131, 0.005246975898742676, 0.005299200057983398, 0.005343232154846191, 0.005302271842956543, 0.005232639789581299, 0.005318655967712403, 0.005279744148254394, 0.005228640079498291, 0.005279744148254394, 0.005241856098175048, 0.005294079780578613, 0.005250048160552978, 0.005337088108062744, 0.005345280170440674, 0.005378047943115235, 0.005370880126953125, 0.005336063861846924, 0.005336063861846924, 0.005351424217224121, 0.005285888195037842, 0.005313536167144775, 0.005331967830657959, 0.00521830415725708, 0.005174272060394287, 0.005381120204925537, 0.005241856098175048, 0.005185535907745361, 0.005182464122772217, 0.005058559894561767, 0.005023744106292725, 0.0051487040519714354, 0.005237760066986084, 0.005117951869964599, 0.004965375900268554, 0.004978687763214112, 0.005008384227752686, 0.004968448162078858, 0.004996096134185791, 0.004986879825592041, 0.005284863948822022, 0.0053975038528442385, 0.005341184139251709, 0.0054609918594360355, 0.005455872058868408, 0.005536767959594726, 0.00550707197189331, 0.005298175811767578, 0.005375999927520752, 0.005254144191741943, 0.005206016063690186, 0.00521727991104126, 0.005167103767395019, 0.005158912181854248, 0.005187583923339844, 0.00521727991104126, 0.005183487892150879, 0.005202943801879883, 0.005974016189575195, 0.005213183879852295, 0.005183487892150879, 0.005238783836364746, 0.005191679954528809, 0.005234687805175781, 0.005254144191741943, 0.005161983966827393, 0.005189631938934326, 0.005243904113769531, 0.0051701760292053225, 0.0051701760292053225, 0.005204991817474365, 0.005208064079284668, 0.005161983966827393, 0.005153791904449463, 0.005119999885559082, 0.0049725441932678225, 0.00495411205291748, 0.004956160068511963, 0.004992000102996826, 0.004960256099700928, 0.004966400146484375, 0.004980735778808594, 0.00497049617767334, 0.004946944236755371, 0.005419007778167725, 0.005000192165374756, 0.0050063362121582035, 0.00496230411529541, 0.005022719860076904, 0.004965375900268554, 0.004980735778808594, 0.004960256099700928, 0.004959231853485108, 0.0049530878067016604, 0.0049827837944030765, 0.004964352130889893, 0.0049530878067016604, 0.004971519947052002, 0.004981760025024414, 0.004951039791107178, 0.004974592208862305, 0.004966400146484375, 0.00496127986907959, 0.00496230411529541, 0.004967423915863037, 0.0049428482055664065, 0.004967423915863037, 0.004969471931457519, 0.004965375900268554, 0.004943871974945068, 0.004975615978240967, 0.004984831809997559, 0.004975615978240967, 0.0049428482055664065, 0.00497049617767334, 0.004977663993835449, 0.00497049617767334, 0.004963327884674072, 0.005005311965942383, 0.004976640224456787 ] }, "throughput": { "unit": "samples/s", "value": 191.77834700174486 }, "energy": { "unit": "kWh", "cpu": 6.085894895754649e-08, "ram": 3.327299007882132e-08, "gpu": 1.265613548105066e-07, "total": 2.2069329384687437e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4531175.291143369 } } } }