hf-transformers-bot's picture
Upload folder using huggingface_hub
3d96c30 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.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": "1c68f2cafb4ca54562f74b66d1085b68dd6682f5",
"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": 1715.175424,
"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.03884182357788086,
"mean": 0.01942091178894043,
"stdev": 0.00025048065185546975,
"p50": 0.01942091178894043,
"p90": 0.019621296310424804,
"p95": 0.01964634437561035,
"p99": 0.019666382827758788,
"values": [
0.0196713924407959,
0.01917043113708496
]
},
"throughput": {
"unit": "tokens/s",
"value": 360.43621824111625
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1715.269632,
"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.763135009765625,
"mean": 2.3815675048828124,
"stdev": 0.00046032714843757816,
"p50": 2.3815675048828124,
"p90": 2.3819357666015626,
"p95": 2.381981799316406,
"p99": 2.382018625488281,
"values": [
2.38202783203125,
2.381107177734375
]
},
"throughput": {
"unit": "tokens/s",
"value": 53.32622306091179
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.762549264907836,
"mean": 0.01882430539489264,
"stdev": 0.0012608016881619933,
"p50": 0.018589696884155273,
"p90": 0.01932881851196289,
"p95": 0.019445759582519533,
"p99": 0.020038164978027344,
"values": [
0.02007756805419922,
0.018504703521728515,
0.018412544250488282,
0.018348031997680665,
0.01839411163330078,
0.019125247955322267,
0.01929113578796387,
0.019290111541748048,
0.01904742431640625,
0.01922559928894043,
0.01926246452331543,
0.019184640884399414,
0.019347455978393553,
0.01923788833618164,
0.018370559692382812,
0.018391040802001952,
0.018387968063354493,
0.018367488861083983,
0.018521087646484375,
0.01846272087097168,
0.01842483139038086,
0.018687999725341797,
0.01925529670715332,
0.019171327590942384,
0.019180543899536134,
0.019111936569213867,
0.01930342483520508,
0.018354175567626953,
0.01841049575805664,
0.018415615081787108,
0.018420736312866212,
0.018447359085083007,
0.01837772750854492,
0.01907302474975586,
0.01825484848022461,
0.018437120437622072,
0.018501632690429686,
0.01846681594848633,
0.018461696624755858,
0.018343936920166014,
0.01827123260498047,
0.01882111930847168,
0.018397184371948243,
0.018880512237548826,
0.019156991958618166,
0.019979263305664064,
0.019322879791259767,
0.01845248031616211,
0.018420736312866212,
0.018379776000976563,
0.018309120178222657,
0.018471935272216796,
0.018694143295288086,
0.01862758445739746,
0.01866854476928711,
0.018542591094970702,
0.01863577651977539,
0.018610176086425782,
0.018611200332641603,
0.01864192008972168,
0.018509824752807616,
0.018597888946533202,
0.018734079360961914,
0.01925836753845215,
0.019212287902832033,
0.018556928634643553,
0.018512895584106445,
0.018507776260375978,
0.018506752014160157,
0.018588672637939452,
0.018514944076538087,
0.018547712326049806,
0.018541568756103514,
0.01855897521972656,
0.01859174346923828,
0.01863577651977539,
0.01863270378112793,
0.018585599899291993,
0.018568191528320312,
0.01926348876953125,
0.019333120346069335,
0.019329023361206055,
0.0192491512298584,
0.01925632095336914,
0.018576383590698242,
0.018553855895996094,
0.018371583938598633,
0.01866035270690918,
0.0194334716796875,
0.019401727676391603,
0.01943244743347168,
0.01878937530517578,
0.018659328460693358,
0.018686975479125977,
0.01859174346923828,
0.01857535934448242,
0.018544639587402344,
0.018597888946533202,
0.0186296329498291,
0.018592767715454102,
0.018611200332641603,
0.018544639587402344,
0.018386943817138672,
0.018372608184814454,
0.0186060791015625,
0.01863372802734375,
0.01859071922302246,
0.018603008270263673,
0.01857535934448242,
0.019378175735473634,
0.019322879791259767,
0.01940275192260742,
0.01862860870361328,
0.01866547203063965,
0.01860095977783203,
0.01850060844421387,
0.018370559692382812,
0.01836031913757324,
0.018505727767944336,
0.01905766487121582,
0.019327999114990235,
0.01863065528869629,
0.01983180809020996,
0.01864396858215332,
0.018546688079833985,
0.01859584045410156,
0.03771084976196289,
0.019277824401855468,
0.01920614433288574,
0.019594240188598632,
0.019186687469482423,
0.01923072052001953,
0.0192225284576416,
0.01845964813232422,
0.01929523277282715,
0.019212287902832033,
0.019183616638183593,
0.018334720611572267,
0.018217983245849608,
0.01850060844421387,
0.01927065658569336,
0.01923379135131836,
0.019770368576049805,
0.019192832946777344,
0.01923891258239746,
0.01841868782043457,
0.018388992309570314,
0.01839923286437988,
0.018397184371948243,
0.018367488861083983,
0.018181119918823242,
0.018851839065551757,
0.01921331214904785,
0.0184268798828125,
0.018412544250488282,
0.01841766357421875,
0.01840947151184082,
0.01886412811279297,
0.01922764778137207,
0.01844326400756836,
0.01848320007324219,
0.01841766357421875,
0.01841663932800293,
0.01839923286437988,
0.01841868782043457,
0.01840742492675781,
0.01845452880859375,
0.018420736312866212,
0.01878937530517578,
0.01822003173828125,
0.018206720352172853,
0.018190336227416993,
0.01822822380065918,
0.01821388816833496,
0.01818623924255371,
0.018231296539306642,
0.018296831130981444,
0.018525184631347655,
0.018328575134277342,
0.01838489532470703,
0.018420736312866212,
0.018395135879516602,
0.018518016815185546,
0.019311616897583008,
0.020001792907714845,
0.01927884864807129,
0.018564096450805666,
0.018767871856689454,
0.01927577590942383,
0.01856716728210449,
0.018457599639892578,
0.018527231216430663,
0.019062784194946288,
0.019386367797851564,
0.01924812889099121,
0.019317760467529296,
0.019286016464233398,
0.01860812759399414,
0.01862451171875,
0.018520063400268554,
0.01849241638183594,
0.018311168670654295,
0.018333696365356447,
0.018364416122436524,
0.01847091293334961,
0.018328575134277342,
0.018618368148803712,
0.018586624145507814,
0.018565120697021483,
0.018551807403564453,
0.018534400939941405,
0.018877439498901367,
0.019314687728881837,
0.019323904037475585,
0.01937919998168945,
0.018497535705566406,
0.018494464874267577,
0.018526208877563476,
0.018588672637939452,
0.018461696624755858,
0.01946419143676758,
0.0194334716796875,
0.01868185615539551,
0.01855897521972656,
0.018571264266967775,
0.018597888946533202,
0.0186060791015625,
0.018547712326049806,
0.018589696884155273,
0.0185743350982666,
0.01846681594848633,
0.01962495994567871,
0.02048204803466797,
0.019586048126220702,
0.01946931266784668,
0.0194652156829834,
0.019347455978393553,
0.01941094398498535,
0.01865830421447754,
0.01850060844421387,
0.018564096450805666,
0.01857535934448242,
0.018523136138916017,
0.018556928634643553,
0.01859891128540039,
0.01858252716064453,
0.018626560211181642,
0.018727935791015626,
0.018754560470581053,
0.018601984024047852,
0.01862144088745117,
0.018557952880859374,
0.01864908790588379
]
},
"throughput": {
"unit": "tokens/s",
"value": 53.12281005977078
},
"energy": null,
"efficiency": null
}
}
}