{ "config": { "name": "2024-10-10-11-14-43/pytorch", "backend": { "name": "pytorch", "version": "2.4.1", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "text-generation", "library": "transformers", "model_type": "phi3", "model": "microsoft/Phi-3.5-mini-instruct", "processor": "microsoft/Phi-3.5-mini-instruct", "device": "cpu", "device_ids": null, "seed": 42, "inter_op_num_threads": null, "intra_op_num_threads": null, "model_kwargs": {}, "processor_kwargs": {}, "no_weights": false, "device_map": null, "torch_dtype": "float32", "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": 10, "duration": 10, "warmup_runs": 10, "input_shapes": { "batch_size": 2, "num_choices": 2, "sequence_length": 16 }, "new_tokens": null, "memory": true, "latency": true, "energy": false, "forward_kwargs": {}, "generate_kwargs": { "max_new_tokens": 32, "min_new_tokens": 32 }, "call_kwargs": {} }, "launcher": { "name": "process", "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", "device_isolation": false, "device_isolation_action": null, "numactl": true, "numactl_kwargs": { "cpunodebind": 0, "membind": 0 }, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7R13 Processor", "cpu_count": 64, "cpu_ram_mb": 529717.026816, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36", "processor": "", "python_version": "3.10.15", "optimum_benchmark_version": "0.5.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": null, "diffusers_commit": null, "optimum_version": "1.22.0", "optimum_commit": null, "timm_version": null, "timm_commit": null, "peft_version": null, "peft_commit": null }, "print_report": false, "log_report": true }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 18714.865664, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 8.399750124663115 ], "count": 1, "total": 8.399750124663115, "mean": 8.399750124663115, "p50": 8.399750124663115, "p90": 8.399750124663115, "p95": 8.399750124663115, "p99": 8.399750124663115, "stdev": 0, "stdev_": 0 }, "throughput": null, "energy": null, "efficiency": null }, "prefill": { "memory": { "unit": "MB", "max_ram": 16276.750336, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 3.3581380620598793, 3.396693389862776, 3.4571818970143795, 3.5572459772229195, 3.4731837548315525, 3.5803959518671036, 3.374232042580843, 5.356942415237427, 4.5129506178200245, 3.4573763869702816 ], "count": 10, "total": 37.524340495467186, "mean": 3.7524340495467188, "p50": 3.465280070900917, "p90": 4.5973497975617645, "p95": 4.977146106399595, "p99": 5.280983153469861, "stdev": 0.6243235637482007, "stdev_": 16.637829086526303 }, "throughput": { "unit": "tokens/s", "value": 8.527798111166135 }, "energy": null, "efficiency": null }, "decode": { "memory": { "unit": "MB", "max_ram": 16276.750336, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "values": [ 33.501635421067476, 30.04133592545986, 31.445279240608215, 32.22521169483662, 29.81996901333332, 41.92725533992052, 41.742891021072865, 40.72321484610438, 36.302091002464294, 29.9244181253016 ], "count": 10, "total": 347.65330163016915, "mean": 34.76533016301691, "p50": 32.863423557952046, "p90": 41.76132745295763, "p95": 41.844291396439075, "p99": 41.910662551224235, "stdev": 4.765674807588583, "stdev_": 13.70812468986206 }, "throughput": { "unit": "tokens/s", "value": 1.7833859108852967 }, "energy": null, "efficiency": null }, "per_token": { "memory": null, "latency": { "unit": "s", "values": [ 1.1384357027709484, 1.177622027695179, 1.2003977410495281, 1.1222545504570007, 1.1713331490755081, 1.0922859869897366, 1.1245402358472347, 1.0887378714978695, 1.0933789052069187, 1.04338264092803, 2.5836568102240562, 0.9817171767354012, 0.9770018830895424, 0.9235625192523003, 1.0084493197500706, 0.9811127707362175, 0.9208281897008419, 0.9809328615665436, 0.9289973638951778, 0.9859548509120941, 0.9852742440998554, 0.9847075641155243, 0.9451818726956844, 0.9612500742077827, 0.9418791197240353, 0.9792121089994907, 0.9790862575173378, 0.9306129962205887, 1.2642306201159954, 0.9998959638178349, 1.005143839865923, 1.0203991308808327, 0.9920058287680149, 0.9966826364398003, 0.9953101053833961, 0.9291196055710316, 0.9696704670786858, 0.9301869682967663, 0.987386416643858, 0.9202318973839283, 0.9781012162566185, 0.9842051900923252, 0.940557025372982, 0.9892774075269699, 0.9911873750388622, 0.9843054339289665, 0.9321952946484089, 0.9788714051246643, 0.983123891055584, 0.9373661689460278, 0.9977158568799496, 0.9967306777834892, 0.9766447097063065, 0.9264360927045345, 0.9862302131950855, 0.989815678447485, 0.9204447530210018, 0.9958750903606415, 0.9726669117808342, 0.923191498965025, 0.9769759476184845, 0.937883235514164, 1.0038145929574966, 0.9356443509459496, 0.9842030443251133, 0.9259354844689369, 0.9633580222725868, 0.9284386411309242, 0.9787793271243572, 0.921055294573307, 0.9715253077447414, 0.9293092153966427, 0.980810422450304, 0.9748993143439293, 0.9295509122312069, 0.9894356057047844, 1.02058532461524, 1.0904977284371853, 1.0841796584427357, 1.0298358500003815, 1.0859693884849548, 1.0873793698847294, 1.0984263382852077, 1.024993922561407, 1.0732106268405914, 1.0327858179807663, 1.0791507065296173, 1.081660270690918, 1.0225499421358109, 1.0838542468845844, 1.0221294797956944, 1.0773406624794006, 1.0334686152637005, 1.025660865008831, 1.083419531583786, 1.0327927507460117, 1.070757694542408, 1.0347601920366287, 1.0777060836553574, 1.0838213339447975, 1.0328659415245056, 1.0774759203195572, 1.089761409908533, 1.0210511833429337, 1.0121761299669743, 1.0829932019114494, 1.0853435210883617, 1.0839992016553879, 1.0269759930670261, 1.0876033268868923, 1.0944339707493782, 1.0298818238079548, 1.109166506677866, 1.0857994854450226, 1.0941513702273369, 0.9991730563342571, 0.9974812120199203, 0.9982665330171585, 1.0019456297159195, 0.976470872759819, 0.9289552867412567, 0.9809416867792606, 0.9330388009548187, 0.9858381599187851, 0.9323876649141312, 0.9798810072243214, 0.9282574504613876, 0.9837096184492111, 0.9854167923331261, 0.9311277456581593, 0.9929866082966328, 0.975170198827982, 0.924533985555172, 0.9784401841461658, 0.9856738410890102, 0.9309582859277725, 0.9746614508330822, 0.9304128997027874, 0.9742713011801243, 0.9257941879332066, 0.9783140309154987, 0.9218395128846169, 0.969913836568594, 0.9223781675100327, 0.987464290112257, 0.9202763512730598, 0.9856284596025944, 0.9847845360636711, 0.9374007992446423, 0.995894443243742, 0.9869710579514503, 0.9729698747396469, 0.9434096142649651, 1.0001477897167206, 0.978327140212059, 1.0453919284045696, 1.2942124083638191, 1.3069291189312935, 1.5827287174761295, 1.0205241590738297, 1.684956394135952, 2.0071276016533375, 1.4697532132267952, 0.9854139052331448, 0.9400103129446507, 1.686314158141613, 1.5830329842865467, 1.8000198565423489, 1.0415470115840435, 1.1040319204330444, 1.4436596930027008, 1.7231036685407162, 1.184716660529375, 1.1395438238978386, 1.1696329601109028, 1.131481558084488, 1.6683161593973637, 1.141899909824133, 1.1835839822888374, 1.1797052212059498, 1.3359068483114243, 1.089801549911499, 1.3668644726276398, 1.7911975868046284, 1.7504928074777126, 1.0747970789670944, 1.0397629737854004, 1.3824371211230755, 1.4925954155623913, 1.0173395834863186, 1.2972969077527523, 1.0141821280121803, 1.083788201212883, 1.5184855461120605, 1.5929313525557518, 1.571888018399477, 2.223855134099722, 1.6039031185209751, 1.5024455301463604, 1.4671013206243515, 1.024438962340355, 1.0754979886114597, 1.003241941332817, 1.28562256321311, 0.921080008149147, 0.9212512448430061, 1.5782709680497646, 1.088150266557932, 2.1945955231785774, 1.5069400109350681, 1.1015802510082722, 0.9989534988999367, 2.128241177648306, 1.0894646272063255, 1.0835177637636662, 1.31818637996912, 1.6153025887906551, 1.1411330960690975, 1.5759688653051853, 1.6091405861079693, 1.097939532250166, 1.489734087139368, 1.4302357733249664, 1.3789326772093773, 1.0950008481740952, 1.605417400598526, 1.293320693075657, 2.1278112828731537, 1.3645955994725227, 1.031461264938116, 1.5023802481591702, 1.4960583820939064, 1.1092017702758312, 1.1034789346158504, 1.0913921669125557, 1.2833945713937283, 1.3165629468858242, 1.0826188065111637, 1.5940546356141567, 1.0025205686688423, 1.0736385881900787, 1.2250505462288857, 1.2195956744253635, 1.193432278931141, 1.414183545857668, 1.0937596298754215, 1.5862558707594872, 1.094409067183733, 1.108453419059515, 1.0806798972189426, 2.0739275999367237, 2.142223585397005, 1.0840606540441513, 1.0839973539113998, 1.0290987975895405, 0.9870520606637001, 0.9932393617928028, 0.9201038889586926, 1.0738199539482594, 0.9267219118773937, 1.2620188817381859, 1.2937371879816055, 1.448078092187643, 1.0587906427681446, 1.2306020259857178, 1.476415079087019, 1.0325193852186203, 1.0846510417759418, 1.074777141213417, 0.9309312328696251, 1.2921703271567822, 0.9991178959608078, 0.9993756338953972, 1.3077789098024368, 1.0114902220666409, 1.055048331618309, 1.2314375787973404, 1.0074683725833893, 1.0017726495862007, 0.940196581184864, 0.9816303625702858, 0.920859795063734, 0.9756297282874584, 0.9816593639552593, 0.9289572313427925, 0.978353139013052, 0.9289989694952965, 0.9759187437593937, 0.929035235196352, 0.9809492528438568, 0.9891758672893047, 0.9281279109418392, 1.0840245857834816, 0.9802136085927486, 0.9322773180902004, 0.9693350978195667, 0.9306082129478455, 0.978623241186142, 0.9838609024882317, 0.9376424625515938, 0.9914923831820488, 0.9714805297553539, 0.9300731755793095, 0.9780604802072048, 0.9323897622525692, 0.9750336855649948, 0.9848188161849976, 0.9370813593268394, 0.9935021847486496, 0.9939015991985798 ], "count": 310, "total": 347.64793706685305, "mean": 1.121444958280171, "p50": 1.0205547418445349, "p90": 1.4966905687004328, "p95": 1.6125296875834465, "p99": 2.1409651686996227, "stdev": 0.2610671956614392, "stdev_": 23.279537148377518 }, "throughput": { "unit": "tokens/s", "value": 1.7834134303543225 }, "energy": null, "efficiency": null } } }