hf-transformers-bot's picture
Upload folder using huggingface_hub
0f84566 verified
{
"config": {
"name": "pytorch_generate",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model": "google/gemma-2b",
"processor": "google/gemma-2b",
"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": "float16",
"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": {
"backend": "inductor",
"mode": "reduce-overhead",
"fullgraph": true
},
"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": 2,
"duration": 0,
"warmup_runs": 10,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 7
},
"new_tokens": null,
"latency": true,
"memory": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 128,
"min_new_tokens": 128,
"do_sample": false
},
"call_kwargs": {}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "warn",
"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.218-208.862.amzn2.x86_64-x86_64-with-glibc2.29",
"processor": "x86_64",
"python_version": "3.8.10",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.0.dev0",
"transformers_commit": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
"accelerate_version": "0.32.0.dev0",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": "1.21.0.dev0",
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": "0.11.2.dev0",
"peft_commit": null
}
},
"report": {
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1706.909696,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5034.576896
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.03918860816955566,
"mean": 0.01959430408477783,
"stdev": 0.0002262392044067394,
"p50": 0.01959430408477783,
"p90": 0.019775295448303223,
"p95": 0.019797919368743897,
"p99": 0.019816018505096438,
"values": [
0.01982054328918457,
0.019368064880371093
]
},
"throughput": {
"unit": "tokens/s",
"value": 357.2466758560754
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1706.930176,
"max_global_vram": 6795.296768,
"max_process_vram": 0.0,
"max_reserved": 6148.849664,
"max_allocated": 5034.577408
},
"latency": {
"unit": "s",
"count": 2,
"total": 4.859682373046875,
"mean": 2.4298411865234373,
"stdev": 0.02299743652343733,
"p50": 2.4298411865234373,
"p90": 2.4482391357421873,
"p95": 2.4505388793945313,
"p99": 2.452378674316406,
"values": [
2.40684375,
2.452838623046875
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.266790399461776
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.859865081787112,
"mean": 0.01920895289243917,
"stdev": 0.0012791354543790587,
"p50": 0.019106815338134766,
"p90": 0.019688039016723634,
"p95": 0.019777535629272463,
"p99": 0.020079001693725583,
"values": [
0.01944371223449707,
0.01925529670715332,
0.019342336654663086,
0.019179519653320314,
0.01923072052001953,
0.019080192565917968,
0.019358720779418945,
0.01908940887451172,
0.018894847869873048,
0.019139583587646485,
0.019153919219970703,
0.019184640884399414,
0.01929113578796387,
0.01903308868408203,
0.019519519805908204,
0.01953276824951172,
0.019517440795898438,
0.019117055892944337,
0.019183616638183593,
0.01922969627380371,
0.0192174072265625,
0.01902899169921875,
0.018949119567871094,
0.019001344680786132,
0.018980863571166993,
0.019083263397216797,
0.018980863571166993,
0.0190515193939209,
0.01945088005065918,
0.0194334716796875,
0.019351551055908203,
0.01919795227050781,
0.019361791610717775,
0.019148799896240236,
0.019106815338134766,
0.01902592086791992,
0.019916799545288084,
0.019096576690673828,
0.019783679962158202,
0.019752960205078125,
0.019786752700805665,
0.019727359771728514,
0.01959321594238281,
0.01988198471069336,
0.019763200759887696,
0.019491840362548828,
0.019591167449951173,
0.019087360382080077,
0.019505151748657225,
0.019535871505737306,
0.019344383239746094,
0.01927475166320801,
0.01864089584350586,
0.01863680076599121,
0.01860710334777832,
0.018654207229614257,
0.018725887298583984,
0.018677759170532226,
0.018686975479125977,
0.018683904647827147,
0.018685951232910156,
0.018711551666259766,
0.018712575912475587,
0.018697216033935548,
0.018778112411499022,
0.018578432083129884,
0.018518016815185546,
0.018709503173828124,
0.01862758445739746,
0.018539615631103516,
0.018713504791259765,
0.018729984283447267,
0.018710527420043945,
0.018721792221069337,
0.018715648651123046,
0.018712575912475587,
0.018516992568969725,
0.018542591094970702,
0.018511871337890624,
0.018663423538208008,
0.018704383850097657,
0.018747392654418944,
0.018694143295288086,
0.018721792221069337,
0.018707456588745116,
0.018561023712158203,
0.018711551666259766,
0.018525184631347655,
0.018521087646484375,
0.01861427116394043,
0.01880473518371582,
0.018738176345825194,
0.018800640106201173,
0.018744319915771485,
0.018720767974853517,
0.018714624404907225,
0.018783231735229493,
0.018683904647827147,
0.018603008270263673,
0.018762752532958983,
0.018906112670898437,
0.01884569549560547,
0.01863167953491211,
0.018530303955078126,
0.018551807403564453,
0.018571264266967775,
0.018686975479125977,
0.018774015426635742,
0.018791423797607423,
0.018769920349121092,
0.018589696884155273,
0.018714624404907225,
0.018784255981445314,
0.01879654312133789,
0.018712575912475587,
0.018715648651123046,
0.018704383850097657,
0.018689023971557618,
0.018718719482421875,
0.018738176345825194,
0.018723840713500976,
0.01879347229003906,
0.01881395149230957,
0.018750463485717773,
0.01881497573852539,
0.018941951751708985,
0.0381214714050293,
0.01841766357421875,
0.01828659248352051,
0.018533376693725585,
0.018496511459350586,
0.018618368148803712,
0.018571264266967775,
0.018520063400268554,
0.01875660705566406,
0.018676736831665038,
0.01861631965637207,
0.01860812759399414,
0.01965977668762207,
0.019509248733520508,
0.019528703689575197,
0.018654207229614257,
0.01859584045410156,
0.01962495994567871,
0.01982771110534668,
0.019538944244384765,
0.019503103256225587,
0.019479551315307618,
0.01946316719055176,
0.01902079963684082,
0.019514368057250975,
0.019507200241088866,
0.019604480743408204,
0.020579328536987306,
0.019910655975341796,
0.019900415420532228,
0.01964031982421875,
0.019521535873413084,
0.0194969596862793,
0.01962291145324707,
0.019810304641723633,
0.01948467254638672,
0.019580928802490235,
0.01947750473022461,
0.01960140800476074,
0.019507200241088866,
0.01945497512817383,
0.0195020809173584,
0.019500032424926757,
0.020254720687866212,
0.019645471572875977,
0.019487712860107424,
0.019523584365844726,
0.019512319564819337,
0.01964851188659668,
0.019586048126220702,
0.019530752182006835,
0.019537919998168944,
0.019575807571411134,
0.019549184799194336,
0.019530752182006835,
0.01926144027709961,
0.019108863830566408,
0.01942527961730957,
0.01966592025756836,
0.019644416809082032,
0.019720191955566405,
0.01964543914794922,
0.01963212776184082,
0.01965875244140625,
0.01963520050048828,
0.01967001533508301,
0.0196495361328125,
0.01969254493713379,
0.019732479095458985,
0.019741695404052736,
0.01967001533508301,
0.0196628475189209,
0.018759679794311524,
0.018670591354370117,
0.019764223098754884,
0.019730432510375977,
0.01961676788330078,
0.0196945915222168,
0.019663871765136717,
0.019773439407348634,
0.01965056037902832,
0.019603456497192383,
0.019784704208374023,
0.019604480743408204,
0.019644416809082032,
0.01962291145324707,
0.019514368057250975,
0.019381248474121093,
0.018537471771240235,
0.018490367889404297,
0.01848422431945801,
0.018585599899291993,
0.018707456588745116,
0.018679807662963867,
0.018721792221069337,
0.019695615768432616,
0.019795967102050782,
0.01963212776184082,
0.01963315200805664,
0.01960857582092285,
0.01966796875,
0.019620864868164063,
0.019628063201904297,
0.019650527954101563,
0.019551231384277345,
0.019614719390869142,
0.01965772819519043,
0.019587072372436523,
0.019586048126220702,
0.019560447692871095,
0.01965465545654297,
0.019700735092163087,
0.018687999725341797,
0.018637823104858398,
0.018626560211181642,
0.0184770565032959,
0.01844326400756836,
0.018485248565673826,
0.01869004821777344,
0.018714624404907225,
0.018749439239501953,
0.018691072463989256,
0.018725887298583984,
0.018480127334594726,
0.018478080749511717,
0.018686975479125977,
0.018695167541503906
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.05905837759693
},
"energy": null,
"efficiency": null
}
}
}