hf-transformers-bot's picture
Upload folder using huggingface_hub
e45cbb2 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": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
"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": 1720.397824,
"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.04137660789489746,
"mean": 0.02068830394744873,
"stdev": 0.000961264610290528,
"p50": 0.02068830394744873,
"p90": 0.021457315635681155,
"p95": 0.021553442096710205,
"p99": 0.02163034326553345,
"values": [
0.02164956855773926,
0.019727039337158202
]
},
"throughput": {
"unit": "tokens/s",
"value": 338.35543105809967
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1720.471552,
"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.871063720703125,
"mean": 2.4355318603515625,
"stdev": 0.003218872070312351,
"p50": 2.4355318603515625,
"p90": 2.4381069580078125,
"p95": 2.4384288452148435,
"p99": 2.4386863549804687,
"values": [
2.438750732421875,
2.43231298828125
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.1446678926499
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.869810171127319,
"mean": 0.019248261545957785,
"stdev": 0.0013118284299616808,
"p50": 0.019086336135864256,
"p90": 0.01948426284790039,
"p95": 0.01967513656616211,
"p99": 0.02197020652770996,
"values": [
0.02191564750671387,
0.022107135772705077,
0.022029312133789062,
0.021703680038452147,
0.01928704071044922,
0.01882316780090332,
0.01906585693359375,
0.018897920608520507,
0.018925567626953126,
0.018807807922363282,
0.0190248966217041,
0.019083295822143555,
0.018943967819213866,
0.019145727157592773,
0.01906483268737793,
0.019148799896240236,
0.019354623794555666,
0.019478527069091797,
0.019270687103271483,
0.01912112045288086,
0.01918976020812988,
0.01922559928894043,
0.01982156753540039,
0.01929113578796387,
0.019281919479370118,
0.01922969627380371,
0.019357696533203125,
0.01923993682861328,
0.01925529670715332,
0.01925017547607422,
0.01920102310180664,
0.019112960815429687,
0.01923788833618164,
0.019335168838500977,
0.019340288162231444,
0.019344383239746094,
0.01965875244140625,
0.01947648048400879,
0.0188723201751709,
0.019168256759643554,
0.018969600677490234,
0.019084287643432618,
0.01943449592590332,
0.01901055908203125,
0.018790399551391602,
0.01903513526916504,
0.01879654312133789,
0.01924198341369629,
0.01925836753845215,
0.01904435157775879,
0.01919385528564453,
0.019499008178710937,
0.019355648040771483,
0.019351551055908203,
0.01900032043457031,
0.018953216552734374,
0.018940927505493164,
0.01904025650024414,
0.019204095840454103,
0.01922662353515625,
0.019422208786010742,
0.018926591873168946,
0.01901568031311035,
0.019122175216674805,
0.018938880920410156,
0.018948095321655273,
0.018944000244140623,
0.018949119567871094,
0.01906585693359375,
0.019503103256225587,
0.019121152877807617,
0.01923276710510254,
0.018907136917114258,
0.018950143814086915,
0.01906175994873047,
0.01903923225402832,
0.018949119567871094,
0.01928704071044922,
0.018940927505493164,
0.01918569564819336,
0.019370975494384764,
0.019112960815429687,
0.018886655807495118,
0.019123199462890626,
0.018989055633544923,
0.01899519920349121,
0.019078144073486326,
0.018881536483764647,
0.01902899169921875,
0.01920204734802246,
0.018955263137817382,
0.018910207748413087,
0.019104768753051758,
0.01888768005371094,
0.0189040641784668,
0.018925567626953126,
0.018911231994628908,
0.018956287384033203,
0.018965503692626954,
0.01887846374511719,
0.019146751403808594,
0.019148799896240236,
0.018911231994628908,
0.01886310386657715,
0.019086336135864256,
0.018916351318359375,
0.018897920608520507,
0.018980863571166993,
0.018914304733276367,
0.018880512237548826,
0.01904435157775879,
0.018956287384033203,
0.018963455200195312,
0.01903001594543457,
0.018946048736572265,
0.018923519134521484,
0.01923481559753418,
0.019208192825317383,
0.019269632339477538,
0.01924505615234375,
0.018972671508789063,
0.019162111282348633,
0.018888704299926756,
0.018898944854736328,
0.019104768753051758,
0.01904947280883789,
0.03890585708618164,
0.018766847610473633,
0.018736127853393555,
0.01887027168273926,
0.018767871856689454,
0.01882009506225586,
0.01880473518371582,
0.01879756736755371,
0.018719743728637696,
0.01882624053955078,
0.018775039672851563,
0.018748479843139647,
0.01878828811645508,
0.018815999984741212,
0.018876415252685547,
0.01918979263305664,
0.018927583694458006,
0.01882931137084961,
0.019009536743164062,
0.01900339126586914,
0.01901568031311035,
0.01900032043457031,
0.018977792739868164,
0.018984960556030273,
0.018968576431274413,
0.018890752792358398,
0.019169279098510742,
0.020189184188842774,
0.01944576072692871,
0.01901260757446289,
0.019500032424926757,
0.019194879531860352,
0.01879756736755371,
0.018946048736572265,
0.018926591873168946,
0.018807807922363282,
0.019042303085327148,
0.019054592132568358,
0.01885798454284668,
0.018808832168579103,
0.01887027168273926,
0.01883443260192871,
0.018963455200195312,
0.018815999984741212,
0.018988031387329102,
0.019215360641479492,
0.018998271942138673,
0.019390464782714844,
0.019503103256225587,
0.01904947280883789,
0.019386367797851564,
0.01904435157775879,
0.019102720260620116,
0.018963455200195312,
0.01880575942993164,
0.018900991439819336,
0.01921331214904785,
0.019300352096557616,
0.019203071594238282,
0.019346431732177736,
0.018941951751708985,
0.01923583984375,
0.01988096046447754,
0.019552255630493166,
0.019094528198242186,
0.019408895492553712,
0.019117055892944337,
0.019009536743164062,
0.01923174476623535,
0.019137535095214844,
0.019136512756347656,
0.0194467830657959,
0.01925836753845215,
0.019307519912719725,
0.01948569679260254,
0.01906380844116211,
0.019264511108398438,
0.019100671768188478,
0.01908121681213379,
0.019536895751953123,
0.01922662353515625,
0.019066879272460938,
0.018910207748413087,
0.019312639236450196,
0.018892799377441406,
0.01887027168273926,
0.019280895233154297,
0.02001919937133789,
0.020281343460083007,
0.019587072372436523,
0.0196997127532959,
0.019619840621948242,
0.019168256759643554,
0.01965670394897461,
0.01944268798828125,
0.019104768753051758,
0.019803136825561524,
0.01944883155822754,
0.019103744506835937,
0.019396608352661132,
0.01983283233642578,
0.019080192565917968,
0.019176448822021484,
0.019509248733520508,
0.01924198341369629,
0.018942975997924806,
0.019176448822021484,
0.018963455200195312,
0.018881536483764647,
0.019212287902832033,
0.018896896362304686,
0.018965503692626954,
0.019358720779418945,
0.01940787124633789,
0.01922969627380371,
0.019195903778076173,
0.019095552444458007,
0.019178495407104493,
0.01947750473022461,
0.019122175216674805,
0.01909760093688965,
0.018921472549438476,
0.01903206443786621,
0.019474431991577147,
0.01920614433288574,
0.01921331214904785,
0.019524608612060547
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.952743764020816
},
"energy": null,
"efficiency": null
}
}
}