hf-transformers-bot's picture
Upload folder using huggingface_hub
68163e0 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": "static",
"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.217-205.860.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": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
"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": 1762.97984,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5036.936192
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.04496758270263672,
"mean": 0.02248379135131836,
"stdev": 0.0006636962890625014,
"p50": 0.02248379135131836,
"p90": 0.02301474838256836,
"p95": 0.02308111801147461,
"p99": 0.02313421371459961,
"values": [
0.02314748764038086,
0.021820095062255858
]
},
"throughput": {
"unit": "tokens/s",
"value": 311.3353922664626
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1762.992128,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5036.936704
},
"latency": {
"unit": "s",
"count": 2,
"total": 5.2117238769531244,
"mean": 2.6058619384765622,
"stdev": 0.01131042480468758,
"p50": 2.6058619384765622,
"p90": 2.6149102783203126,
"p95": 2.616041320800781,
"p99": 2.6169461547851562,
"values": [
2.61717236328125,
2.594551513671875
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.736273447489964
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 5.212047351837159,
"mean": 0.020600977675245685,
"stdev": 0.0014345971755824,
"p50": 0.020485120773315428,
"p90": 0.02124193229675293,
"p95": 0.021464269256591794,
"p99": 0.02180165618896484,
"values": [
0.021926912307739257,
0.021544960021972655,
0.021582847595214845,
0.020802560806274413,
0.020731903076171874,
0.021089279174804687,
0.02145075225830078,
0.021140480041503908,
0.020599807739257812,
0.020847616195678712,
0.02086297607421875,
0.0204769287109375,
0.021151744842529296,
0.02168934440612793,
0.021916671752929686,
0.021340160369873046,
0.021380096435546874,
0.021355520248413085,
0.021372928619384765,
0.021283840179443358,
0.021235712051391603,
0.02057318305969238,
0.020582399368286132,
0.02105855941772461,
0.02128895950317383,
0.020757503509521484,
0.021695487976074217,
0.021544960021972655,
0.02148454475402832,
0.021400575637817384,
0.021150720596313476,
0.02123776054382324,
0.021621759414672852,
0.021539840698242187,
0.021128192901611328,
0.02123776054382324,
0.02124297523498535,
0.021157791137695312,
0.02042470359802246,
0.020890623092651366,
0.021218303680419923,
0.020961280822753905,
0.020468736648559572,
0.020485120773315428,
0.020307968139648438,
0.020323328018188477,
0.020351999282836913,
0.020166656494140626,
0.020017152786254884,
0.019954687118530275,
0.02002739143371582,
0.019962879180908204,
0.019981311798095702,
0.019975168228149414,
0.020091903686523437,
0.019998720169067383,
0.0202106876373291,
0.020359199523925783,
0.020381664276123045,
0.020357120513916017,
0.020358144760131838,
0.020373504638671876,
0.020331520080566406,
0.020360191345214843,
0.020364288330078126,
0.020330495834350586,
0.020389888763427736,
0.020382720947265624,
0.020379648208618165,
0.02032640075683594,
0.020511743545532226,
0.0204083194732666,
0.02048204803466797,
0.020348928451538087,
0.020380672454833985,
0.020347904205322266,
0.020971519470214844,
0.021403648376464843,
0.021136383056640624,
0.021340160369873046,
0.021204992294311522,
0.020798463821411133,
0.020057088851928712,
0.020149248123168945,
0.020682752609252928,
0.020727807998657227,
0.020677631378173827,
0.020669439315795898,
0.02065407943725586,
0.02066022491455078,
0.020711423873901368,
0.020722688674926756,
0.020684799194335936,
0.02064793586730957,
0.02063155174255371,
0.02004991912841797,
0.020075519561767577,
0.020082687377929686,
0.02002943992614746,
0.019979263305664064,
0.020032512664794923,
0.020016128540039063,
0.02001817512512207,
0.02003455924987793,
0.02004684829711914,
0.020180992126464844,
0.020603904724121092,
0.02050662422180176,
0.02043187141418457,
0.020447231292724608,
0.01970790481567383,
0.01978982353210449,
0.019778560638427735,
0.01963007926940918,
0.019979263305664064,
0.020118528366088868,
0.020023296356201172,
0.01999564743041992,
0.020001792907714845,
0.020001792907714845,
0.020040704727172853,
0.019962879180908204,
0.020051967620849608,
0.019983360290527344,
0.02001203155517578,
0.02002739143371582,
0.04199423980712891,
0.02002739143371582,
0.02001817512512207,
0.020116479873657226,
0.020024320602416993,
0.019943424224853516,
0.019963903427124022,
0.019952640533447266,
0.019956735610961913,
0.02002739143371582,
0.019917823791503905,
0.019963903427124022,
0.019998720169067383,
0.019959808349609375,
0.020098047256469728,
0.02051584053039551,
0.020371456146240235,
0.02045952033996582,
0.020406272888183592,
0.020568063735961914,
0.020371456146240235,
0.02046976089477539,
0.020316160202026368,
0.02060697555541992,
0.020513792037963868,
0.02027008056640625,
0.0200898551940918,
0.020068351745605468,
0.019976192474365235,
0.020813823699951172,
0.020706304550170897,
0.02065407943725586,
0.02000383949279785,
0.01998847961425781,
0.020575231552124023,
0.020695039749145508,
0.021556224822998047,
0.021409791946411134,
0.020806655883789063,
0.02084454345703125,
0.02067148780822754,
0.02066431999206543,
0.020708351135253905,
0.020552703857421875,
0.020714496612548827,
0.020710399627685547,
0.020661247253417968,
0.020792320251464845,
0.021137407302856445,
0.020737024307250978,
0.02069811248779297,
0.02067251205444336,
0.02067046356201172,
0.02067865562438965,
0.02063155174255371,
0.020722688674926756,
0.02067865562438965,
0.020726783752441406,
0.020740095138549804,
0.020824064254760744,
0.020695039749145508,
0.020952064514160155,
0.020718591690063477,
0.020916223526000977,
0.020900863647460938,
0.021222400665283202,
0.02026188850402832,
0.020100095748901366,
0.020818944931030273,
0.020938751220703124,
0.021527551651000978,
0.02019327926635742,
0.02003558349609375,
0.02007961654663086,
0.020170751571655272,
0.020763647079467772,
0.02065510368347168,
0.020587520599365236,
0.01998847961425781,
0.019983360290527344,
0.019966976165771484,
0.020025344848632814,
0.020676607131958007,
0.02065100860595703,
0.020546560287475587,
0.020618240356445314,
0.020794368743896483,
0.020716543197631835,
0.020016128540039063,
0.020048896789550782,
0.02008883285522461,
0.02007142448425293,
0.01998028755187988,
0.02004172706604004,
0.019978239059448243,
0.020025344848632814,
0.019954687118530275,
0.02001919937133789,
0.019946495056152345,
0.019997695922851562,
0.019970048904418947,
0.02000383949279785,
0.019933183670043944,
0.019957759857177734,
0.019947519302368166,
0.019973119735717772,
0.019957759857177734,
0.02065407943725586,
0.021352447509765626,
0.020956159591674805,
0.020968448638916014,
0.02069606399536133,
0.020633600234985353,
0.020740095138549804,
0.02070425605773926,
0.02083737564086914,
0.020716543197631835,
0.02103091239929199,
0.01983590316772461,
0.019803136825561524,
0.01999564743041992,
0.020025344848632814,
0.019977216720581056,
0.02011955261230469,
0.021001216888427734,
0.020711423873901368,
0.02080460739135742
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.54138554800769
},
"energy": null,
"efficiency": null
}
}
}