hf-transformers-bot's picture
Upload folder using huggingface_hub
ccffce3 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": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
"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": 1738.227712,
"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.045458688735961914,
"mean": 0.022729344367980957,
"stdev": 0.002710240364074707,
"p50": 0.022729344367980957,
"p90": 0.024897536659240722,
"p95": 0.02516856069564819,
"p99": 0.02538537992477417,
"values": [
0.025439584732055664,
0.02001910400390625
]
},
"throughput": {
"unit": "tokens/s",
"value": 307.9719276839752
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1738.32192,
"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.775644775390625,
"mean": 2.3878223876953126,
"stdev": 0.013817749023437464,
"p50": 2.3878223876953126,
"p90": 2.3988765869140627,
"p95": 2.400258361816406,
"p99": 2.401363781738281,
"values": [
2.40164013671875,
2.374004638671875
]
},
"throughput": {
"unit": "tokens/s",
"value": 53.186535420072985
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.776072187423707,
"mean": 0.018877755681516624,
"stdev": 0.0013918402423089098,
"p50": 0.018550783157348632,
"p90": 0.019393766403198242,
"p95": 0.019474841690063475,
"p99": 0.019828408737182616,
"values": [
0.019301376342773437,
0.01923686408996582,
0.01925017547607422,
0.021184511184692383,
0.019475456237792968,
0.019316736221313476,
0.01929430389404297,
0.01925315284729004,
0.01922047996520996,
0.019180543899536134,
0.019198976516723632,
0.019284992218017577,
0.019174400329589843,
0.019170303344726563,
0.019153919219970703,
0.019397632598876953,
0.01929523277282715,
0.019167232513427734,
0.019268608093261717,
0.019173376083374022,
0.01922969627380371,
0.019238943099975585,
0.019377119064331056,
0.019252223968505858,
0.01922969627380371,
0.019163135528564454,
0.018884607315063476,
0.018998271942138673,
0.019182592391967773,
0.01945292854309082,
0.018923519134521484,
0.018922496795654296,
0.01905971145629883,
0.0192491512298584,
0.019371007919311522,
0.019307519912719725,
0.019194879531860352,
0.019191808700561523,
0.019338239669799806,
0.01924095916748047,
0.019377151489257814,
0.019173376083374022,
0.01925119972229004,
0.01918976020812988,
0.019183616638183593,
0.01902694320678711,
0.01904844856262207,
0.019186687469482423,
0.019594240188598632,
0.01940787124633789,
0.019204095840454103,
0.019792896270751953,
0.019451904296875,
0.019539968490600586,
0.019530752182006835,
0.019350528717041016,
0.019370016098022462,
0.0193525447845459,
0.019298303604125978,
0.019366912841796875,
0.019389440536499023,
0.019362815856933592,
0.01879347229003906,
0.01847603225708008,
0.018449407577514648,
0.018388992309570314,
0.018379776000976563,
0.01840742492675781,
0.01838489532470703,
0.01862553596496582,
0.018440191268920898,
0.018365440368652345,
0.01840947151184082,
0.018480127334594726,
0.018357248306274415,
0.01846272087097168,
0.018655231475830078,
0.018363391876220703,
0.01838591957092285,
0.018364479064941406,
0.01834796714782715,
0.018747392654418944,
0.01855897521972656,
0.018431999206542968,
0.01841766357421875,
0.018370559692382812,
0.018566144943237304,
0.018396160125732423,
0.018457599639892578,
0.018388992309570314,
0.01839308738708496,
0.01841459274291992,
0.018473983764648438,
0.01839411163330078,
0.018568191528320312,
0.018387968063354493,
0.018367488861083983,
0.018498559951782227,
0.018359296798706053,
0.01863680076599121,
0.018550783157348632,
0.018405376434326173,
0.018397184371948243,
0.018358272552490236,
0.018214912414550782,
0.018267135620117187,
0.01847500801086426,
0.018592767715454102,
0.018502656936645507,
0.018395135879516602,
0.01847091293334961,
0.018511871337890624,
0.018420736312866212,
0.018447359085083007,
0.01843507194519043,
0.01840640068054199,
0.018421760559082033,
0.018355199813842774,
0.018381824493408205,
0.018340864181518556,
0.019243104934692383,
0.0194169921875,
0.01925836753845215,
0.01939455986022949,
0.019327999114990235,
0.01939059257507324,
0.03963584136962891,
0.018341888427734376,
0.01838387107849121,
0.018378751754760742,
0.01824460792541504,
0.01845145606994629,
0.018344959259033202,
0.018326528549194337,
0.0182794246673584,
0.01888768005371094,
0.01842585563659668,
0.01846067237854004,
0.018307071685791015,
0.018363391876220703,
0.018397184371948243,
0.018353151321411132,
0.01835212707519531,
0.019808256149291992,
0.019335168838500977,
0.019187711715698243,
0.019314687728881837,
0.018373632431030275,
0.018276351928710938,
0.018357248306274415,
0.018283519744873047,
0.018300928115844727,
0.018329599380493163,
0.018327743530273437,
0.018350912094116212,
0.018306047439575195,
0.018303071975708008,
0.018447263717651367,
0.018693119049072265,
0.019611648559570313,
0.019537919998168944,
0.019283967971801756,
0.019288063049316406,
0.0192675838470459,
0.019344383239746094,
0.01920204734802246,
0.019191808700561523,
0.018300928115844727,
0.018276384353637695,
0.01827734375,
0.018249727249145507,
0.018265087127685545,
0.01829478454589844,
0.01926144027709961,
0.019195903778076173,
0.01841459274291992,
0.019406848907470704,
0.019317760467529296,
0.01943142318725586,
0.019363840103149413,
0.01924812889099121,
0.019401727676391603,
0.01927884864807129,
0.019342336654663086,
0.01943142318725586,
0.018487295150756835,
0.01846784019470215,
0.018463743209838866,
0.01985024070739746,
0.018431999206542968,
0.01843404769897461,
0.018489343643188477,
0.0186429443359375,
0.018515968322753908,
0.01839411163330078,
0.018501632690429686,
0.018431999206542968,
0.01841766357421875,
0.018515968322753908,
0.018423807144165038,
0.0184453125,
0.018361343383789062,
0.01882111930847168,
0.01923891258239746,
0.01923993682861328,
0.019495935440063478,
0.019330047607421876,
0.01843916893005371,
0.01843507194519043,
0.01846272087097168,
0.01835212707519531,
0.01823027229309082,
0.019567615509033204,
0.019449855804443358,
0.019401727676391603,
0.019474431991577147,
0.019312639236450196,
0.018611200332641603,
0.01844633674621582,
0.018563072204589845,
0.018440191268920898,
0.018503679275512695,
0.01846681594848633,
0.018573312759399413,
0.018572288513183592,
0.018191360473632814,
0.018242559432983398,
0.01829478454589844,
0.01825279998779297,
0.01840742492675781,
0.01824870491027832,
0.018250751495361327,
0.018267135620117187,
0.018421760559082033,
0.01846886444091797,
0.019308544158935546,
0.01842585563659668,
0.01844131278991699,
0.018512800216674806,
0.018544639587402344,
0.01845145606994629,
0.018776063919067384,
0.018562047958374024,
0.018267135620117187,
0.018158592224121094,
0.01924300765991211,
0.01923174476623535,
0.01859993553161621,
0.018481151580810547,
0.01840230369567871,
0.0185743350982666,
0.018527231216430663,
0.01839206314086914
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.97239867232251
},
"energy": null,
"efficiency": null
}
}
}