hf-transformers-bot's picture
Upload folder using huggingface_hub
148f5d8 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.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": "348e2294ac1a3cc744a93f04ab1f886439ee90d3",
"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": 1705.24672,
"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.04079094314575195,
"mean": 0.020395471572875974,
"stdev": 0.0005370082855224601,
"p50": 0.020395471572875974,
"p90": 0.020825078201293944,
"p95": 0.02087877902984619,
"p99": 0.02092173969268799,
"values": [
0.020932479858398436,
0.019858463287353516
]
},
"throughput": {
"unit": "tokens/s",
"value": 343.213442012752
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1705.271296,
"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.853116943359375,
"mean": 2.4265584716796873,
"stdev": 0.0074359130859373845,
"p50": 2.4265584716796873,
"p90": 2.4325072021484373,
"p95": 2.4332507934570313,
"p99": 2.433845666503906,
"values": [
2.41912255859375,
2.433994384765625
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.33749834682095
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.852438024520875,
"mean": 0.019179596934865113,
"stdev": 0.0012931213007423474,
"p50": 0.019135488510131835,
"p90": 0.019310387802124025,
"p95": 0.019495116424560546,
"p99": 0.020765777893066398,
"values": [
0.02121625518798828,
0.021309440612792968,
0.01882009506225586,
0.018487295150756835,
0.01941913604736328,
0.018508800506591795,
0.01855897521972656,
0.018570240020751954,
0.018480127334594726,
0.018530303955078126,
0.018541568756103514,
0.018535423278808593,
0.018473983764648438,
0.018540544509887694,
0.018506752014160157,
0.018571264266967775,
0.018705408096313478,
0.01882828712463379,
0.01860710334777832,
0.018530303955078126,
0.018505727767944336,
0.018503679275512695,
0.019418111801147463,
0.019536895751953123,
0.018561023712158203,
0.018501632690429686,
0.018513919830322266,
0.018577407836914063,
0.018549760818481444,
0.018542591094970702,
0.018552831649780274,
0.01856716728210449,
0.01849241638183594,
0.018494464874267577,
0.018556928634643553,
0.01863884735107422,
0.018588672637939452,
0.018534400939941405,
0.01919385528564453,
0.01959219169616699,
0.019430400848388672,
0.019487743377685548,
0.019506175994873046,
0.019418111801147463,
0.018551807403564453,
0.018479103088378905,
0.018610176086425782,
0.018869247436523438,
0.01923072052001953,
0.019430400848388672,
0.019084287643432618,
0.01900851249694824,
0.019021823883056642,
0.019066879272460938,
0.01909350395202637,
0.018975744247436522,
0.019156991958618166,
0.019131391525268555,
0.019153919219970703,
0.019142656326293944,
0.019155967712402345,
0.019180543899536134,
0.019080192565917968,
0.019173376083374022,
0.01923891258239746,
0.019137535095214844,
0.019216384887695313,
0.019174400329589843,
0.019149824142456053,
0.019179519653320314,
0.019161088943481445,
0.01922355270385742,
0.019132415771484376,
0.019121152877807617,
0.019125247955322267,
0.019156991958618166,
0.019141632080078123,
0.019150848388671874,
0.01908940887451172,
0.019149824142456053,
0.019207168579101562,
0.019124223709106446,
0.019146751403808594,
0.019168256759643554,
0.019117055892944337,
0.019173376083374022,
0.019110912322998046,
0.019133440017700197,
0.019121152877807617,
0.019212287902832033,
0.019183616638183593,
0.01922764778137207,
0.019211263656616212,
0.019105791091918945,
0.01942425537109375,
0.019168256759643554,
0.01909350395202637,
0.019119104385375976,
0.019102720260620116,
0.019146751403808594,
0.019172351837158205,
0.019347455978393553,
0.019137535095214844,
0.019056640625,
0.019139583587646485,
0.019149824142456053,
0.019135488510131835,
0.019128320693969726,
0.019143680572509765,
0.019103744506835937,
0.01916729545593262,
0.01911084747314453,
0.019163135528564454,
0.01925734329223633,
0.019171327590942384,
0.019280895233154297,
0.019150848388671874,
0.019136512756347656,
0.019166208267211913,
0.019161088943481445,
0.019143680572509765,
0.019156991958618166,
0.019079168319702147,
0.019150848388671874,
0.019156991958618166,
0.019133440017700197,
0.039002113342285157,
0.02024140739440918,
0.019364864349365234,
0.018981887817382814,
0.018959360122680666,
0.018965503692626954,
0.018970624923706055,
0.018982912063598634,
0.018959360122680666,
0.018967552185058592,
0.018976768493652343,
0.018976768493652343,
0.01899929618835449,
0.018993152618408202,
0.019017728805541992,
0.019149824142456053,
0.019535871505737306,
0.019092479705810548,
0.01904537582397461,
0.019140607833862306,
0.019134464263916014,
0.019148799896240236,
0.020141056060791016,
0.01947648048400879,
0.019133440017700197,
0.019109888076782225,
0.019132415771484376,
0.019281984329223633,
0.019113920211791993,
0.019136512756347656,
0.019092512130737305,
0.01907606315612793,
0.01895427131652832,
0.018996192932128907,
0.019023904800415038,
0.019006431579589842,
0.018950143814086915,
0.018957311630249024,
0.01902592086791992,
0.018990079879760743,
0.01902079963684082,
0.018980863571166993,
0.019124223709106446,
0.018998271942138673,
0.01898700714111328,
0.019050495147705078,
0.018993152618408202,
0.01902592086791992,
0.019072000503540038,
0.01904435157775879,
0.01923993682861328,
0.01898700714111328,
0.01898700714111328,
0.019009536743164062,
0.01903308868408203,
0.019083263397216797,
0.018993152618408202,
0.01918976020812988,
0.019142656326293944,
0.01923481559753418,
0.019150848388671874,
0.019158016204833983,
0.019521535873413084,
0.019915775299072267,
0.020349952697753908,
0.019561471939086913,
0.019305471420288087,
0.019290111541748048,
0.019110912322998046,
0.01942425537109375,
0.019296255111694336,
0.019311616897583008,
0.01921331214904785,
0.019129344940185547,
0.019169279098510742,
0.019142656326293944,
0.019100671768188478,
0.019119104385375976,
0.019139583587646485,
0.019302400588989257,
0.019137535095214844,
0.019130367279052735,
0.019155967712402345,
0.019147775650024415,
0.019190784454345702,
0.019122175216674805,
0.019117055892944337,
0.019190784454345702,
0.019168256759643554,
0.019129344940185547,
0.019081247329711913,
0.01917027282714844,
0.019125247955322267,
0.019141632080078123,
0.019148799896240236,
0.019148799896240236,
0.01919692802429199,
0.019121152877807617,
0.019149824142456053,
0.019147775650024415,
0.019194879531860352,
0.01906790351867676,
0.01923379135131836,
0.01918156814575195,
0.019140607833862306,
0.01921023941040039,
0.019188735961914064,
0.019168256759643554,
0.019174400329589843,
0.019112960815429687,
0.019159040451049804,
0.01909760093688965,
0.019224576950073242,
0.019091455459594727,
0.019135488510131835,
0.019135488510131835,
0.01923481559753418,
0.019146751403808594,
0.01918976020812988,
0.019120128631591796,
0.019204095840454103,
0.01925529670715332,
0.019178495407104493,
0.019424320220947266,
0.019182527542114258,
0.019204095840454103,
0.019192832946777344
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.13873906714781
},
"energy": null,
"efficiency": null
}
}
}