IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
9f959a6 verified
raw
history blame
14.6 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gpt2",
"model": "openai-community/gpt2",
"processor": "openai-community/gpt2",
"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": null,
"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": {},
"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": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "86b6a9427e8d0887933fcf9a8a5c8388c89fa339",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 901.451776,
"max_global_vram": 3298.369536,
"max_process_vram": 45561.483264,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.2335771484375,
"mean": 8.2335771484375,
"stdev": 0.0,
"p50": 8.2335771484375,
"p90": 8.2335771484375,
"p95": 8.2335771484375,
"p99": 8.2335771484375,
"values": [
8.2335771484375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1055.911936,
"max_global_vram": 3394.105344,
"max_process_vram": 294997.52448,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 59,
"total": 0.49847945928573606,
"mean": 0.008448804394673493,
"stdev": 0.0005398489914568586,
"p50": 0.00833486270904541,
"p90": 0.009267181015014649,
"p95": 0.00937942132949829,
"p99": 0.009736277713775636,
"values": [
0.00986925983428955,
0.00963998031616211,
0.009338861465454101,
0.008969741821289063,
0.008313583374023438,
0.008410223007202148,
0.008433741569519043,
0.008738222122192383,
0.008727341651916505,
0.00934253978729248,
0.009372461318969726,
0.009247180938720703,
0.009249260902404785,
0.00944206142425537,
0.008938701629638671,
0.00889438247680664,
0.008896142005920411,
0.008842061042785645,
0.008862702369689942,
0.00888846206665039,
0.008893741607666015,
0.008891661643981934,
0.008065584182739258,
0.008564302444458008,
0.008046703338623047,
0.008078063011169433,
0.007940783977508544,
0.00789790391921997,
0.00791054391860962,
0.007903183937072754,
0.007911824226379394,
0.007913104057312012,
0.007865903854370117,
0.007887983798980713,
0.007914223194122315,
0.00806958293914795,
0.00793710422515869,
0.008003024101257325,
0.007918542861938476,
0.008167182922363281,
0.008277583122253417,
0.008923022270202637,
0.00833486270904541,
0.008898541450500489,
0.008582862854003906,
0.008483982086181641,
0.008338863372802735,
0.008422223091125489,
0.008381422996520995,
0.007894544124603272,
0.008101582527160645,
0.00791806411743164,
0.007909264087677002,
0.008087182998657226,
0.007884143829345703,
0.007896624088287353,
0.007900463104248048,
0.007896624088287353,
0.00814974308013916
]
},
"throughput": {
"unit": "tokens/s",
"value": 236.71988444434697
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1055.911936,
"max_global_vram": 3394.146304,
"max_process_vram": 275262.078976,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 59,
"total": 0.5020477705001831,
"mean": 0.008509284245765816,
"stdev": 0.0006617807755858701,
"p50": 0.008267502784729003,
"p90": 0.009021805953979492,
"p95": 0.009301660728454588,
"p99": 0.01084750074386597,
"values": [
0.009787019729614257,
0.009279980659484863,
0.008948142051696778,
0.008574222564697266,
0.008263822555541991,
0.00841502285003662,
0.008848462104797363,
0.008360623359680176,
0.00846798324584961,
0.009496781349182129,
0.009120620727539063,
0.009046380996704101,
0.01231197452545166,
0.009011820793151855,
0.008863821983337402,
0.008800782203674317,
0.008838062286376952,
0.008892621994018555,
0.008824461936950684,
0.008827341079711915,
0.008771501541137695,
0.008569421768188477,
0.00870846176147461,
0.008480783462524413,
0.008043343544006348,
0.008043502807617188,
0.007911983966827393,
0.008094383239746093,
0.008034382820129395,
0.00799502420425415,
0.008021903991699218,
0.008044623374938964,
0.00806622314453125,
0.007991504192352296,
0.008130384445190429,
0.008191983222961425,
0.008022223472595215,
0.007958703994750977,
0.00792030382156372,
0.008199024200439452,
0.00901566219329834,
0.008926860809326172,
0.008554062843322753,
0.008778701782226563,
0.008181102752685547,
0.008415343284606934,
0.008135342597961425,
0.008214222908020019,
0.008447821617126466,
0.007985104084014892,
0.008110703468322754,
0.008227663040161133,
0.008267502784729003,
0.008163823127746581,
0.008145903587341309,
0.007969423770904541,
0.008259504318237305,
0.008023823738098144,
0.008045581817626954
]
},
"throughput": {
"unit": "tokens/s",
"value": 117.51869735666614
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 59,
"total": 0.4550168285369874,
"mean": 0.007712149636220124,
"stdev": 0.000656700756659033,
"p50": 0.007583183765411377,
"p90": 0.008198384094238282,
"p95": 0.008478222846984863,
"p99": 0.010029980125427251,
"values": [
0.008949742317199708,
0.008465582847595216,
0.007986544132232666,
0.00781550407409668,
0.007406865119934082,
0.007586544990539551,
0.008019184112548828,
0.007613424777984619,
0.007621744155883789,
0.008591982841491699,
0.008289422988891602,
0.008273902893066407,
0.011521737098693847,
0.00812190341949463,
0.008049742698669433,
0.007968143939971924,
0.008061102867126465,
0.008122384071350098,
0.008058862686157226,
0.008050223350524903,
0.008030703544616699,
0.007787183761596679,
0.007967342853546142,
0.007689583778381348,
0.007203024864196777,
0.007237585067749024,
0.007186544895172119,
0.007231025218963623,
0.007214544773101806,
0.007182065010070801,
0.007193105220794678,
0.007188624858856201,
0.007203185081481934,
0.0072108650207519534,
0.00733598518371582,
0.007378705024719238,
0.007236945152282715,
0.0071638250350952145,
0.007238706111907959,
0.0072847847938537595,
0.00817950439453125,
0.008052143096923828,
0.007897424221038818,
0.008070544242858886,
0.007583183765411377,
0.00760622501373291,
0.007467345237731933,
0.0075731039047241214,
0.007664463996887207,
0.007160464763641358,
0.007222225189208984,
0.0074561448097229,
0.00745774507522583,
0.007348784923553467,
0.007391984939575195,
0.0071937451362609865,
0.007491825103759765,
0.007227505207061767,
0.007233584880828857
]
},
"throughput": {
"unit": "tokens/s",
"value": 129.6655338874
},
"energy": null,
"efficiency": null
}
}
}