hf-transformers-bot's picture
Upload folder using huggingface_hub
b378100 verified
raw
history blame
17 kB
{
"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": "a51a3fbc4827db26e896292b6409246fe8152cd4",
"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": 1739.145216,
"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.03906150245666504,
"mean": 0.01953075122833252,
"stdev": 0.0002228479385375983,
"p50": 0.01953075122833252,
"p90": 0.0197090295791626,
"p95": 0.019731314373016357,
"p99": 0.019749142208099365,
"values": [
0.01975359916687012,
0.019307903289794922
]
},
"throughput": {
"unit": "tokens/s",
"value": 358.4091527337344
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1739.18208,
"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.7793039550781256,
"mean": 2.3896519775390628,
"stdev": 0.00408459472656264,
"p50": 2.3896519775390628,
"p90": 2.3929196533203125,
"p95": 2.393328112792969,
"p99": 2.393654880371094,
"values": [
2.3855673828125,
2.393736572265625
]
},
"throughput": {
"unit": "tokens/s",
"value": 53.14581419960094
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.779476997375489,
"mean": 0.01889121342836161,
"stdev": 0.0012441678618480634,
"p50": 0.018684928894042968,
"p90": 0.01933967361450195,
"p95": 0.0194596866607666,
"p99": 0.019907501678466798,
"values": [
0.01986867141723633,
0.01901158332824707,
0.018514944076538087,
0.01844428825378418,
0.018447359085083007,
0.01848320007324219,
0.018506752014160157,
0.01844428825378418,
0.018543615341186523,
0.018512895584106445,
0.018498559951782227,
0.018513919830322266,
0.01862758445739746,
0.018489343643188477,
0.018524160385131837,
0.01843302345275879,
0.018519039154052733,
0.018765823364257812,
0.01860403251647949,
0.018566144943237304,
0.01850060844421387,
0.018524160385131837,
0.018508800506591795,
0.018510847091674804,
0.018551807403564453,
0.0184770565032959,
0.018527231216430663,
0.019532800674438477,
0.01948057556152344,
0.01862553596496582,
0.019138559341430664,
0.019131391525268555,
0.018581504821777343,
0.018537471771240235,
0.018573312759399413,
0.018564096450805666,
0.01860095977783203,
0.018536447525024414,
0.018537471771240235,
0.018543615341186523,
0.01856716728210449,
0.018536447525024414,
0.018547712326049806,
0.018543615341186523,
0.018561023712158203,
0.018552831649780274,
0.018897920608520507,
0.019412992477416992,
0.019200000762939453,
0.01902079963684082,
0.019315711975097655,
0.019345407485961915,
0.018940927505493164,
0.018981887817382814,
0.018922496795654296,
0.019143680572509765,
0.01866547203063965,
0.018684928894042968,
0.018594816207885743,
0.01861427116394043,
0.018914304733276367,
0.01959321594238281,
0.019260416030883788,
0.018807807922363282,
0.018685951232910156,
0.018634752273559572,
0.018742271423339844,
0.018588672637939452,
0.018692096710205077,
0.0186296329498291,
0.018671615600585938,
0.01860915184020996,
0.0186429443359375,
0.018748416900634765,
0.018667520523071288,
0.018700288772583007,
0.018669567108154296,
0.018740224838256835,
0.018699264526367186,
0.018689023971557618,
0.018727935791015626,
0.01878937530517578,
0.018752511978149415,
0.018709503173828124,
0.018678783416748047,
0.018707456588745116,
0.018704383850097657,
0.018731008529663085,
0.018715648651123046,
0.018889759063720705,
0.018770912170410155,
0.018647039413452148,
0.01864908790588379,
0.018676736831665038,
0.018659328460693358,
0.018659328460693358,
0.018723840713500976,
0.018727935791015626,
0.01864499282836914,
0.01867366409301758,
0.018766847610473633,
0.01998028755187988,
0.019373056411743163,
0.019329023361206055,
0.018701311111450195,
0.018651136398315428,
0.0186429443359375,
0.018671615600585938,
0.018776063919067384,
0.018699264526367186,
0.01868185615539551,
0.01962393569946289,
0.018684928894042968,
0.018678783416748047,
0.018930688858032226,
0.018710527420043945,
0.018752511978149415,
0.01879756736755371,
0.01881907272338867,
0.01925324821472168,
0.019369983673095705,
0.019398656845092774,
0.019337215423583985,
0.019336223602294922,
0.01871766471862793,
0.018755584716796874,
0.03796582412719727,
0.018486272811889647,
0.019139583587646485,
0.018507776260375978,
0.018585599899291993,
0.018580480575561522,
0.018559999465942383,
0.018537471771240235,
0.018538496017456055,
0.018968576431274413,
0.018527231216430663,
0.018541568756103514,
0.01864089584350586,
0.018588672637939452,
0.01861324882507324,
0.01865830421447754,
0.018701311111450195,
0.018580575942993165,
0.019162015914916994,
0.018581504821777343,
0.01860505676269531,
0.01860915184020996,
0.018580480575561522,
0.018946048736572265,
0.019192832946777344,
0.019198976516723632,
0.019136512756347656,
0.019949567794799804,
0.01942118453979492,
0.01968332862854004,
0.019296255111694336,
0.018560064315795897,
0.01853843116760254,
0.018651136398315428,
0.018669567108154296,
0.01862451171875,
0.018554880142211915,
0.018571264266967775,
0.018557952880859374,
0.01855897521972656,
0.018807807922363282,
0.0186296329498291,
0.018689023971557618,
0.01864089584350586,
0.018990079879760743,
0.019331071853637697,
0.01861324882507324,
0.018523136138916017,
0.018561023712158203,
0.018530303955078126,
0.01861529541015625,
0.01855897521972656,
0.018555904388427736,
0.01859993553161621,
0.018524160385131837,
0.019128320693969726,
0.019105791091918945,
0.01923583984375,
0.018747392654418944,
0.01880473518371582,
0.018945024490356444,
0.0192542724609375,
0.01884671974182129,
0.01879859161376953,
0.018678783416748047,
0.019149824142456053,
0.019332096099853514,
0.018738176345825194,
0.018757696151733397,
0.018823104858398436,
0.018682880401611326,
0.018699296951293944,
0.01863983917236328,
0.019127296447753905,
0.019542015075683594,
0.019481599807739256,
0.01944576072692871,
0.019368959426879884,
0.018807807922363282,
0.018714624404907225,
0.019808256149291992,
0.019280895233154297,
0.01942630386352539,
0.018719743728637696,
0.01924300765991211,
0.01867366409301758,
0.018678783416748047,
0.019136512756347656,
0.01939455986022949,
0.01959321594238281,
0.019381248474121093,
0.01938739204406738,
0.019340288162231444,
0.019315711975097655,
0.01865727996826172,
0.01880678367614746,
0.018702335357666015,
0.018774015426635742,
0.018692096710205077,
0.01864192008972168,
0.018709503173828124,
0.01863680076599121,
0.018727935791015626,
0.018619392395019533,
0.0186562557220459,
0.018662399291992187,
0.018695167541503906,
0.01864499282836914,
0.01868185615539551,
0.018646015167236327,
0.018663423538208008,
0.01861734390258789,
0.018717695236206054,
0.01863884735107422,
0.01863577651977539,
0.019094528198242186,
0.019168256759643554,
0.019159040451049804,
0.01920614433288574,
0.018669567108154296,
0.01864192008972168,
0.018714624404907225,
0.01884876823425293,
0.018667520523071288,
0.01861631965637207,
0.01863167953491211,
0.01863270378112793
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.9346621270335
},
"energy": null,
"efficiency": null
}
}
}