hf-transformers-bot's picture
Upload folder using huggingface_hub
7fb677c 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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
"accelerate_version": "0.31.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": 1718.112256,
"max_global_vram": 6795.296768,
"max_process_vram": 0.0,
"max_reserved": 6148.849664,
"max_allocated": 5033.552896
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.0401352310180664,
"mean": 0.0200676155090332,
"stdev": 0.00016246414184570464,
"p50": 0.0200676155090332,
"p90": 0.02019758682250977,
"p95": 0.020213833236694338,
"p99": 0.020226830368041994,
"values": [
0.0199051513671875,
0.020230079650878908
]
},
"throughput": {
"unit": "tokens/s",
"value": 348.8207154880475
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1718.23104,
"max_global_vram": 6795.296768,
"max_process_vram": 0.0,
"max_reserved": 6148.849664,
"max_allocated": 5033.553408
},
"latency": {
"unit": "s",
"count": 2,
"total": 4.946603271484375,
"mean": 2.4733016357421875,
"stdev": 0.026213745117187326,
"p50": 2.4733016357421875,
"p90": 2.4942726318359374,
"p95": 2.496894006347656,
"p99": 2.498991105957031,
"values": [
2.499515380859375,
2.447087890625
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.34836696207896
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.946847740173342,
"mean": 0.019552757866297784,
"stdev": 0.001374762990855658,
"p50": 0.019562496185302734,
"p90": 0.020083917236328127,
"p95": 0.02028195915222168,
"p99": 0.020790968475341797,
"values": [
0.02081279945373535,
0.020172800064086914,
0.02027827262878418,
0.01963417625427246,
0.020404319763183593,
0.019981216430664063,
0.020093952178955078,
0.019891199111938478,
0.019877887725830077,
0.019764223098754884,
0.02022502326965332,
0.02063564872741699,
0.02007244873046875,
0.019958784103393554,
0.020502527236938475,
0.020287488937377928,
0.020338687896728515,
0.020008960723876954,
0.020968448638916014,
0.02008678436279297,
0.02003455924987793,
0.019466239929199217,
0.01983795166015625,
0.01990656089782715,
0.019550207138061524,
0.019908607482910155,
0.020144128799438478,
0.020256767272949217,
0.020388864517211915,
0.020562944412231447,
0.020017152786254884,
0.01945599937438965,
0.020249599456787108,
0.020207616806030275,
0.020197376251220703,
0.020362239837646484,
0.020487167358398437,
0.018972671508789063,
0.019062784194946288,
0.019560447692871095,
0.019971071243286134,
0.02017791938781738,
0.019778560638427735,
0.02003660774230957,
0.019770368576049805,
0.019767295837402343,
0.019902463912963866,
0.019727359771728514,
0.01985536003112793,
0.01982464027404785,
0.019732479095458985,
0.019512319564819337,
0.019518463134765626,
0.01861631965637207,
0.01862553596496582,
0.019371007919311522,
0.019758079528808595,
0.019610624313354492,
0.01885491180419922,
0.019751935958862304,
0.019607551574707033,
0.01967411231994629,
0.019590143203735352,
0.01979910469055176,
0.019701696395874022,
0.019467264175415038,
0.019589120864868165,
0.01869004821777344,
0.01865011215209961,
0.01945497512817383,
0.01968435287475586,
0.01964236831665039,
0.018729984283447267,
0.018651136398315428,
0.01880473518371582,
0.019368959426879884,
0.01970278358459473,
0.018795520782470702,
0.018659328460693358,
0.019680255889892577,
0.01971609687805176,
0.01960857582092285,
0.018713600158691408,
0.020770816802978515,
0.01966694450378418,
0.02016873550415039,
0.019890144348144533,
0.019709951400756837,
0.01965465545654297,
0.019647487640380858,
0.01960038375854492,
0.019615743637084963,
0.01963417625427246,
0.019137535095214844,
0.01963724708557129,
0.019700735092163087,
0.01964031982421875,
0.01966182327270508,
0.01962700843811035,
0.0196177921295166,
0.01965056037902832,
0.01982464027404785,
0.019566591262817384,
0.0192491512298584,
0.018707456588745116,
0.018689023971557618,
0.019388416290283202,
0.019555328369140625,
0.019338239669799806,
0.019520511627197267,
0.0194467830657959,
0.019539968490600586,
0.019631103515625,
0.01864806365966797,
0.01901568031311035,
0.01966182327270508,
0.01965056037902832,
0.019780607223510743,
0.01970790481567383,
0.019316736221313476,
0.019490816116333007,
0.01982975959777832,
0.01961369514465332,
0.019595264434814453,
0.019629056930541993,
0.019298303604125978,
0.03985919952392578,
0.01942425537109375,
0.019449855804443358,
0.019337215423583985,
0.019208192825317383,
0.019139583587646485,
0.019305471420288087,
0.019522560119628905,
0.019509248733520508,
0.019153919219970703,
0.01960550308227539,
0.01957683181762695,
0.020156415939331054,
0.01939148712158203,
0.01944780731201172,
0.019173376083374022,
0.019519487380981446,
0.01944883155822754,
0.019518463134765626,
0.01963520050048828,
0.019556352615356445,
0.019514368057250975,
0.019532800674438477,
0.0194703369140625,
0.01921331214904785,
0.019375104904174805,
0.01947750473022461,
0.01942323112487793,
0.019516416549682617,
0.019577856063842772,
0.019567615509033204,
0.019564544677734375,
0.019504127502441407,
0.01959321594238281,
0.019560447692871095,
0.019184640884399414,
0.01883033561706543,
0.019204095840454103,
0.019186687469482423,
0.019314687728881837,
0.019508224487304687,
0.019224576950073242,
0.019531776428222656,
0.019577856063842772,
0.01949286460876465,
0.019991552352905274,
0.01960038375854492,
0.01944576072692871,
0.019201087951660156,
0.019430335998535157,
0.019539968490600586,
0.019562496185302734,
0.019526655197143555,
0.019550207138061524,
0.019483648300170898,
0.01947340774536133,
0.019537919998168944,
0.019610624313354492,
0.019580928802490235,
0.01968230438232422,
0.019695615768432616,
0.01985228729248047,
0.020033536911010744,
0.019759103775024413,
0.019733503341674806,
0.01970790481567383,
0.01966796875,
0.019641408920288084,
0.019673023223876953,
0.019587072372436523,
0.019688447952270507,
0.019681280136108398,
0.01960857582092285,
0.0196495361328125,
0.01963827133178711,
0.019598335266113282,
0.01959219169616699,
0.019587072372436523,
0.019534847259521485,
0.01959321594238281,
0.018699296951293944,
0.01863471984863281,
0.018661376953125,
0.018647039413452148,
0.018761728286743166,
0.01868083190917969,
0.018717695236206054,
0.01868083190917969,
0.018735103607177735,
0.01866035270690918,
0.018704383850097657,
0.018697216033935548,
0.018678783416748047,
0.01865727996826172,
0.01864192008972168,
0.018678783416748047,
0.018722816467285155,
0.01866854476928711,
0.018740224838256835,
0.01864396858215332,
0.018711551666259766,
0.018654207229614257,
0.018774015426635742,
0.018771968841552734,
0.018771968841552734,
0.018670591354370117,
0.018675712585449217,
0.018704383850097657,
0.01865830421447754,
0.018684928894042968,
0.018669567108154296,
0.018732032775878905,
0.01868083190917969,
0.01863884735107422,
0.018709503173828124,
0.018737152099609376,
0.019730432510375977,
0.019546112060546874,
0.019553279876708983,
0.018721792221069337,
0.01868083190917969,
0.01868185615539551,
0.01866649627685547,
0.019500032424926757,
0.020032512664794923,
0.019957759857177734,
0.019693567276000978
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.14368043822889
},
"energy": null,
"efficiency": null
}
}
}