IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
cec5c05 verified
raw
history blame
14.7 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "6",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1078.72256,
"max_global_vram": 68702.69952,
"max_process_vram": 48829.411328,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.642833984375,
"mean": 8.642833984375,
"stdev": 0.0,
"p50": 8.642833984375,
"p90": 8.642833984375,
"p95": 8.642833984375,
"p99": 8.642833984375,
"values": [
8.642833984375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1248.006144,
"max_global_vram": 68702.69952,
"max_process_vram": 292934.950912,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 57,
"total": 0.5471321487426757,
"mean": 0.009598809627064487,
"stdev": 0.003705081308586351,
"p50": 0.008792338371276855,
"p90": 0.009386674880981445,
"p95": 0.010866518020629878,
"p99": 0.026894385375976534,
"values": [
0.0094502592086792,
0.0094316987991333,
0.03438487243652344,
0.009356658935546875,
0.00876657772064209,
0.008755377769470215,
0.008778098106384278,
0.008812658309936524,
0.008779056549072265,
0.00878993797302246,
0.008817777633666993,
0.00879057788848877,
0.008789937019348144,
0.008955058097839355,
0.00877793788909912,
0.008788976669311523,
0.00879601764678955,
0.008788337707519531,
0.008820178031921387,
0.008755698204040527,
0.00915825843811035,
0.008832657814025879,
0.008834577560424805,
0.008780178070068359,
0.008770736694335937,
0.008807377815246582,
0.008795058250427246,
0.008778258323669434,
0.011872983932495118,
0.008227855682373046,
0.010614901542663575,
0.009330578804016113,
0.009347859382629395,
0.00895057773590088,
0.008772177696228027,
0.008792338371276855,
0.008816658020019531,
0.008785778045654297,
0.00880417823791504,
0.00880465793609619,
0.008783218383789062,
0.008802738189697266,
0.008887377738952637,
0.008854417800903321,
0.00887249755859375,
0.009225298881530761,
0.008755377769470215,
0.008775538444519042,
0.008724177360534668,
0.008788337707519531,
0.00874433708190918,
0.008706097602844238,
0.008744658470153809,
0.008723056793212891,
0.00874257755279541,
0.008730097770690918,
0.021009002685546875
]
},
"throughput": {
"unit": "tokens/s",
"value": 208.35916928291462
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1248.088064,
"max_global_vram": 68702.69952,
"max_process_vram": 308690.92352,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 57,
"total": 0.47558336257934575,
"mean": 0.008343567764549923,
"stdev": 0.0002544456980855303,
"p50": 0.008274416923522949,
"p90": 0.008611600685119628,
"p95": 0.008766801071166994,
"p99": 0.009276313171386717,
"values": [
0.008888338088989258,
0.008760336875915528,
0.009770099639892577,
0.008177935600280762,
0.008274097442626954,
0.008248016357421875,
0.008314896583557128,
0.008226097106933594,
0.00823057746887207,
0.00859201717376709,
0.00828305721282959,
0.008319697380065917,
0.008256977081298827,
0.008251696586608888,
0.00831409740447998,
0.008274416923522949,
0.008253617286682129,
0.008303376197814941,
0.00828577709197998,
0.00828913688659668,
0.008428016662597656,
0.00833329677581787,
0.008432497024536132,
0.008286096572875977,
0.008270896911621094,
0.008238737106323241,
0.00824897575378418,
0.008272497177124024,
0.008210576057434082,
0.007834735870361329,
0.008685776710510254,
0.008792657852172852,
0.008387697219848634,
0.008262896537780761,
0.008282416343688965,
0.008421616554260254,
0.008220657348632813,
0.008235376358032226,
0.00819953727722168,
0.00816801643371582,
0.008280177116394043,
0.008296815872192383,
0.008256497383117676,
0.008401296615600585,
0.008460017204284668,
0.00829185676574707,
0.008221936225891114,
0.008194577217102051,
0.008381776809692383,
0.008179697036743164,
0.008231376647949219,
0.008232496261596679,
0.008217937469482422,
0.008174897193908692,
0.008640975952148437,
0.008222256660461426,
0.008371537208557128
]
},
"throughput": {
"unit": "tokens/s",
"value": 119.85280496537598
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 57,
"total": 0.4456285824775697,
"mean": 0.00781804530662403,
"stdev": 0.00023317733536285513,
"p50": 0.007768974781036377,
"p90": 0.008075823783874512,
"p95": 0.008164784431457519,
"p99": 0.008623224029541014,
"values": [
0.008264817237854005,
0.008155216217041015,
0.009079378128051757,
0.007675214767456055,
0.007784656047821045,
0.007749454975128174,
0.007826096057891845,
0.007737296104431152,
0.007733935832977295,
0.008094736099243164,
0.007788496017456055,
0.0077936148643493654,
0.007742735862731933,
0.0077467360496521,
0.007788976192474365,
0.00775761604309082,
0.007740496158599853,
0.007803534984588623,
0.0077915358543395995,
0.007798575878143311,
0.007880655765533448,
0.007829775810241699,
0.007926735877990723,
0.007788976192474365,
0.0077750558853149415,
0.007739215850830078,
0.007748974800109863,
0.007751696109771729,
0.007510894775390625,
0.007153134822845459,
0.008091376304626465,
0.008203057289123536,
0.007868015766143798,
0.007754096031188965,
0.007768974781036377,
0.007927536010742187,
0.007724656105041504,
0.007729774951934815,
0.007706575870513916,
0.007681934833526611,
0.007769455909729004,
0.00776817512512207,
0.007721615791320801,
0.00786737585067749,
0.007891695976257324,
0.0077768158912658696,
0.007718735218048096,
0.007689616203308105,
0.007869296073913574,
0.007675856113433838,
0.007731056213378907,
0.007738735198974609,
0.007708176136016846,
0.007659696102142334,
0.008065455436706543,
0.007732016086578369,
0.007830575942993164
]
},
"throughput": {
"unit": "tokens/s",
"value": 127.90921013884707
},
"energy": null,
"efficiency": null
}
}
}