hf-transformers-bot's picture
Upload folder using huggingface_hub
25b4db8 verified
raw
history blame
16.9 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": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
"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.140224,
"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.040881567001342774,
"mean": 0.020440783500671387,
"stdev": 0.00013140773773193462,
"p50": 0.020440783500671387,
"p90": 0.020545909690856935,
"p95": 0.02055905046463013,
"p99": 0.020569563083648684,
"values": [
0.020309375762939452,
0.02057219123840332
]
},
"throughput": {
"unit": "tokens/s",
"value": 342.45262662119
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1705.160704,
"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.9012099609375,
"mean": 2.45060498046875,
"stdev": 0.01456420898437516,
"p50": 2.45060498046875,
"p90": 2.46225634765625,
"p95": 2.4637127685546876,
"p99": 2.4648779052734375,
"values": [
2.465169189453125,
2.436040771484375
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.82393776728044
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.9023354911804224,
"mean": 0.019376820123242766,
"stdev": 0.001406548362147464,
"p50": 0.01908531188964844,
"p90": 0.019864371490478514,
"p95": 0.020009369659423827,
"p99": 0.02046148612976074,
"values": [
0.02031001663208008,
0.019115007400512696,
0.018852863311767578,
0.018906112670898437,
0.01884876823425293,
0.018944000244140623,
0.01884671974182129,
0.018922496795654296,
0.019788799285888673,
0.019753984451293945,
0.018932735443115235,
0.018893823623657227,
0.01962291145324707,
0.019746816635131836,
0.019606527328491212,
0.019701759338378907,
0.019929088592529298,
0.019714048385620117,
0.019725311279296876,
0.019784704208374023,
0.019787776947021486,
0.019766271591186522,
0.019772415161132813,
0.019698688507080078,
0.01982464027404785,
0.019772415161132813,
0.019769344329833984,
0.019721216201782226,
0.019751935958862304,
0.01969254493713379,
0.0196495361328125,
0.019764223098754884,
0.019731456756591798,
0.01967820739746094,
0.01966796875,
0.01965977668762207,
0.019818496704101563,
0.0196997127532959,
0.019696640014648437,
0.019628032684326172,
0.019758079528808595,
0.01964646339416504,
0.019636224746704102,
0.019742719650268553,
0.01885491180419922,
0.0195020809173584,
0.01982156753540039,
0.019393535614013673,
0.01882521629333496,
0.019005439758300782,
0.01909760093688965,
0.019169279098510742,
0.019171327590942384,
0.01902796745300293,
0.01899519920349121,
0.018983936309814452,
0.01904128074645996,
0.01900748825073242,
0.01906073570251465,
0.01905561637878418,
0.019076095581054688,
0.01908121681213379,
0.01906380844116211,
0.019009536743164062,
0.01906790351867676,
0.0191016960144043,
0.01903718376159668,
0.019096576690673828,
0.01909760093688965,
0.01919692802429199,
0.019092479705810548,
0.018959360122680666,
0.019058687210083008,
0.01908531188964844,
0.01902592086791992,
0.019112960815429687,
0.019017728805541992,
0.019013631820678712,
0.01904435157775879,
0.0190248966217041,
0.01901670455932617,
0.01901055908203125,
0.01899929618835449,
0.01902079963684082,
0.01904844856262207,
0.019042303085327148,
0.01906585693359375,
0.018972671508789063,
0.019058687210083008,
0.019056640625,
0.018998271942138673,
0.019298303604125978,
0.019121152877807617,
0.019082239151000976,
0.01904640007019043,
0.01904332733154297,
0.018917375564575196,
0.01882316780090332,
0.01908121681213379,
0.01903001594543457,
0.019076095581054688,
0.019149824142456053,
0.019083263397216797,
0.01947750473022461,
0.02001817512512207,
0.019965951919555663,
0.020348928451538087,
0.020164608001708984,
0.019962879180908204,
0.01979903984069824,
0.019887104034423828,
0.02024038314819336,
0.020157440185546875,
0.01986662483215332,
0.02010316848754883,
0.020649984359741212,
0.020143104553222657,
0.02000486373901367,
0.020016128540039063,
0.01985843276977539,
0.019901439666748046,
0.01992192077636719,
0.019803136825561524,
0.019549184799194336,
0.019535871505737306,
0.019709951400756837,
0.0407982063293457,
0.019558399200439454,
0.019506175994873046,
0.019449855804443358,
0.01942323112487793,
0.019715072631835938,
0.018947071075439453,
0.018932735443115235,
0.018888704299926756,
0.019100671768188478,
0.018926591873168946,
0.018981887817382814,
0.018919424057006837,
0.018941951751708985,
0.018997247695922852,
0.019518463134765626,
0.01983590316772461,
0.0198154239654541,
0.019767295837402343,
0.019805183410644533,
0.019923967361450197,
0.01986355209350586,
0.019727359771728514,
0.018778112411499022,
0.018993152618408202,
0.018880512237548826,
0.019079168319702147,
0.018984960556030273,
0.018956287384033203,
0.018936832427978514,
0.018898944854736328,
0.01899929618835449,
0.018884607315063476,
0.018902015686035157,
0.018965503692626954,
0.018908159255981445,
0.019148799896240236,
0.01899622344970703,
0.01905971145629883,
0.018947071075439453,
0.01887129592895508,
0.018893823623657227,
0.01904025650024414,
0.01886207962036133,
0.01888768005371094,
0.019098623275756836,
0.019312639236450196,
0.019174400329589843,
0.018969600677490234,
0.01903206443786621,
0.018886655807495118,
0.018952192306518553,
0.018898944854736328,
0.018911231994628908,
0.018948095321655273,
0.019058687210083008,
0.01886310386657715,
0.019091455459594727,
0.019079168319702147,
0.01906790351867676,
0.01904742431640625,
0.01966592025756836,
0.0192993278503418,
0.01906585693359375,
0.01904025650024414,
0.01905561637878418,
0.01887539291381836,
0.019172351837158205,
0.019195903778076173,
0.019212287902832033,
0.019126272201538085,
0.019072000503540038,
0.019140607833862306,
0.0190699520111084,
0.01905254364013672,
0.01902694320678711,
0.01908531188964844,
0.019083328247070312,
0.019064767837524414,
0.019128320693969726,
0.01902079963684082,
0.01903513526916504,
0.01904742431640625,
0.01900339126586914,
0.0190248966217041,
0.01925324821472168,
0.020583423614501953,
0.020171775817871093,
0.019969024658203126,
0.019143680572509765,
0.018993152618408202,
0.01904742431640625,
0.019224576950073242,
0.01986457633972168,
0.01987276840209961,
0.01989017677307129,
0.019119104385375976,
0.01921843147277832,
0.01965875244140625,
0.019561471939086913,
0.019574783325195313,
0.019581951141357423,
0.019602432250976562,
0.018884607315063476,
0.01883545684814453,
0.018882560729980468,
0.018952192306518553,
0.01903104019165039,
0.0190382080078125,
0.019072000503540038,
0.01907302474975586,
0.019104768753051758,
0.019074047088623047,
0.019120128631591796,
0.019072000503540038,
0.019042303085327148,
0.01900851249694824,
0.019178495407104493,
0.019119104385375976,
0.019186687469482423,
0.019112960815429687,
0.01906073570251465,
0.01904742431640625,
0.01902796745300293,
0.01906790351867676,
0.019120128631591796,
0.01903001594543457
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.608055069907266
},
"energy": null,
"efficiency": null
}
}
}