{ "config": { "name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel", "backend": { "name": "pytorch", "version": "2.5.1+cu124", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "model": "hf-internal-testing/tiny-random-BertModel", "processor": "hf-internal-testing/tiny-random-BertModel", "task": "fill-mask", "library": "transformers", "model_type": "bert", "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": 2, "sequence_length": 16, "num_choices": 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.248768, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.230-223.885.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.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.47.1", "transformers_commit": null, "accelerate_version": "1.3.0", "accelerate_commit": null, "diffusers_version": "0.32.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.14", "timm_commit": null, "peft_version": "0.14.0", "peft_commit": null }, "print_report": true, "log_report": true }, "report": { "load_model": { "memory": { "unit": "MB", "max_ram": 812.122112, "max_global_vram": 639.107072, "max_process_vram": 0.0, "max_reserved": 2.097152, "max_allocated": 0.534528 }, "latency": { "unit": "s", "values": [ 0.05436723327636719 ], "count": 1, "total": 0.05436723327636719, "mean": 0.05436723327636719, "p50": 0.05436723327636719, "p90": 0.05436723327636719, "p95": 0.05436723327636719, "p99": 0.05436723327636719, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": { "unit": "kWh", "cpu": 9.648125530347208e-05, "ram": 5.2878644852161406e-05, "gpu": 0.00013357427352600005, "total": 0.0002829341736816335 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1050.279936, "max_global_vram": 670.564352, "max_process_vram": 0.0, "max_reserved": 23.068672, "max_allocated": 10.112 }, "latency": { "unit": "s", "values": [ 0.002642944097518921, 0.0024934399127960207, 0.0025231359004974367, 0.002471935987472534, 0.0024688639640808104, 0.002480128049850464, 0.002460671901702881, 0.002461695909500122, 0.0024494080543518066, 0.002470911979675293, 0.0024791040420532227, 0.0024872961044311525, 0.002465791940689087, 0.002480128049850464, 0.002460671901702881, 0.002468800067901611, 0.0024494080543518066, 0.002456576108932495, 0.0024709439277648924, 0.002449376106262207, 0.002471935987472534, 0.0024596478939056397, 0.002456576108932495, 0.002461695909500122, 0.0024637439250946047, 0.0024627199172973634, 0.0025927679538726807, 0.002456576108932495, 0.002467839956283569, 0.0024770240783691406, 0.0024442880153656005, 0.0024565439224243165, 0.002450432062149048, 0.002450432062149048, 0.0024791040420532227, 0.0024535040855407715, 0.0024637439250946047, 0.0024586238861083985, 0.002451456069946289, 0.002460671901702881, 0.0024432640075683592, 0.002461695909500122, 0.0024688639640808104, 0.0024545280933380128, 0.0024555840492248536, 0.002455552101135254, 0.002566080093383789, 0.0024525439739227295, 0.0024483840465545654, 0.0025159680843353273, 0.00247705602645874, 0.0024708480834960936, 0.0025159680843353273, 0.0024821760654449463, 0.0024729599952697753, 0.0024729599952697753, 0.0024637439250946047, 0.002470911979675293, 0.002481152057647705, 0.002446336030960083, 0.0024750080108642577, 0.002464767932891846, 0.002455552101135254, 0.0024545280933380128, 0.0024453120231628417, 0.0024636800289154054, 0.0024729599952697753, 0.002456576108932495, 0.002466815948486328, 0.0024576001167297364, 0.002470911979675293, 0.0024698879718780516, 0.002455552101135254, 0.0024637439250946047, 0.0024862720966339113, 0.0024576001167297364, 0.0024617600440979006, 0.002450432062149048, 0.002466815948486328, 0.002471935987472534, 0.0024483840465545654, 0.0024585599899291993, 0.0024750080108642577, 0.002455552101135254, 0.0024576001167297364, 0.002461695909500122, 0.002461632013320923, 0.0024627199172973634, 0.002436095952987671, 0.002582560062408447, 0.002732032060623169, 0.002604032039642334, 0.002644927978515625, 0.0028190720081329346, 0.003181567907333374, 0.0027607040405273437, 0.0026501119136810303, 0.002613248109817505, 0.0026501119136810303, 0.0026378240585327147, 0.002598912000656128, 0.0025815041065216063, 0.0025938239097595215, 0.0025886719226837157, 0.002610176086425781, 0.002814016103744507, 0.002703360080718994, 0.0025815041065216063, 0.0025763840675354006, 0.002584575891494751, 0.002610176086425781, 0.00260915207862854, 0.002603008031845093, 0.002606080055236816, 0.002598912000656128, 0.002580480098724365, 0.002603008031845093, 0.00260099196434021, 0.002597887992858887, 0.002580480098724365, 0.0026112000942230223, 0.0025876479148864745, 0.002589695930480957, 0.002596895933151245, 0.0025681920051574708, 0.002590719938278198, 0.0026163198947906493, 0.0025753600597381594, 0.002597887992858887, 0.0025999360084533693, 0.002584575891494751, 0.0025866239070892333, 0.002586656093597412, 0.002574336051940918, 0.002593791961669922, 0.0026112000942230223, 0.002573312044143677, 0.0025784320831298826, 0.002603008031845093, 0.0026081280708312986, 0.002615295886993408, 0.0025886719226837157, 0.002598912000656128, 0.00261843204498291, 0.002584640026092529, 0.002597887992858887, 0.002648063898086548, 0.0025691521167755128, 0.002593791961669922, 0.0025958399772644043, 0.0025835518836975096, 0.0026009600162506105, 0.0026153600215911865, 0.0025805439949035643, 0.002593791961669922, 0.002614272117614746, 0.002593791961669922, 0.0025876479148864745, 0.002612287998199463, 0.0025835518836975096, 0.002594815969467163, 0.002606080055236816, 0.0025876479148864745, 0.0025968639850616456, 0.002597887992858887, 0.0025784320831298826, 0.0025968639850616456, 0.002593791961669922, 0.0025753600597381594, 0.0025958399772644043, 0.002590656042098999, 0.0026408960819244384, 0.0025958399772644043, 0.0025703039169311524, 0.002613248109817505, 0.002594815969467163, 0.0025815041065216063, 0.0026029760837554933, 0.0025866239070892333, 0.0025866239070892333, 0.0025927679538726807, 0.00260915207862854, 0.002580480098724365, 0.002648063898086548, 0.002763744115829468, 0.0025835518836975096, 0.002590719938278198, 0.002642944097518921, 0.0025763840675354006, 0.0025917439460754394, 0.0025958399772644043, 0.0025835518836975096, 0.002601952075958252, 0.0025958399772644043, 0.0025865919589996337, 0.0025958399772644043, 0.0026255359649658204, 0.002589695930480957, 0.0025917439460754394, 0.0025937280654907227, 0.002590719938278198, 0.002597887992858887, 0.0025968639850616456, 0.002585599899291992, 0.002597887992858887, 0.0025958399772644043, 0.0025784320831298826, 0.0025917439460754394, 0.00258351993560791, 0.002594815969467163, 0.00260915207862854, 0.0025927679538726807, 0.0025999360084533693, 0.002593791961669922, 0.0025866239070892333, 0.0025866239070892333, 0.0026163198947906493, 0.002577408075332642, 0.0025989439487457276, 0.00260915207862854, 0.0026071040630340574, 0.0026050560474395754, 0.0026264960765838624, 0.002590719938278198, 0.0026183679103851318, 0.002619391918182373, 0.002593791961669922, 0.002610176086425781, 0.0026122241020202636, 0.0025927679538726807, 0.0026009600162506105, 0.0026214399337768555, 0.002589695930480957, 0.0027043840885162354, 0.00263372802734375, 0.0025784320831298826, 0.0026910719871521, 0.002632704019546509, 0.0025866239070892333, 0.002613248109817505, 0.0026112000942230223, 0.002569216012954712, 0.002603008031845093, 0.0026296319961547853, 0.0025958399772644043, 0.0026112000942230223, 0.002618335962295532, 0.002577408075332642, 0.0026214399337768555, 0.002589695930480957, 0.002613248109817505, 0.002607072114944458, 0.0025927679538726807, 0.002623487949371338, 0.002669568061828613, 0.002590719938278198, 0.002629568099975586, 0.0026306560039520265, 0.0025917439460754394, 0.002610176086425781, 0.002627583980560303, 0.0025815041065216063, 0.0025968639850616456, 0.0026050560474395754, 0.0025866239070892333, 0.002859008073806763, 0.002745376110076904, 0.0026050560474395754, 0.002624511957168579, 0.0025999360084533693, 0.002584575891494751, 0.0026009600162506105, 0.0026081280708312986, 0.0025866239070892333, 0.0026009600162506105, 0.0026173439025878906, 0.002580480098724365, 0.002589695930480957, 0.002613248109817505, 0.0025886719226837157, 0.002634752035140991, 0.0026050560474395754, 0.002606080055236816, 0.002603008031845093, 0.0026204159259796142, 0.002580480098724365, 0.0026050560474395754, 0.0026112000942230223, 0.0025825281143188475, 0.002597887992858887, 0.0026112000942230223, 0.0025835518836975096, 0.0025968639850616456, 0.0026163198947906493, 0.002590719938278198, 0.002594815969467163, 0.002619391918182373, 0.0025825281143188475, 0.002598912000656128, 0.0026009600162506105, 0.0025958399772644043, 0.0026019840240478517, 0.002604032039642334, 0.002615295886993408, 0.002590719938278198, 0.0026019840240478517, 0.002627583980560303, 0.0025968639850616456, 0.002594815969467163, 0.002584575891494751, 0.00260915207862854, 0.0026408960819244384, 0.0026112000942230223, 0.0026081280708312986, 0.0025876479148864745, 0.0026009600162506105, 0.002615295886993408, 0.0026224639415740967, 0.0026798079013824463, 0.0026214399337768555, 0.0025968639850616456, 0.0026009600162506105, 0.002613248109817505, 0.0025763840675354006, 0.0026009600162506105, 0.0026173439025878906, 0.002580480098724365, 0.002606080055236816, 0.002634752035140991, 0.0025815041065216063, 0.002614272117614746, 0.0026019840240478517, 0.0025815041065216063, 0.002598912000656128, 0.002606112003326416, 0.0025835518836975096, 0.0025927679538726807, 0.0025855679512023924, 0.0026019840240478517, 0.0026173439025878906, 0.002610176086425781, 0.0025999360084533693, 0.002603008031845093, 0.0025825281143188475, 0.0025988800525665284, 0.002597887992858887, 0.002598912000656128, 0.0026071040630340574, 0.002619391918182373, 0.002589695930480957, 0.002584575891494751, 0.002614272117614746, 0.0026112000942230223, 0.003077120065689087, 0.0031969280242919924, 0.0027197439670562746, 0.002693120002746582, 0.0026081280708312986, 0.002606080055236816, 0.0026265599727630616, 0.00260915207862854, 0.0026081280708312986, 0.0026009600162506105, 0.0026009600162506105, 0.0025988800525665284, 0.002594815969467163, 0.002584575891494751, 0.0026204159259796142, 0.0025876479148864745, 0.0025958399772644043, 0.0026081280708312986, 0.0025968639850616456, 0.002621471881866455, 0.0025825920104980468, 0.0026214399337768555, 0.0026511359214782715, 0.0025825281143188475, 0.0025999360084533693, 0.0025927679538726807, 0.0025815041065216063, 0.0026071040630340574, 0.002606080055236816, 0.0025917439460754394, 0.002604032039642334 ], "count": 384, "total": 0.9905682582855219, "mean": 0.0025796048392852148, "p50": 0.002593807935714722, "p90": 0.00262620804309845, "p95": 0.0026498047113418578, "p99": 0.002825861139297486, "stdev": 8.450351316171364e-05, "stdev_": 3.2758317039414764 }, "throughput": { "unit": "samples/s", "value": 775.31254769788 }, "energy": { "unit": "kWh", "cpu": 3.032716419693616e-08, "ram": 1.6617645275057564e-08, "gpu": 4.367952212307714e-08, "total": 9.06243315950708e-08 }, "efficiency": { "unit": "samples/kWh", "value": 22069128.28815593 } } } }