hf-transformers-bot's picture
Upload folder using huggingface_hub
cb8bde1 verified
{
"config": {
"name": "pytorch_generate",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gemma",
"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": {},
"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,
"memory": true,
"latency": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0.dev0",
"transformers_commit": "ecd61c62862f925a18b4f063dc17fcaf01826e25",
"accelerate_version": "0.35.0.dev0",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": "1.22.0.dev0",
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": "0.12.1.dev0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1320.685568,
"max_global_vram": 6768.033792,
"max_process_vram": 0.0,
"max_reserved": 6138.363904,
"max_allocated": 6060.931072
},
"latency": {
"unit": "s",
"count": 1,
"total": 11.590453125,
"mean": 11.590453125,
"stdev": 0.0,
"p50": 11.590453125,
"p90": 11.590453125,
"p95": 11.590453125,
"p99": 11.590453125,
"values": [
11.590453125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1717.129216,
"max_global_vram": 6789.005312,
"max_process_vram": 0.0,
"max_reserved": 6142.558208,
"max_allocated": 5028.431872
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.04132208061218262,
"mean": 0.02066104030609131,
"stdev": 3.377628326415964e-05,
"p50": 0.02066104030609131,
"p90": 0.020688061332702637,
"p95": 0.02069143896102905,
"p99": 0.020694141063690184,
"values": [
0.02062726402282715,
0.02069481658935547
]
},
"throughput": {
"unit": "tokens/s",
"value": 338.80191395475146
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1771.474944,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5031.801344
},
"latency": {
"unit": "s",
"count": 2,
"total": 5.01264453125,
"mean": 2.506322265625,
"stdev": 0.0009145507812500231,
"p50": 2.506322265625,
"p90": 2.50705390625,
"p95": 2.507145361328125,
"p99": 2.507218525390625,
"values": [
2.50540771484375,
2.50723681640625
]
},
"throughput": {
"unit": "tokens/s",
"value": 50.67185562760425
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 254,
"total": 5.012325365066527,
"mean": 0.01973356442939578,
"stdev": 0.00037922925849322343,
"p50": 0.01986457633972168,
"p90": 0.02008801212310791,
"p95": 0.02016040916442871,
"p99": 0.020493373069763184,
"values": [
0.019094528198242186,
0.0194969596862793,
0.01984614372253418,
0.0200263671875,
0.019143680572509765,
0.019215360641479492,
0.019153919219970703,
0.01920614433288574,
0.01920921516418457,
0.019168256759643554,
0.01920614433288574,
0.019134464263916014,
0.019143680572509765,
0.019170303344726563,
0.019158016204833983,
0.019185663223266602,
0.019940351486206053,
0.019340288162231444,
0.01920204734802246,
0.01921023941040039,
0.01925119972229004,
0.019672063827514647,
0.019862527847290038,
0.01985843276977539,
0.01983795166015625,
0.019826688766479493,
0.01987379264831543,
0.019819520950317384,
0.01985638427734375,
0.01986457633972168,
0.01987174415588379,
0.019150848388671874,
0.019143680572509765,
0.019215360641479492,
0.019184640884399414,
0.019176448822021484,
0.019174400329589843,
0.019172351837158205,
0.019191808700561523,
0.019195903778076173,
0.01922867202758789,
0.019297279357910157,
0.01963212776184082,
0.01926144027709961,
0.019194879531860352,
0.01922559928894043,
0.01919692802429199,
0.019251232147216798,
0.019208160400390625,
0.01923583984375,
0.019711999893188475,
0.02042470359802246,
0.02016972732543945,
0.019915775299072267,
0.019870719909667968,
0.01998028755187988,
0.019910655975341796,
0.020101119995117187,
0.020699136734008788,
0.020196352005004883,
0.020060159683227538,
0.019336191177368164,
0.019302400588989257,
0.019277824401855468,
0.019732479095458985,
0.019991552352905274,
0.019298303604125978,
0.019901439666748046,
0.019292160034179686,
0.019294208526611328,
0.01929113578796387,
0.019302400588989257,
0.019587072372436523,
0.0200898551940918,
0.020007936477661133,
0.019908607482910155,
0.019990528106689453,
0.019976192474365235,
0.019973119735717772,
0.019907583236694337,
0.020063232421875,
0.02022502326965332,
0.020067327499389647,
0.01999564743041992,
0.019998720169067383,
0.019974143981933593,
0.019958784103393554,
0.019934207916259765,
0.019977216720581056,
0.02003558349609375,
0.020135936737060548,
0.019914751052856446,
0.019992576599121094,
0.019986431121826173,
0.020546560287475587,
0.020118528366088868,
0.019952640533447266,
0.019970048904418947,
0.01998847961425781,
0.02031718444824219,
0.019951616287231445,
0.019981311798095702,
0.019969024658203126,
0.019994623184204103,
0.02009600067138672,
0.02006630325317383,
0.02001408004760742,
0.020009983062744142,
0.02004172706604004,
0.019950592041015625,
0.020124671936035156,
0.019973119735717772,
0.019937280654907227,
0.019983360290527344,
0.019947519302368166,
0.019955711364746095,
0.019986431121826173,
0.020002815246582033,
0.020369407653808593,
0.019973119735717772,
0.019956735610961913,
0.02012057685852051,
0.020025344848632814,
0.02003865623474121,
0.019983360290527344,
0.019937280654907227,
0.02001919937133789,
0.019779584884643556,
0.019763200759887696,
0.019883007049560548,
0.019963903427124022,
0.0198287353515625,
0.019810304641723633,
0.01984511947631836,
0.019975168228149414,
0.01979801559448242,
0.019773439407348634,
0.019792896270751953,
0.01978265571594238,
0.019900415420532228,
0.019951616287231445,
0.01986867141723633,
0.01982156753540039,
0.01980620765686035,
0.01986457633972168,
0.019533824920654298,
0.019286016464233398,
0.019530752182006835,
0.019937280654907227,
0.019842048645019532,
0.01982464027404785,
0.019842048645019532,
0.019854335784912108,
0.019922943115234376,
0.020155391693115234,
0.01992192077636719,
0.019896320343017578,
0.01983795166015625,
0.0198287353515625,
0.01980620765686035,
0.01979801559448242,
0.01920102310180664,
0.01922662353515625,
0.01940787124633789,
0.019877887725830077,
0.019810304641723633,
0.01984921646118164,
0.02042572784423828,
0.01984511947631836,
0.01988812828063965,
0.01983897590637207,
0.019939327239990236,
0.019992576599121094,
0.019940351486206053,
0.020446207046508787,
0.019355648040771483,
0.01925119972229004,
0.019269632339477538,
0.019212287902832033,
0.01924300765991211,
0.019152896881103516,
0.019280895233154297,
0.019159040451049804,
0.019166271209716798,
0.019303359985351563,
0.019332096099853514,
0.019338239669799806,
0.019307519912719725,
0.019334144592285156,
0.019349504470825195,
0.019408895492553712,
0.019409919738769533,
0.019306495666503908,
0.019162111282348633,
0.019128320693969726,
0.01923379135131836,
0.019412992477416992,
0.019376127243041993,
0.020031488418579102,
0.019904512405395508,
0.019975168228149414,
0.019961856842041017,
0.01999667167663574,
0.020074495315551756,
0.020083711624145507,
0.020123647689819335,
0.020184064865112306,
0.02007756805419922,
0.020101119995117187,
0.019393535614013673,
0.019311616897583008,
0.019330047607421876,
0.019306495666503908,
0.019288063049316406,
0.019308544158935546,
0.019418111801147463,
0.01945702362060547,
0.019316736221313476,
0.01966796875,
0.019293184280395507,
0.019342336654663086,
0.019316736221313476,
0.019352575302124024,
0.02001203155517578,
0.020147199630737304,
0.02007756805419922,
0.02007347106933594,
0.020091903686523437,
0.020083711624145507,
0.020016128540039063,
0.02007244873046875,
0.02004275131225586,
0.020039680480957032,
0.020039680480957032,
0.020011007308959963,
0.019992576599121094,
0.02000588798522949,
0.020068351745605468,
0.019983360290527344,
0.020007936477661133,
0.020057088851928712,
0.020060159683227538,
0.019954687118530275,
0.019986431121826173,
0.019976192474365235,
0.019948543548583983,
0.02004991912841797,
0.0214466552734375,
0.020199424743652345,
0.020100095748901366,
0.019631103515625,
0.019563520431518554,
0.0192491512298584,
0.01925939178466797
]
},
"throughput": {
"unit": "tokens/s",
"value": 50.6750822223666
},
"energy": null,
"efficiency": null
}
}
}