hf-transformers-bot's picture
Upload folder using huggingface_hub
5745c6e 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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.43.0.dev0",
"transformers_commit": "e65502951593a76844e872fee9c56b805598538a",
"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": 1715.412992,
"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.04029376029968262,
"mean": 0.02014688014984131,
"stdev": 0.0003953275680541983,
"p50": 0.02014688014984131,
"p90": 0.020463142204284666,
"p95": 0.020502674961090088,
"p99": 0.020534301166534423,
"values": [
0.020542207717895507,
0.01975155258178711
]
},
"throughput": {
"unit": "tokens/s",
"value": 347.44833681135174
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1715.503104,
"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.8722958984375,
"mean": 2.43614794921875,
"stdev": 0.02306835937500007,
"p50": 2.43614794921875,
"p90": 2.45460263671875,
"p95": 2.45690947265625,
"p99": 2.45875494140625,
"values": [
2.45921630859375,
2.41307958984375
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.1314807833111
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.872116155624389,
"mean": 0.01925737610918731,
"stdev": 0.001290441125465919,
"p50": 0.01902284812927246,
"p90": 0.01986088943481445,
"p95": 0.020006502151489258,
"p99": 0.020401203155517578,
"values": [
0.020478912353515625,
0.020585472106933594,
0.02003763198852539,
0.019964927673339843,
0.020123647689819335,
0.019861503601074217,
0.019954687118530275,
0.019768320083618163,
0.020197376251220703,
0.019773439407348634,
0.019947519302368166,
0.019998720169067383,
0.019924991607666014,
0.01983283233642578,
0.02016972732543945,
0.02009600067138672,
0.02001817512512207,
0.019803136825561524,
0.01981644821166992,
0.01994553565979004,
0.019880895614624024,
0.019726335525512697,
0.019615743637084963,
0.01985843276977539,
0.019741695404052736,
0.01967411231994629,
0.0196495361328125,
0.019744768142700195,
0.02007142448425293,
0.020148223876953125,
0.019983360290527344,
0.019977216720581056,
0.019976192474365235,
0.019922943115234376,
0.019870719909667968,
0.01982771110534668,
0.020214784622192384,
0.01965260887145996,
0.019748863220214845,
0.019749887466430666,
0.01982156753540039,
0.01983180809020996,
0.019664896011352538,
0.019619840621948242,
0.019755008697509766,
0.019487743377685548,
0.01965260887145996,
0.01960550308227539,
0.019596288681030274,
0.019169279098510742,
0.01887846374511719,
0.01882521629333496,
0.018920448303222655,
0.018885631561279297,
0.01883750343322754,
0.01884774398803711,
0.019094528198242186,
0.019084287643432618,
0.01905766487121582,
0.0190699520111084,
0.01901875114440918,
0.01903104019165039,
0.019122175216674805,
0.019006464004516603,
0.01906380844116211,
0.019054592132568358,
0.01906073570251465,
0.019054592132568358,
0.01902694320678711,
0.01906175994873047,
0.018983936309814452,
0.01903411293029785,
0.019017728805541992,
0.01902387237548828,
0.018983936309814452,
0.019151872634887695,
0.01901875114440918,
0.01900441551208496,
0.019005439758300782,
0.018967552185058592,
0.01901055908203125,
0.018939903259277344,
0.018989055633544923,
0.01921433639526367,
0.019014656066894533,
0.019145727157592773,
0.0190382080078125,
0.018951168060302736,
0.018977792739868164,
0.019058687210083008,
0.019062784194946288,
0.01903615951538086,
0.01908940887451172,
0.019304447174072266,
0.01906790351867676,
0.019017728805541992,
0.018966527938842775,
0.018961408615112304,
0.01903308868408203,
0.018998271942138673,
0.01902284812927246,
0.01907711982727051,
0.019009536743164062,
0.0191016960144043,
0.01903615951538086,
0.019207168579101562,
0.01904128074645996,
0.01907711982727051,
0.018985984802246093,
0.018962432861328125,
0.019083263397216797,
0.019106815338134766,
0.01900851249694824,
0.01899622344970703,
0.018982912063598634,
0.019005439758300782,
0.019009536743164062,
0.018956287384033203,
0.0190699520111084,
0.019040319442749025,
0.01895417594909668,
0.01901158332824707,
0.018965503692626954,
0.018975744247436522,
0.018945024490356444,
0.019006464004516603,
0.038831104278564454,
0.018914304733276367,
0.0188538875579834,
0.018869247436523438,
0.01883545684814453,
0.018860063552856444,
0.0188702392578125,
0.01887948799133301,
0.01883443260192871,
0.018917375564575196,
0.01904742431640625,
0.018956287384033203,
0.01903001594543457,
0.018937856674194335,
0.018894847869873048,
0.018918399810791017,
0.018889728546142577,
0.01883545684814453,
0.018940927505493164,
0.018911231994628908,
0.01884671974182129,
0.01899212837219238,
0.0190382080078125,
0.018876415252685547,
0.01883647918701172,
0.018856960296630858,
0.018817024230957033,
0.018840576171875,
0.018883583068847656,
0.01900748825073242,
0.01887539291381836,
0.018900991439819336,
0.01883647918701172,
0.01898700714111328,
0.018963455200195312,
0.0188723201751709,
0.018916351318359375,
0.018945024490356444,
0.01887027168273926,
0.019062784194946288,
0.020329471588134765,
0.019212287902832033,
0.01902899169921875,
0.018865152359008788,
0.01881497573852539,
0.01878937530517578,
0.018896896362304686,
0.018902015686035157,
0.01887846374511719,
0.018934783935546876,
0.01881497573852539,
0.018868223190307617,
0.018951168060302736,
0.018985984802246093,
0.01903001594543457,
0.01900748825073242,
0.018888704299926756,
0.01900032043457031,
0.019017728805541992,
0.019100671768188478,
0.01900851249694824,
0.019019775390625,
0.01922047996520996,
0.019297279357910157,
0.01903308868408203,
0.019021823883056642,
0.018997247695922852,
0.019021823883056642,
0.019092479705810548,
0.019056640625,
0.0190699520111084,
0.01967001533508301,
0.019288063049316406,
0.01908940887451172,
0.018969600677490234,
0.018967552185058592,
0.019005439758300782,
0.01903308868408203,
0.018990079879760743,
0.01904128074645996,
0.018961408615112304,
0.018988031387329102,
0.01904947280883789,
0.018988031387329102,
0.018959360122680666,
0.01904947280883789,
0.01903104019165039,
0.019074047088623047,
0.019292160034179686,
0.019115007400512696,
0.019013631820678712,
0.01900032043457031,
0.01903206443786621,
0.018981887817382814,
0.01905971145629883,
0.01904537582397461,
0.01905561637878418,
0.01901670455932617,
0.018967552185058592,
0.01899519920349121,
0.01904742431640625,
0.018937856674194335,
0.01923174476623535,
0.019082239151000976,
0.018966527938842775,
0.01903308868408203,
0.01904332733154297,
0.01900441551208496,
0.01903206443786621,
0.018958335876464845,
0.018982912063598634,
0.018968576431274413,
0.01926655960083008,
0.019006464004516603,
0.01920102310180664,
0.018964479446411133,
0.018938880920410156,
0.01899929618835449,
0.018998271942138673,
0.01901055908203125,
0.0190515193939209,
0.01900851249694824,
0.018968576431274413,
0.018985984802246093,
0.019072000503540038,
0.018988031387329102,
0.018976768493652343
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.92815440328446
},
"energy": null,
"efficiency": null
}
}
}