hf-transformers-bot's picture
Upload folder using huggingface_hub
1f148af verified
raw
history blame
17.9 kB
{
"config": {
"name": "pytorch_generate",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gemma",
"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": {},
"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,
"memory": true,
"latency": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0.dev0",
"transformers_commit": "f38590dade57c1f8cf8a67e9409dae8935f8c478",
"accelerate_version": "0.35.0.dev0",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": "1.22.0.dev0",
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": "0.12.1.dev0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1335.451648,
"max_global_vram": 6775.373824,
"max_process_vram": 0.0,
"max_reserved": 6138.363904,
"max_allocated": 6060.931072
},
"latency": {
"unit": "s",
"count": 1,
"total": 11.4611904296875,
"mean": 11.4611904296875,
"stdev": 0.0,
"p50": 11.4611904296875,
"p90": 11.4611904296875,
"p95": 11.4611904296875,
"p99": 11.4611904296875,
"values": [
11.4611904296875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1783.82848,
"max_global_vram": 6796.345344,
"max_process_vram": 0.0,
"max_reserved": 6142.558208,
"max_allocated": 5028.431872
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.04168374252319336,
"mean": 0.02084187126159668,
"stdev": 6.385612487792847e-05,
"p50": 0.02084187126159668,
"p90": 0.020892956161499023,
"p95": 0.020899341773986814,
"p99": 0.02090445026397705,
"values": [
0.02077801513671875,
0.020905727386474608
]
},
"throughput": {
"unit": "tokens/s",
"value": 335.86235670202177
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1841.639424,
"max_global_vram": 6800.539648,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5031.801344
},
"latency": {
"unit": "s",
"count": 2,
"total": 4.931319580078124,
"mean": 2.465659790039062,
"stdev": 0.0001861572265624556,
"p50": 2.465659790039062,
"p90": 2.4658087158203124,
"p95": 2.4658273315429686,
"p99": 2.4658422241210936,
"values": [
2.4654736328125,
2.465845947265625
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.507511503842956
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 254,
"total": 4.930960376739499,
"mean": 0.01941322982968308,
"stdev": 0.0002076222946319257,
"p50": 0.019396575927734375,
"p90": 0.019510271072387696,
"p95": 0.019620044803619386,
"p99": 0.02052510715484619,
"values": [
0.019296255111694336,
0.01923686408996582,
0.01924198341369629,
0.01930348777770996,
0.019290048599243163,
0.019305471420288087,
0.019312639236450196,
0.01928704071044922,
0.019309568405151366,
0.019337215423583985,
0.019317760467529296,
0.019357696533203125,
0.019177471160888672,
0.019165184020996092,
0.01927987289428711,
0.019335168838500977,
0.019260416030883788,
0.019392511367797852,
0.019354623794555666,
0.019342336654663086,
0.019336191177368164,
0.019366912841796875,
0.019356672286987304,
0.01928294372558594,
0.01924300765991211,
0.019315711975097655,
0.019331071853637697,
0.019333120346069335,
0.019318784713745117,
0.019312639236450196,
0.019296255111694336,
0.019305471420288087,
0.019356672286987304,
0.019322879791259767,
0.019310592651367187,
0.019154943466186524,
0.019136512756347656,
0.019094528198242186,
0.019302400588989257,
0.019139583587646485,
0.019103744506835937,
0.01925017547607422,
0.019147775650024415,
0.019183616638183593,
0.01922969627380371,
0.019294208526611328,
0.01926655960083008,
0.01944576072692871,
0.019371007919311522,
0.019148799896240236,
0.01923583984375,
0.019284992218017577,
0.01929523277282715,
0.019319807052612305,
0.019355648040771483,
0.019300352096557616,
0.019302400588989257,
0.019365888595581054,
0.019404800415039062,
0.01946214485168457,
0.01943756866455078,
0.019281919479370118,
0.019348480224609374,
0.01943449592590332,
0.019277824401855468,
0.019292160034179686,
0.01930342483520508,
0.01947750473022461,
0.019300352096557616,
0.019268608093261717,
0.01942118453979492,
0.01943244743347168,
0.01941913604736328,
0.019481599807739256,
0.019489791870117186,
0.019390464782714844,
0.01946112060546875,
0.01944780731201172,
0.019405824661254883,
0.01942630386352539,
0.01945497512817383,
0.01942937660217285,
0.019367935180664063,
0.0194334716796875,
0.019366912841796875,
0.01945292854309082,
0.019791872024536132,
0.019501056671142578,
0.019564544677734375,
0.019314687728881837,
0.019508224487304687,
0.01964339256286621,
0.020553728103637696,
0.019689472198486328,
0.01947238349914551,
0.019506175994873046,
0.019914751052856446,
0.02024140739440918,
0.019553279876708983,
0.01942323112487793,
0.01941094398498535,
0.019404800415039062,
0.0194969596862793,
0.019510271072387696,
0.019505151748657225,
0.01943961524963379,
0.019557376861572266,
0.019526655197143555,
0.019510271072387696,
0.01942118453979492,
0.019451904296875,
0.020333568572998048,
0.020805631637573242,
0.019486719131469727,
0.019449855804443358,
0.019449855804443358,
0.019565568923950196,
0.019332096099853514,
0.019312639236450196,
0.01945395278930664,
0.0194652156829834,
0.019570688247680663,
0.019466239929199217,
0.019615743637084963,
0.019574783325195313,
0.019451904296875,
0.01945907211303711,
0.019292160034179686,
0.01924608039855957,
0.019327999114990235,
0.019300352096557616,
0.019289087295532227,
0.01929523277282715,
0.019264511108398438,
0.01930342483520508,
0.01930342483520508,
0.01923276710510254,
0.019290111541748048,
0.019323904037475585,
0.019314687728881837,
0.01942732810974121,
0.019297279357910157,
0.019320831298828126,
0.019273727416992188,
0.019352575302124024,
0.019334144592285156,
0.01983590316772461,
0.020533248901367186,
0.01942630386352539,
0.01945702362060547,
0.019347455978393553,
0.019312639236450196,
0.019320831298828126,
0.019356672286987304,
0.019290111541748048,
0.019314687728881837,
0.019348480224609374,
0.0192225284576416,
0.019289087295532227,
0.019283967971801756,
0.019366912841796875,
0.019339263916015623,
0.019351551055908203,
0.019312639236450196,
0.019333120346069335,
0.01926655960083008,
0.019338239669799806,
0.019318784713745117,
0.019315711975097655,
0.019336191177368164,
0.019302400588989257,
0.019319807052612305,
0.01927884864807129,
0.019321855545043946,
0.01942425537109375,
0.019332096099853514,
0.019323904037475585,
0.019304447174072266,
0.019306528091430665,
0.01926857566833496,
0.01925734329223633,
0.019393535614013673,
0.019316736221313476,
0.019292160034179686,
0.01947750473022461,
0.01942425537109375,
0.01945599937438965,
0.019494911193847657,
0.019401727676391603,
0.01944371223449707,
0.01943756866455078,
0.01946316719055176,
0.019539968490600586,
0.019487743377685548,
0.019628032684326172,
0.019467264175415038,
0.01944268798828125,
0.01945292854309082,
0.019524608612060547,
0.01946419143676758,
0.019277824401855468,
0.019273727416992188,
0.019321855545043946,
0.019337215423583985,
0.020517887115478514,
0.019503103256225587,
0.01940787124633789,
0.01946316719055176,
0.01948876762390137,
0.01943244743347168,
0.01942425537109375,
0.019517440795898438,
0.01945599937438965,
0.01947648048400879,
0.01944371223449707,
0.0194201602935791,
0.019451904296875,
0.019404800415039062,
0.01944780731201172,
0.019414016723632813,
0.01944473648071289,
0.0193874568939209,
0.01939961624145508,
0.01939967918395996,
0.019503103256225587,
0.01945395278930664,
0.019508224487304687,
0.01947340774536133,
0.019414016723632813,
0.01946009635925293,
0.01946419143676758,
0.01943654441833496,
0.0194150390625,
0.01942732810974121,
0.01947648048400879,
0.01948569679260254,
0.01941606330871582,
0.01949388885498047,
0.01944780731201172,
0.019543039321899415,
0.01946931266784668,
0.019417087554931642,
0.019422208786010742,
0.0194467830657959,
0.01944473648071289,
0.019373056411743163,
0.01943654441833496,
0.01945702362060547,
0.01944780731201172,
0.01943449592590332,
0.01945907211303711,
0.01943654441833496,
0.019406848907470704,
0.02002227210998535
]
},
"throughput": {
"unit": "tokens/s",
"value": 51.51126364717462
},
"energy": null,
"efficiency": null
}
}
}