hf-transformers-bot's picture
Upload folder using huggingface_hub
bc8b69b 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-211.872.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": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
"accelerate_version": "0.34.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": 1318.494208,
"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.415380859375,
"mean": 11.415380859375,
"stdev": 0.0,
"p50": 11.415380859375,
"p90": 11.415380859375,
"p95": 11.415380859375,
"p99": 11.415380859375,
"values": [
11.415380859375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1713.262592,
"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.04120265579223632,
"mean": 0.02060132789611816,
"stdev": 0.00014081573486328207,
"p50": 0.02060132789611816,
"p90": 0.020713980484008788,
"p95": 0.020728062057495118,
"p99": 0.02073932731628418,
"values": [
0.020742143630981445,
0.02046051216125488
]
},
"throughput": {
"unit": "tokens/s",
"value": 339.78392243924173
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1767.333888,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5031.801344
},
"latency": {
"unit": "s",
"count": 2,
"total": 4.90454150390625,
"mean": 2.452270751953125,
"stdev": 0.01503124999999983,
"p50": 2.452270751953125,
"p90": 2.464295751953125,
"p95": 2.4657988769531247,
"p99": 2.467001376953125,
"values": [
2.467302001953125,
2.437239501953125
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.78873495059635
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 254,
"total": 4.904195070266719,
"mean": 0.019307854607349306,
"stdev": 0.00036247550552472534,
"p50": 0.019407872200012208,
"p90": 0.01966336078643799,
"p95": 0.019793562507629394,
"p99": 0.02029118501663208,
"values": [
0.019293184280395507,
0.019331071853637697,
0.0194201602935791,
0.019308544158935546,
0.019376127243041993,
0.0194334716796875,
0.019339263916015623,
0.01943449592590332,
0.01943142318725586,
0.019353599548339845,
0.01880473518371582,
0.0188538875579834,
0.018784255981445314,
0.018757631301879883,
0.019347455978393553,
0.01901055908203125,
0.019078144073486326,
0.01943244743347168,
0.019381248474121093,
0.018905088424682616,
0.01939558410644531,
0.01945292854309082,
0.019361791610717775,
0.019603456497192383,
0.019339263916015623,
0.01941196823120117,
0.01960960006713867,
0.01939455986022949,
0.019566591262817384,
0.01945292854309082,
0.019506175994873046,
0.019401727676391603,
0.019351551055908203,
0.019561471939086913,
0.01944473648071289,
0.019386367797851564,
0.01963827133178711,
0.01947238349914551,
0.01881088066101074,
0.01898700714111328,
0.019517440795898438,
0.019500032424926757,
0.019519487380981446,
0.019309568405151366,
0.019158016204833983,
0.019386367797851564,
0.019359743118286133,
0.01942118453979492,
0.019343360900878907,
0.019360767364501954,
0.01880985641479492,
0.01879859161376953,
0.019547136306762695,
0.01941196823120117,
0.019535871505737306,
0.019408895492553712,
0.018790399551391602,
0.018948095321655273,
0.01884979248046875,
0.019514368057250975,
0.019602432250976562,
0.019573759078979493,
0.01889587211608887,
0.018991104125976564,
0.01882828712463379,
0.018894847869873048,
0.019907583236694337,
0.019713024139404296,
0.019877887725830077,
0.01964646339416504,
0.01948467254638672,
0.01962393569946289,
0.019517440795898438,
0.019706880569458008,
0.019701759338378907,
0.019606527328491212,
0.019610624313354492,
0.019710975646972655,
0.019511295318603517,
0.019499008178710937,
0.019760128021240234,
0.020163583755493163,
0.019736576080322265,
0.019451904296875,
0.018851839065551757,
0.0188538875579834,
0.018912256240844725,
0.019150848388671874,
0.01965260887145996,
0.01949286460876465,
0.019481599807739256,
0.019489791870117186,
0.019552255630493166,
0.01948467254638672,
0.01946112060546875,
0.019559423446655275,
0.019406848907470704,
0.01960960006713867,
0.019563520431518554,
0.019396608352661132,
0.019580928802490235,
0.019628032684326172,
0.019494911193847657,
0.019523584365844726,
0.01945907211303711,
0.0195020809173584,
0.01944988822937012,
0.019567583084106447,
0.019536895751953123,
0.019594240188598632,
0.01962598419189453,
0.01947340774536133,
0.019527679443359376,
0.019542015075683594,
0.019532800674438477,
0.019501056671142578,
0.019680255889892577,
0.019742719650268553,
0.019547136306762695,
0.019486719131469727,
0.01982259178161621,
0.020065280914306642,
0.019703807830810546,
0.02025984001159668,
0.02045337677001953,
0.019571712493896484,
0.019594240188598632,
0.018713600158691408,
0.018677759170532226,
0.019483648300170898,
0.01948876762390137,
0.019352575302124024,
0.019384319305419923,
0.019533824920654298,
0.019512319564819337,
0.019819520950317384,
0.019555328369140625,
0.018770944595336913,
0.019487743377685548,
0.01943756866455078,
0.01943552017211914,
0.018961408615112304,
0.0190248966217041,
0.019358720779418945,
0.019408895492553712,
0.01943961524963379,
0.0202608642578125,
0.01945292854309082,
0.019462207794189453,
0.019409856796264648,
0.019495935440063478,
0.01943142318725586,
0.019342336654663086,
0.019583999633789064,
0.019483648300170898,
0.018785280227661134,
0.018873344421386717,
0.019475456237792968,
0.019361791610717775,
0.019354623794555666,
0.01945599937438965,
0.018897920608520507,
0.018886655807495118,
0.018710527420043945,
0.019364864349365234,
0.019384319305419923,
0.018890752792358398,
0.01882521629333496,
0.01966796875,
0.019500032424926757,
0.018738176345825194,
0.019288063049316406,
0.01902796745300293,
0.019527679443359376,
0.019596288681030274,
0.019337215423583985,
0.019360767364501954,
0.019301376342773437,
0.019481599807739256,
0.019481599807739256,
0.019344383239746094,
0.01941606330871582,
0.018719743728637696,
0.018732032775878905,
0.018882560729980468,
0.018912256240844725,
0.019570688247680663,
0.019520511627197267,
0.01942732810974121,
0.019628032684326172,
0.020525056838989256,
0.02032537651062012,
0.019779584884643556,
0.019689472198486328,
0.019553279876708983,
0.019602432250976562,
0.019568639755249022,
0.019562496185302734,
0.019982336044311523,
0.02007040023803711,
0.019679231643676756,
0.019560447692871095,
0.01887027168273926,
0.018930688858032226,
0.01883340835571289,
0.018876415252685547,
0.018890752792358398,
0.018928640365600585,
0.018949119567871094,
0.018967552185058592,
0.01885798454284668,
0.019116031646728517,
0.018877439498901367,
0.018880512237548826,
0.01904640007019043,
0.018957311630249024,
0.01885081672668457,
0.01887948799133301,
0.01883955192565918,
0.01901055908203125,
0.0188590087890625,
0.01881804847717285,
0.018790399551391602,
0.018778112411499022,
0.01886412811279297,
0.01884569549560547,
0.018868223190307617,
0.019378175735473634,
0.01920921516418457,
0.018927616119384767,
0.01887027168273926,
0.018874368667602538,
0.01888768005371094,
0.01883955192565918,
0.019084287643432618,
0.018928640365600585,
0.018899967193603515,
0.018860031127929687,
0.018884607315063476,
0.01884160041809082,
0.01886720085144043,
0.018817024230957033,
0.018800640106201173,
0.01884774398803711,
0.018792448043823243,
0.018971647262573242,
0.018936832427978514,
0.018885631561279297,
0.01884262466430664,
0.01889587211608887,
0.018969600677490234,
0.01882931137084961,
0.01883750343322754,
0.019509248733520508
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.79239332055887
},
"energy": null,
"efficiency": null
}
}
}