hf-transformers-bot's picture
Upload folder using huggingface_hub
a0308ee 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": 1708.478464,
"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.04127776145935058,
"mean": 0.02063888072967529,
"stdev": 9.279251098632396e-07,
"p50": 0.02063888072967529,
"p90": 0.020639623069763184,
"p95": 0.020639715862274168,
"p99": 0.02063979009628296,
"values": [
0.020639808654785156,
0.02063795280456543
]
},
"throughput": {
"unit": "tokens/s",
"value": 339.1656791705356
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1708.556288,
"max_global_vram": 6795.296768,
"max_process_vram": 0.0,
"max_reserved": 6148.849664,
"max_allocated": 5034.577408
},
"latency": {
"unit": "s",
"count": 2,
"total": 5.034170166015625,
"mean": 2.5170850830078124,
"stdev": 0.0037408447265625533,
"p50": 2.5170850830078124,
"p90": 2.5200777587890624,
"p95": 2.5204518432617187,
"p99": 2.5207511108398437,
"values": [
2.520825927734375,
2.51334423828125
]
},
"throughput": {
"unit": "tokens/s",
"value": 50.4551875728572
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 5.035425800323488,
"mean": 0.019902868775982158,
"stdev": 0.0013455101035836567,
"p50": 0.01991372871398926,
"p90": 0.02004193229675293,
"p95": 0.02020945930480957,
"p99": 0.020863917770385737,
"values": [
0.019333120346069335,
0.01962598419189453,
0.019615743637084963,
0.01964543914794922,
0.019587072372436523,
0.019430400848388672,
0.01965363121032715,
0.019353599548339845,
0.019341312408447265,
0.01939455986022949,
0.0196945915222168,
0.019762176513671875,
0.019940351486206053,
0.020497407913208008,
0.020304895401000975,
0.020338687896728515,
0.02025369644165039,
0.01944473648071289,
0.01945395278930664,
0.01963724708557129,
0.019471359252929688,
0.019347455978393553,
0.019791872024536132,
0.01988403129577637,
0.01937919998168945,
0.019276800155639647,
0.01942937660217285,
0.019587072372436523,
0.01982259178161621,
0.019771392822265626,
0.01946214485168457,
0.01980723190307617,
0.019574783325195313,
0.01946112060546875,
0.019568639755249022,
0.01972428894042969,
0.019629056930541993,
0.019414016723632813,
0.01944780731201172,
0.021105663299560547,
0.019999744415283204,
0.019903488159179687,
0.019309568405151366,
0.01977446365356445,
0.019741695404052736,
0.02059775924682617,
0.02000588798522949,
0.01979801559448242,
0.019833856582641602,
0.019854335784912108,
0.019870719909667968,
0.019786752700805665,
0.019752960205078125,
0.019795967102050782,
0.01979903984069824,
0.01987379264831543,
0.019985408782958985,
0.02003865623474121,
0.019968000411987305,
0.019932159423828123,
0.02003558349609375,
0.0200130558013916,
0.020009983062744142,
0.019982336044311523,
0.020281343460083007,
0.02005504035949707,
0.019979263305664064,
0.01988403129577637,
0.019945472717285157,
0.019947519302368166,
0.019912704467773438,
0.019936256408691407,
0.020016128540039063,
0.019975168228149414,
0.02009600067138672,
0.02001919937133789,
0.019984384536743165,
0.019959808349609375,
0.019943424224853516,
0.019937280654907227,
0.019948543548583983,
0.01987993621826172,
0.019901439666748046,
0.019922943115234376,
0.019943424224853516,
0.019968000411987305,
0.019945472717285157,
0.019993600845336915,
0.019933183670043944,
0.019973119735717772,
0.01998847961425781,
0.019997695922851562,
0.019970048904418947,
0.019951616287231445,
0.02002943992614746,
0.020059135437011717,
0.020023296356201172,
0.02005299186706543,
0.01988812828063965,
0.019998720169067383,
0.02003763198852539,
0.01999667167663574,
0.019987455368041994,
0.019976192474365235,
0.019964927673339843,
0.01997209548950195,
0.02002227210998535,
0.020011007308959963,
0.019954687118530275,
0.019869695663452147,
0.01987174415588379,
0.01965875244140625,
0.019978239059448243,
0.019989503860473632,
0.019934207916259765,
0.019938304901123048,
0.019184640884399414,
0.019161088943481445,
0.019963903427124022,
0.02001203155517578,
0.019945472717285157,
0.020015104293823242,
0.019924991607666014,
0.019947519302368166,
0.019894271850585937,
0.02002841567993164,
0.04057088088989258,
0.019767295837402343,
0.019783679962158202,
0.01982156753540039,
0.019765247344970704,
0.019784704208374023,
0.019825664520263672,
0.019751935958862304,
0.019773439407348634,
0.01982771110534668,
0.019795967102050782,
0.018921472549438476,
0.018982912063598634,
0.018968576431274413,
0.019500032424926757,
0.019948543548583983,
0.02002739143371582,
0.01988198471069336,
0.019819520950317384,
0.019826688766479493,
0.01983078384399414,
0.020155391693115234,
0.019776512145996093,
0.019949567794799804,
0.019752960205078125,
0.019914751052856446,
0.019780607223510743,
0.019764223098754884,
0.01968435287475586,
0.019727359771728514,
0.01963417625427246,
0.01985024070739746,
0.019776512145996093,
0.019738624572753907,
0.02004275131225586,
0.01984716796875,
0.019853311538696287,
0.02004377555847168,
0.020319232940673827,
0.020024320602416993,
0.01922764778137207,
0.019981311798095702,
0.019810304641723633,
0.019786752700805665,
0.020179967880249023,
0.019720191955566405,
0.019795967102050782,
0.019791872024536132,
0.02003046417236328,
0.01959219169616699,
0.019694623947143556,
0.01935971260070801,
0.018927616119384767,
0.018948095321655273,
0.018948095321655273,
0.0196945915222168,
0.019757055282592775,
0.019127296447753905,
0.019115007400512696,
0.019104768753051758,
0.019727359771728514,
0.01946214485168457,
0.020015104293823242,
0.019924991607666014,
0.019080192565917968,
0.019323904037475585,
0.019982336044311523,
0.019957759857177734,
0.019914751052856446,
0.019992576599121094,
0.021910528182983398,
0.020304895401000975,
0.020023296356201172,
0.019973184585571287,
0.02000480079650879,
0.019393535614013673,
0.01906483268737793,
0.01906380844116211,
0.019146751403808594,
0.01923379135131836,
0.019098623275756836,
0.01903206443786621,
0.019134464263916014,
0.019943424224853516,
0.019910655975341796,
0.019911680221557617,
0.01998028755187988,
0.02002124786376953,
0.02004991912841797,
0.019938304901123048,
0.019977216720581056,
0.020102144241333008,
0.02007040023803711,
0.019970048904418947,
0.019936256408691407,
0.02048409652709961,
0.02064076805114746,
0.02004582405090332,
0.019956735610961913,
0.020100095748901366,
0.019987455368041994,
0.019960832595825196,
0.019986431121826173,
0.019989503860473632,
0.019953664779663087,
0.019951616287231445,
0.019761152267456054,
0.019954687118530275,
0.019895296096801757,
0.01992192077636719,
0.019936256408691407,
0.019956735610961913,
0.019965951919555663,
0.019918848037719726,
0.01991372871398926,
0.01985024070739746,
0.01985638427734375,
0.019939327239990236,
0.019935232162475586,
0.019953664779663087,
0.019951616287231445,
0.019912704467773438,
0.019989503860473632,
0.01989836883544922,
0.020001792907714845,
0.019936256408691407,
0.019525632858276368
]
},
"throughput": {
"unit": "tokens/s",
"value": 50.24401312471862
},
"energy": null,
"efficiency": null
}
}
}