IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
37f0e42 verified
raw
history blame
15.1 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": 1043.324928,
"max_global_vram": 68702.69952,
"max_process_vram": 46061.113344,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.326921875,
"mean": 8.326921875,
"stdev": 0.0,
"p50": 8.326921875,
"p90": 8.326921875,
"p95": 8.326921875,
"p99": 8.326921875,
"values": [
8.326921875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1212.628992,
"max_global_vram": 68702.69952,
"max_process_vram": 290360.324096,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 60,
"total": 0.5254757347106935,
"mean": 0.008757928911844888,
"stdev": 0.0008448583024234487,
"p50": 0.008556339263916015,
"p90": 0.008891236019134522,
"p95": 0.009277875852584837,
"p99": 0.011828829479217512,
"values": [
0.009211540222167969,
0.009265299797058105,
0.009629781723022462,
0.008891379356384278,
0.00884193992614746,
0.008780340194702148,
0.008801939964294434,
0.008891220092773438,
0.00885282039642334,
0.008838898658752441,
0.008870100021362305,
0.009516820907592774,
0.008744819641113281,
0.008689940452575684,
0.008525138854980468,
0.008528658866882324,
0.008545298576354981,
0.008566099166870117,
0.00850113868713379,
0.00852881908416748,
0.00851073932647705,
0.008618900299072266,
0.008514578819274903,
0.008539539337158203,
0.008512978553771972,
0.00853585910797119,
0.008554738998413086,
0.008527539253234863,
0.008526259422302247,
0.00860193920135498,
0.008490259170532227,
0.008507219314575196,
0.008534419059753417,
0.008573939323425293,
0.008555699348449707,
0.008551379203796387,
0.008556979179382324,
0.008526578903198242,
0.008550579071044923,
0.008535698890686035,
0.008543059349060059,
0.01499331283569336,
0.008617138862609864,
0.00850049877166748,
0.008485459327697753,
0.008600338935852051,
0.008531859397888183,
0.00871697998046875,
0.00851681900024414,
0.008523058891296387,
0.008557619094848633,
0.00848897933959961,
0.008524978637695312,
0.008529298782348633,
0.008559219360351563,
0.00858866024017334,
0.008557779312133789,
0.008647858619689941,
0.008572978973388672,
0.008572018623352051
]
},
"throughput": {
"unit": "tokens/s",
"value": 228.36449349286772
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1212.690432,
"max_global_vram": 68702.69952,
"max_process_vram": 294882.451456,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 60,
"total": 0.48628315830230723,
"mean": 0.008104719305038453,
"stdev": 0.0009175851619445586,
"p50": 0.007862898111343383,
"p90": 0.008450082969665528,
"p95": 0.008667475366592408,
"p99": 0.011252923831939675,
"values": [
0.008735058784484863,
0.014876193046569824,
0.008462899208068848,
0.008321619033813477,
0.008291057586669922,
0.008325938224792481,
0.00844865894317627,
0.008399538040161133,
0.008322579383850098,
0.008597298622131348,
0.008385619163513184,
0.008669299125671387,
0.007843377113342286,
0.00786225700378418,
0.007840817928314208,
0.00781265687942505,
0.007814577102661133,
0.00782401704788208,
0.007830256938934327,
0.007841938018798828,
0.007825936794281006,
0.00785569715499878,
0.007972497940063477,
0.007831057071685792,
0.007794737815856934,
0.007807537078857422,
0.007806897163391113,
0.00786305809020996,
0.007803697109222412,
0.007973137855529786,
0.0078718581199646,
0.007834577083587646,
0.007845297813415527,
0.007882737159729003,
0.007857297897338867,
0.007978898048400879,
0.00785025691986084,
0.007905938148498536,
0.007854736804962159,
0.007879858016967773,
0.00785681676864624,
0.008044978141784669,
0.007913137912750244,
0.008083058357238769,
0.007865137100219726,
0.00785329818725586,
0.00785729694366455,
0.007825936794281006,
0.008667379379272462,
0.007846898078918457,
0.007849936962127685,
0.007882577896118164,
0.00783937692642212,
0.00787409782409668,
0.007833296775817872,
0.007921297073364258,
0.007868658065795899,
0.00785937786102295,
0.007876495838165283,
0.007862738132476807
]
},
"throughput": {
"unit": "tokens/s",
"value": 123.38490234675136
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 60,
"total": 0.45994709730148303,
"mean": 0.007665784955024719,
"stdev": 0.0008913701656646703,
"p50": 0.007455216884613037,
"p90": 0.00788156886100769,
"p95": 0.008131313705444336,
"p99": 0.010740464067459087,
"values": [
0.008126097679138184,
0.014315872192382813,
0.007898416996002198,
0.007796018123626709,
0.007756176948547363,
0.007802737236022949,
0.0078796968460083,
0.00784305715560913,
0.00777105712890625,
0.008046737670898437,
0.007819538116455077,
0.00823041820526123,
0.007435535907745362,
0.007463056087493897,
0.00742177677154541,
0.007408815860748291,
0.007417457103729248,
0.007410255908966065,
0.007423855781555176,
0.0074409770965576175,
0.007428016185760498,
0.007436655998229981,
0.007570096969604492,
0.007427696228027344,
0.007383377075195313,
0.007407855987548828,
0.0073964958190917965,
0.007433456897735596,
0.007394735813140869,
0.007556817054748535,
0.007455216884613037,
0.007418896198272705,
0.007433297157287598,
0.007465775966644287,
0.007455216884613037,
0.007556336879730225,
0.007439695835113526,
0.0074910569190979005,
0.007445775985717774,
0.007462576866149902,
0.00744193696975708,
0.007605456829071045,
0.007474417209625244,
0.0076587371826171875,
0.007447535991668701,
0.00743377685546875,
0.007442895889282227,
0.007421135902404785,
0.008255858421325684,
0.0074294571876525875,
0.007446896076202392,
0.007469936847686768,
0.0074246559143066404,
0.00746161699295044,
0.00742145586013794,
0.007511856079101563,
0.007453456878662109,
0.007459856986999512,
0.007463535785675049,
0.007456017017364502
]
},
"throughput": {
"unit": "tokens/s",
"value": 130.449785099245
},
"energy": null,
"efficiency": null
}
}
}