{ "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.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": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 878.043136, "max_global_vram": 1231.552512, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 149, "total": 1.000355903148651, "mean": 0.006713798007709068, "stdev": 0.0002075072015509409, "p50": 0.006647808074951172, "p90": 0.006985113620758057, "p95": 0.007069695949554443, "p99": 0.007171399688720703, "values": [ 0.007374847888946533, 0.007003136157989502, 0.0071792640686035155, 0.007073791980743408, 0.007162879943847656, 0.007063551902770996, 0.007111680030822754, 0.007003136157989502, 0.007087103843688965, 0.006958079814910889, 0.006870016098022461, 0.0068853759765625, 0.006933504104614257, 0.006951935768127441, 0.006822912216186523, 0.006793216228485107, 0.006872064113616944, 0.007104512214660645, 0.007037951946258545, 0.006933504104614257, 0.007073791980743408, 0.0068618240356445315, 0.006980607986450196, 0.0068915200233459475, 0.006940671920776367, 0.006931456089019775, 0.006598656177520752, 0.0066447358131408694, 0.006646783828735352, 0.006498303890228272, 0.006555647850036621, 0.006583295822143555, 0.006631423950195312, 0.0068853759765625, 0.0069621758460998535, 0.006843391895294189, 0.006814720153808594, 0.006872064113616944, 0.006873087882995605, 0.00682700777053833, 0.006837247848510742, 0.006870016098022461, 0.006873087882995605, 0.006930431842803955, 0.007007232189178467, 0.006972415924072266, 0.006642687797546387, 0.006684671878814697, 0.006662144184112549, 0.006505472183227539, 0.006765567779541016, 0.006975488185882568, 0.006947840213775635, 0.007037951946258545, 0.0069550080299377445, 0.006860799789428711, 0.006721536159515381, 0.006838272094726563, 0.006903808116912841, 0.006810624122619629, 0.0070256638526916505, 0.006871039867401123, 0.006819839954376221, 0.006830080032348633, 0.006895616054534912, 0.006860799789428711, 0.006936575889587402, 0.0066744318008422855, 0.0068689918518066405, 0.00688640022277832, 0.006647808074951172, 0.0066109437942504885, 0.00658841609954834, 0.0066109437942504885, 0.006627327919006347, 0.006589439868927002, 0.006586368083953857, 0.006615039825439453, 0.006561791896820069, 0.0065136637687683106, 0.006814720153808594, 0.006731840133666992, 0.006623231887817383, 0.0067420158386230465, 0.006793216228485107, 0.006703104019165039, 0.006562816143035889, 0.006503424167633057, 0.00667852783203125, 0.0067717118263244626, 0.006699007987976074, 0.006673408031463623, 0.006806528091430664, 0.006825984001159668, 0.006939648151397705, 0.006860799789428711, 0.006632448196411133, 0.006574079990386963, 0.006502399921417237, 0.0065146880149841305, 0.006479872226715088, 0.00653004789352417, 0.006499328136444092, 0.006533120155334473, 0.006561791896820069, 0.0064440321922302245, 0.006515711784362793, 0.006559743881225586, 0.006527999877929688, 0.006509568214416504, 0.006520832061767578, 0.006486015796661377, 0.0065669121742248536, 0.00652288007736206, 0.0065372161865234375, 0.006393856048583985, 0.006460415840148926, 0.00652288007736206, 0.006510591983795166, 0.006470655918121338, 0.006526976108551025, 0.00653107213973999, 0.006502399921417237, 0.0065136637687683106, 0.006504447937011719, 0.006486015796661377, 0.006440959930419922, 0.006564864158630371, 0.006573056221008301, 0.0064880638122558594, 0.006532095909118653, 0.006479872226715088, 0.006474751949310303, 0.0064849920272827145, 0.006503424167633057, 0.006481919765472412, 0.0064767999649047855, 0.006627327919006347, 0.006505472183227539, 0.006495232105255127, 0.0064778242111206055, 0.00652288007736206, 0.006459392070770263, 0.006519807815551758, 0.00653107213973999, 0.006494207859039307, 0.006529024124145508, 0.006458367824554443, 0.006500351905822754 ] }, "throughput": { "unit": "samples/s", "value": 148.9469892975269 }, "energy": { "unit": "kWh", "cpu": 7.566834542233304e-08, "ram": 4.1366643949189724e-08, "gpu": 1.4480018661146243e-07, "total": 2.618351759829852e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3819196.5470101037 } } } }