{ "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": {}, "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, "memory": true, "latency": 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, "llama_cpp_version": null, "llama_cpp_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 713.99424, "max_global_vram": 1218.9696, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 533.571072 }, "latency": { "unit": "s", "count": 1, "total": 7.1525048828125, "mean": 7.1525048828125, "stdev": 0.0, "p50": 7.1525048828125, "p90": 7.1525048828125, "p95": 7.1525048828125, "p99": 7.1525048828125, "values": [ 7.1525048828125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.202768405278525e-07, "ram": 4.888984165410193e-07, "gpu": 0.0, "total": 1.4091752570688717e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 881.0496, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 589.299712, "max_allocated": 449.025024 }, "latency": { "unit": "s", "count": 188, "total": 1.0035838079452513, "mean": 0.005338211744389636, "stdev": 0.00018945301191387057, "p50": 0.005303296089172363, "p90": 0.00557281289100647, "p95": 0.005634969592094421, "p99": 0.005843015599250791, "values": [ 0.0057118721008300784, 0.005667840003967285, 0.005478400230407715, 0.005454847812652588, 0.005445631980895996, 0.00541593599319458, 0.00536575984954834, 0.005401599884033203, 0.005424223899841309, 0.005315584182739258, 0.005295104026794434, 0.0053350400924682614, 0.005257215976715088, 0.005318655967712403, 0.005356544017791748, 0.0055101442337036136, 0.005299200057983398, 0.005208064079284668, 0.005111807823181152, 0.00516812801361084, 0.005407743930816651, 0.005529600143432617, 0.005571584224700928, 0.005784575939178467, 0.005537792205810547, 0.005563392162322998, 0.005351424217224121, 0.005279744148254394, 0.005426176071166992, 0.005449728012084961, 0.005517312049865723, 0.005590015888214111, 0.005542912006378174, 0.005547008037567139, 0.005361663818359375, 0.005343232154846191, 0.005378047943115235, 0.00530841588973999, 0.005243904113769531, 0.00526643180847168, 0.005307392120361328, 0.005446656227111817, 0.005577727794647217, 0.005305344104766845, 0.005326848030090332, 0.0056442880630493165, 0.005495808124542236, 0.005451776027679443, 0.005617663860321045, 0.005416959762573242, 0.0054282240867614745, 0.005278719902038574, 0.0052367358207702636, 0.005292031764984131, 0.005379072189331055, 0.005393407821655274, 0.005352447986602784, 0.0053678078651428224, 0.0053002238273620605, 0.005276671886444092, 0.00537395191192627, 0.005220352172851562, 0.0053647360801696775, 0.005371903896331787, 0.0052899842262268066, 0.005465087890625, 0.005314559936523438, 0.005332992076873779, 0.0053678078651428224, 0.005319680213928223, 0.00516812801361084, 0.005150720119476319, 0.0052705278396606445, 0.005697535991668701, 0.0062341117858886715, 0.0065146880149841305, 0.005676032066345215, 0.005473279953002929, 0.005463039875030518, 0.005557248115539551, 0.005472256183624268, 0.005458943843841553, 0.005429247856140137, 0.005615615844726562, 0.005677055835723877, 0.0055101442337036136, 0.005668863773345947, 0.005575679779052735, 0.0055316481590271, 0.005599232196807862, 0.005577727794647217, 0.005499904155731201, 0.005578752040863037, 0.005480447769165039, 0.0055797758102417, 0.005451776027679443, 0.005331967830657959, 0.0054906878471374515, 0.005426176071166992, 0.005403647899627686, 0.005377024173736572, 0.005250048160552978, 0.0054917120933532714, 0.005395455837249756, 0.005465087890625, 0.005356544017791748, 0.005242879867553711, 0.005154816150665284, 0.005182464122772217, 0.005288959980010987, 0.005276671886444092, 0.005189631938934326, 0.005284863948822022, 0.005227519989013672, 0.0051968002319335935, 0.005340159893035889, 0.005336063861846924, 0.0054906878471374515, 0.005343232154846191, 0.005195775985717774, 0.005175295829772949, 0.005432320117950439, 0.00521727991104126, 0.005268479824066162, 0.005238783836364746, 0.005212160110473632, 0.005201920032501221, 0.005311488151550293, 0.005253119945526123, 0.0052008957862854, 0.005197824001312256, 0.005249023914337158, 0.005125120162963868, 0.0051660799980163576, 0.005281792163848877, 0.005189631938934326, 0.005191679954528809, 0.005186560153961181, 0.005204991817474365, 0.00515174388885498, 0.005194752216339111, 0.005222400188446045, 0.005122047901153564, 0.0051404800415039064, 0.005145599842071533, 0.005126143932342529, 0.0052930560111999515, 0.005273695945739746, 0.0053012480735778805, 0.00511897611618042, 0.005183487892150879, 0.005212160110473632, 0.005154816150665284, 0.005182464122772217, 0.005208064079284668, 0.005172224044799805, 0.005154816150665284, 0.005134335994720459, 0.005184512138366699, 0.005135359764099121, 0.005187583923339844, 0.005180416107177735, 0.005122047901153564, 0.005116928100585938, 0.005154816150665284, 0.005220352172851562, 0.005327871799468994, 0.005378047943115235, 0.0052174081802368166, 0.005122047901153564, 0.005130239963531494, 0.00517632007598877, 0.005180416107177735, 0.005152768135070801, 0.005139455795288086, 0.005165056228637695, 0.0051404800415039064, 0.005161983966827393, 0.005184512138366699, 0.005128191947937012, 0.005187583923339844, 0.005201920032501221, 0.00515174388885498, 0.005122047901153564, 0.00511897611618042, 0.005158912181854248, 0.005280767917633057, 0.0051476478576660155 ] }, "throughput": { "unit": "samples/s", "value": 187.32865009541482 }, "energy": { "unit": "kWh", "cpu": 6.2029088840296e-08, "ram": 3.390882615178626e-08, "gpu": 1.287202891308905e-07, "total": 2.246582041229728e-07 }, "efficiency": { "unit": "samples/kWh", "value": 4451206.239735731 } } } }