IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
f2b080d verified
raw
history blame
15.5 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.672832,
"max_global_vram": 68702.69952,
"max_process_vram": 47891.78368,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3138544921875,
"mean": 8.3138544921875,
"stdev": 0.0,
"p50": 8.3138544921875,
"p90": 8.3138544921875,
"p95": 8.3138544921875,
"p99": 8.3138544921875,
"values": [
8.3138544921875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1248.989184,
"max_global_vram": 68702.69952,
"max_process_vram": 296460.3904,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 63,
"total": 0.5074574947357176,
"mean": 0.008054880868820915,
"stdev": 0.0003127811845866397,
"p50": 0.007873421192169189,
"p90": 0.008664426803588868,
"p95": 0.008813467025756836,
"p99": 0.008861811676025391,
"values": [
0.008735339164733886,
0.008846858978271484,
0.00874621868133545,
0.008154541015625,
0.008079980850219727,
0.00803758144378662,
0.00797662115097046,
0.007987181186676025,
0.008034380912780761,
0.00810110092163086,
0.008043020248413087,
0.007974700927734375,
0.007952300071716309,
0.008259659767150878,
0.008023981094360352,
0.00784942102432251,
0.007825581073760987,
0.00783790111541748,
0.00793149995803833,
0.00783358097076416,
0.007832941055297851,
0.007841421127319335,
0.007830700874328612,
0.007823501110076904,
0.007843660831451415,
0.007843501091003418,
0.0077939009666442875,
0.00782702112197876,
0.007848300933837891,
0.007846381187438965,
0.007850700855255128,
0.007830700874328612,
0.007852780818939208,
0.007836300849914551,
0.007846860885620118,
0.00784446096420288,
0.007880940914154052,
0.007857901096343994,
0.007873421192169189,
0.007866701126098634,
0.008053420066833496,
0.007855340957641602,
0.007859661102294921,
0.00785646104812622,
0.007850380897521972,
0.007960141181945801,
0.00783694076538086,
0.00786142110824585,
0.007804461002349853,
0.007825740814208984,
0.007820301055908203,
0.008883338928222656,
0.00864573860168457,
0.008235980033874511,
0.008218700408935548,
0.008669098854064942,
0.008361740112304688,
0.008820939064025878,
0.008192940711975098,
0.008252140045166015,
0.008317099571228028,
0.008848617553710938,
0.00832334041595459
]
},
"throughput": {
"unit": "tokens/s",
"value": 248.29665796072325
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1249.050624,
"max_global_vram": 68702.69952,
"max_process_vram": 309681.4592,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 63,
"total": 0.49442360115051276,
"mean": 0.007847993669055758,
"stdev": 0.0014602451989279524,
"p50": 0.007560622215270996,
"p90": 0.008060555839538575,
"p95": 0.008324988174438476,
"p99": 0.01248128213882449,
"values": [
0.008374859809875488,
0.00820829963684082,
0.007875980854034424,
0.007666380882263184,
0.007668941020965576,
0.007588140964508057,
0.007624141216278076,
0.007639341831207276,
0.007651021957397461,
0.00782974100112915,
0.007575821876525879,
0.0075385417938232425,
0.007620461940765381,
0.007558541774749756,
0.007560622215270996,
0.007473902225494385,
0.007456461906433106,
0.007466382026672364,
0.007520942211151123,
0.007488142013549805,
0.007489902019500732,
0.007549901962280273,
0.0076305408477783205,
0.007520462036132812,
0.0074819021224975584,
0.0075031819343566895,
0.007500621795654297,
0.007620942115783691,
0.007525900840759278,
0.0074555020332336425,
0.0074964618682861325,
0.007514222145080567,
0.007495341777801513,
0.007504461765289306,
0.00745838212966919,
0.007622220993041992,
0.007492301940917968,
0.007493261814117432,
0.00756670093536377,
0.01918123435974121,
0.007515182018280029,
0.007493102073669434,
0.007494542121887207,
0.007480621814727783,
0.0074603018760681155,
0.007517580986022949,
0.007494542121887207,
0.007508461952209473,
0.007591182231903076,
0.007474222183227539,
0.008060779571533203,
0.008290860176086426,
0.00773374080657959,
0.0077302207946777345,
0.007997581005096436,
0.007702540874481201,
0.008328780174255371,
0.008360138893127441,
0.007855501174926758,
0.008015338897705077,
0.007946701049804687,
0.008059660911560058,
0.007821900844573975
]
},
"throughput": {
"unit": "tokens/s",
"value": 127.42110177062825
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 63,
"total": 0.460881763458252,
"mean": 0.007315583546956379,
"stdev": 0.001469128719115935,
"p50": 0.007036942958831787,
"p90": 0.007550189208984375,
"p95": 0.0077579968929290775,
"p99": 0.011976506032943753,
"values": [
0.007730062007904053,
0.007627181053161621,
0.007279982089996338,
0.007127662181854248,
0.007106061935424805,
0.007042383193969727,
0.007085262775421142,
0.007089423179626465,
0.007109902858734131,
0.0073062219619750976,
0.007079503059387207,
0.007036942958831787,
0.007074382781982422,
0.007043182849884033,
0.007020302772521973,
0.00695054292678833,
0.006968623161315918,
0.006956623077392578,
0.0070086240768432615,
0.006958542823791504,
0.006954223155975342,
0.006974702835083008,
0.007106702804565429,
0.007002064228057861,
0.00696254301071167,
0.006972463130950928,
0.006964942932128906,
0.007098863124847412,
0.006964463233947754,
0.006953264236450195,
0.006968782901763916,
0.006951023101806641,
0.006954863071441651,
0.00696206283569336,
0.0069420628547668456,
0.007077103137969971,
0.006954543113708496,
0.006963663101196289,
0.007012143135070801,
0.018726356506347658,
0.00697822380065918,
0.006971662998199463,
0.0069654231071472165,
0.006939982891082764,
0.006950383186340332,
0.006975822925567627,
0.006969742774963379,
0.006981583118438721,
0.007045423030853272,
0.0069207830429077145,
0.007555500984191894,
0.007761100769042969,
0.007198862075805664,
0.007202542781829834,
0.00747582197189331,
0.007190062999725342,
0.007812140941619873,
0.007839500904083252,
0.007356142044067383,
0.007457901000976563,
0.007448462009429932,
0.0075289421081542966,
0.007287501811981201
]
},
"throughput": {
"unit": "tokens/s",
"value": 136.69449519389963
},
"energy": null,
"efficiency": null
}
}
}