{ "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": "0.9.16", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 879.529984, "max_global_vram": 1229.45536, "max_process_vram": 0.0, "max_reserved": 591.396864, "max_allocated": 449.269248 }, "latency": { "unit": "s", "count": 148, "total": 1.001964638710022, "mean": 0.006770031342635284, "stdev": 0.000185023902494785, "p50": 0.006766079902648926, "p90": 0.006988083171844483, "p95": 0.007068723297119141, "p99": 0.007207557010650635, "values": [ 0.007716864109039307, 0.006883327960968018, 0.007028736114501953, 0.006968319892883301, 0.007074816226959229, 0.006899712085723877, 0.00694374418258667, 0.006843391895294189, 0.00678604793548584, 0.006841343879699707, 0.006789120197296142, 0.00677785587310791, 0.006785024166107178, 0.0067717118263244626, 0.006711296081542969, 0.00677785587310791, 0.0067338237762451176, 0.006743040084838867, 0.006758399963378906, 0.006897664070129395, 0.006829055786132812, 0.006820864200592041, 0.006811647891998291, 0.006804480075836182, 0.006814720153808594, 0.006908927917480469, 0.006823935985565186, 0.006820864200592041, 0.0068351998329162595, 0.006883327960968018, 0.00679423999786377, 0.006782976150512696, 0.006796288013458252, 0.006797311782836914, 0.006883327960968018, 0.0067420158386230465, 0.007095295906066895, 0.007031807899475098, 0.0069847040176391605, 0.006919167995452881, 0.006956031799316406, 0.007114751815795899, 0.0069959678649902345, 0.007012351989746094, 0.007054336071014404, 0.007029759883880615, 0.00683622407913208, 0.006953983783721924, 0.007057407855987549, 0.006953983783721924, 0.006842368125915528, 0.006765567779541016, 0.006766592025756836, 0.006754303932189941, 0.006750239849090576, 0.006722559928894043, 0.006737919807434082, 0.006722559928894043, 0.006743040084838867, 0.00728985595703125, 0.007090176105499267, 0.006802432060241699, 0.006930431842803955, 0.007087103843688965, 0.006949888229370117, 0.006937600135803222, 0.006978559970855713, 0.006972415924072266, 0.006781951904296875, 0.006813695907592773, 0.006870016098022461, 0.006825984001159668, 0.006806528091430664, 0.006846464157104492, 0.0067870721817016606, 0.006793216228485107, 0.006791168212890625, 0.006801407814025879, 0.006852608203887939, 0.006665215969085693, 0.006622208118438721, 0.006573056221008301, 0.006642687797546387, 0.006751232147216797, 0.006563839912414551, 0.0064737281799316405, 0.006449151992797852, 0.006534143924713135, 0.00653004789352417, 0.006723584175109864, 0.006838272094726563, 0.0068280320167541505, 0.006960127830505371, 0.006883327960968018, 0.007101439952850342, 0.0069816322326660156, 0.006841343879699707, 0.006731776237487793, 0.006752255916595459, 0.006702079772949219, 0.006708223819732666, 0.006680575847625733, 0.0066744318008422855, 0.006675456047058105, 0.006624256134033203, 0.006632448196411133, 0.006635519981384277, 0.00667955207824707, 0.0066416640281677245, 0.006691840171813965, 0.006606847763061524, 0.006584320068359375, 0.006622208118438721, 0.006617087841033936, 0.006627327919006347, 0.006586368083953857, 0.006624256134033203, 0.006604800224304199, 0.006620160102844238, 0.006621183872222901, 0.006633471965789795, 0.006616064071655273, 0.006707200050354004, 0.0066416640281677245, 0.006623231887817383, 0.0066447358131408694, 0.006744063854217529, 0.006621183872222901, 0.006619135856628418, 0.006602752208709717, 0.0066007041931152345, 0.0066447358131408694, 0.00662227201461792, 0.0066826238632202144, 0.0066119680404663084, 0.006609920024871826, 0.006616064071655273, 0.006731776237487793, 0.006618112087249756, 0.006565887928009034, 0.006627327919006347, 0.006615039825439453, 0.006397952079772949, 0.006396927833557129, 0.006384640216827392, 0.006392831802368164, 0.006403071880340576, 0.0063907837867736815 ] }, "throughput": { "unit": "samples/s", "value": 147.70980360199377 }, "energy": { "unit": "kWh", "cpu": 7.849319990809303e-08, "ram": 4.290240457768526e-08, "gpu": 1.5121424900662448e-07, "total": 2.7260985349240275e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3668245.983001009 } } } }