IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
3babee0 verified
raw
history blame
15.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": "5",
"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": 1079.611392,
"max_global_vram": 68702.69952,
"max_process_vram": 43210.26048,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3305693359375,
"mean": 8.3305693359375,
"stdev": 0.0,
"p50": 8.3305693359375,
"p90": 8.3305693359375,
"p95": 8.3305693359375,
"p99": 8.3305693359375,
"values": [
8.3305693359375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1248.833536,
"max_global_vram": 68702.69952,
"max_process_vram": 248858.640384,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 64,
"total": 0.5125670914649963,
"mean": 0.00800886080414057,
"stdev": 0.00036053639849685114,
"p50": 0.007832221984863282,
"p90": 0.008714267349243165,
"p95": 0.008830538749694824,
"p99": 0.008850001554489137,
"values": [
0.007975181102752686,
0.007877420902252198,
0.00768494176864624,
0.0076985411643981936,
0.007688782215118408,
0.007657261848449707,
0.007694060802459717,
0.007703182220458985,
0.007700621128082275,
0.007683981895446777,
0.007745582103729248,
0.007653582096099854,
0.007661740779876709,
0.0078022217750549315,
0.007647661209106446,
0.008002381324768066,
0.008034701347351075,
0.00826333999633789,
0.008286379814147949,
0.008420939445495606,
0.008204460144042969,
0.008609099388122559,
0.008527660369873047,
0.008535659790039063,
0.008026540756225586,
0.007937100887298584,
0.007829582214355469,
0.007814701080322266,
0.007831501007080079,
0.007820621013641357,
0.007787181854248047,
0.007804141044616699,
0.007846061229705811,
0.007888300895690918,
0.007830541133880615,
0.007819500923156739,
0.007815180778503418,
0.007838380813598634,
0.00783182191848755,
0.007808781147003173,
0.007804941177368164,
0.007828940868377685,
0.007824780941009522,
0.007802861213684082,
0.00782302188873291,
0.007963341236114502,
0.007832622051239014,
0.007838380813598634,
0.00782430076599121,
0.008830538749694824,
0.008857258796691895,
0.008160140037536621,
0.008152460098266602,
0.008844298362731933,
0.008845739364624024,
0.008830538749694824,
0.008205740928649903,
0.008821099281311036,
0.008759339332580567,
0.00819517993927002,
0.007773740768432617,
0.007788140773773194,
0.007835980892181396,
0.007834381103515625
]
},
"throughput": {
"unit": "tokens/s",
"value": 249.72340622601442
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1248.833536,
"max_global_vram": 68702.69952,
"max_process_vram": 254451.32288,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 64,
"total": 0.49642473220825184,
"mean": 0.007756636440753938,
"stdev": 0.0015732008146952731,
"p50": 0.007486301898956299,
"p90": 0.008248635768890381,
"p95": 0.008303900384902954,
"p99": 0.013071412191390965,
"values": [
0.007110063076019287,
0.007063502788543701,
0.0070558228492736816,
0.007049743175506592,
0.007013742923736572,
0.007017743110656738,
0.007049582958221436,
0.007053583145141601,
0.007021102905273437,
0.007235023021697998,
0.00705758285522461,
0.007036783218383789,
0.00700510311126709,
0.007014382839202881,
0.009123019218444824,
0.0074940619468688964,
0.007851340770721436,
0.01979435157775879,
0.007934541225433349,
0.007657261848449707,
0.008180621147155762,
0.00826941967010498,
0.0080729398727417,
0.008200139999389648,
0.007383341789245605,
0.007628781795501709,
0.007490062236785889,
0.007466541767120361,
0.007484141826629639,
0.007477581977844238,
0.007495182037353516,
0.007519021987915039,
0.0075980620384216305,
0.0075099020004272465,
0.007455982208251953,
0.00755390214920044,
0.007477901935577393,
0.007412302970886231,
0.007465102195739746,
0.007488461971282959,
0.007497422218322754,
0.007402863025665283,
0.007455182075500488,
0.007408942222595215,
0.007480621814727783,
0.0074395031929016114,
0.007452782154083252,
0.007434542179107666,
0.007570221900939942,
0.008312299728393554,
0.008143500328063965,
0.007732781887054443,
0.007700781822204589,
0.00829038143157959,
0.008305100440979004,
0.007774701118469238,
0.007957261085510254,
0.008297100067138671,
0.008072300910949707,
0.007562382221221924,
0.0074039831161499025,
0.007597102165222168,
0.007428621768951416,
0.007436621189117432
]
},
"throughput": {
"unit": "tokens/s",
"value": 128.9218603499226
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 64,
"total": 0.45307299280166635,
"mean": 0.007079265512526035,
"stdev": 0.00037938005797866366,
"p50": 0.006954543590545655,
"p90": 0.007655197143554688,
"p95": 0.007782565784454345,
"p99": 0.008085024547576902,
"values": [
0.00670798397064209,
0.006670063972473145,
0.006673264026641846,
0.0066673440933227536,
0.006646224021911621,
0.0066532640457153324,
0.006679984092712402,
0.006678224086761475,
0.006657264232635498,
0.00686702299118042,
0.006689583778381348,
0.006680784225463868,
0.0066483039855957035,
0.006646063804626465,
0.008578539848327637,
0.006951344013214111,
0.007344302177429199,
0.007114542961120606,
0.0073753418922424315,
0.007135982990264893,
0.007641421794891357,
0.007748301029205322,
0.007530220985412598,
0.007661100864410401,
0.006910542964935303,
0.007127502918243408,
0.006961583137512207,
0.006957743167877197,
0.006967022895812989,
0.006941904067993164,
0.006950063228607178,
0.006992783069610596,
0.007035343170166015,
0.0069806227684020995,
0.00693630313873291,
0.007064143180847168,
0.006946543216705322,
0.006919663906097412,
0.006917582988739014,
0.006971502780914306,
0.006971024036407471,
0.006896944046020508,
0.006919823169708252,
0.006911503791809082,
0.006940302848815918,
0.006923344135284424,
0.0069348630905151365,
0.006908302783966065,
0.0070529432296752926,
0.00775822114944458,
0.007609900951385498,
0.007206862926483155,
0.007220303058624268,
0.007795182228088379,
0.007786861896514893,
0.007276302814483643,
0.007459661960601807,
0.007787821769714355,
0.007597102165222168,
0.007076463222503662,
0.0069230241775512695,
0.00704990291595459,
0.006920622825622559,
0.0069183831214904784
]
},
"throughput": {
"unit": "tokens/s",
"value": 141.25759208078895
},
"energy": null,
"efficiency": null
}
}
}