IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
299ac5d verified
raw
history blame
15 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": 1043.39456,
"max_global_vram": 68702.69952,
"max_process_vram": 48701.579264,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.6475537109375,
"mean": 8.6475537109375,
"stdev": 0.0,
"p50": 8.6475537109375,
"p90": 8.6475537109375,
"p95": 8.6475537109375,
"p99": 8.6475537109375,
"values": [
8.6475537109375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1212.57984,
"max_global_vram": 68702.69952,
"max_process_vram": 296290.410496,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 59,
"total": 0.5406907691955566,
"mean": 0.009164250325348417,
"stdev": 0.002934427697459677,
"p50": 0.008443174362182617,
"p90": 0.009311394500732421,
"p95": 0.011448620033264103,
"p99": 0.022072854576110842,
"values": [
0.009304930686950683,
0.009337249755859376,
0.009162851333618164,
0.021191932678222655,
0.008600293159484863,
0.008735973358154297,
0.008374053001403809,
0.008179014205932617,
0.00816829490661621,
0.00890045166015625,
0.008418374061584473,
0.008473413467407227,
0.00848205280303955,
0.008557092666625977,
0.008453733444213867,
0.008418052673339844,
0.00844221305847168,
0.008431492805480957,
0.008441733360290528,
0.008453252792358399,
0.00840589427947998,
0.008420613288879395,
0.00818541431427002,
0.007502376079559326,
0.00843949317932129,
0.00842413330078125,
0.008436774253845215,
0.008455972671508789,
0.008416613578796387,
0.00842141342163086,
0.023289365768432616,
0.008054213523864746,
0.008066214561462403,
0.008128134727478028,
0.008080134391784668,
0.007600296020507813,
0.007619656085968017,
0.007461095809936523,
0.007992774963378906,
0.008530213356018066,
0.008562052726745605,
0.008384293556213378,
0.00842685317993164,
0.008459173202514648,
0.008443174362182617,
0.00870669174194336,
0.00849293327331543,
0.008586372375488281,
0.008472932815551757,
0.008481892585754394,
0.020330656051635743,
0.00861021327972412,
0.008433733940124512,
0.008540613174438477,
0.008414692878723144,
0.0092364501953125,
0.010461727142333984,
0.010024448394775391,
0.009164610862731933
]
},
"throughput": {
"unit": "tokens/s",
"value": 218.23934626359758
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1212.78464,
"max_global_vram": 68702.69952,
"max_process_vram": 308695.359488,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 59,
"total": 0.4678049111366272,
"mean": 0.007928896798925885,
"stdev": 0.0006819635503160039,
"p50": 0.0077529349327087405,
"p90": 0.008774724197387694,
"p95": 0.00901909093856811,
"p99": 0.010436594219207765,
"values": [
0.008773732185363769,
0.008790851593017578,
0.0084913330078125,
0.00810205364227295,
0.008343652725219726,
0.008383973121643067,
0.007695176124572754,
0.007631336212158203,
0.011158204078674317,
0.007980934143066406,
0.007815014839172364,
0.007775495052337647,
0.007682695865631104,
0.007751494884490967,
0.00771997594833374,
0.007747334957122803,
0.007765895843505859,
0.0077865347862243655,
0.007738056182861328,
0.007721574783325196,
0.007739974975585938,
0.007721896171569824,
0.007179656982421875,
0.007754374980926513,
0.00778541612625122,
0.0077553348541259766,
0.0077529349327087405,
0.007747175216674805,
0.007692774772644043,
0.007736616134643555,
0.007608295917510987,
0.0074714961051940915,
0.007597896099090576,
0.007445256233215332,
0.0071052579879760745,
0.00715373706817627,
0.006855177879333496,
0.00686093807220459,
0.0077854151725769045,
0.0077938947677612305,
0.007694695949554443,
0.007744454860687256,
0.007736135959625244,
0.007732775211334229,
0.007737734794616699,
0.007815336227416992,
0.007795815944671631,
0.007786856174468994,
0.008945731163024903,
0.007748136043548584,
0.00779933500289917,
0.007742374897003174,
0.0079900541305542,
0.007817255020141602,
0.007762055873870849,
0.00991404914855957,
0.009679328918457032,
0.008778692245483399,
0.008185253143310547
]
},
"throughput": {
"unit": "tokens/s",
"value": 126.12095041210127
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 59,
"total": 0.4411766796112061,
"mean": 0.0074775708408679,
"stdev": 0.0006274766194138568,
"p50": 0.0073439769744873045,
"p90": 0.008182885932922363,
"p95": 0.008583060741424557,
"p99": 0.009796330413818362,
"values": [
0.008182374000549317,
0.00818493366241455,
0.007928454875946045,
0.007515655994415283,
0.007701254844665527,
0.007773574829101563,
0.0071033377647399904,
0.007043336868286133,
0.010594685554504395,
0.0075687761306762694,
0.007343976020812988,
0.007361257076263427,
0.0072847771644592284,
0.007352136135101319,
0.007299497127532959,
0.007340776920318604,
0.007367977142333984,
0.007384136199951172,
0.007327177047729492,
0.0073226971626281735,
0.0073215761184692385,
0.007314696788787842,
0.006823977947235107,
0.00734365701675415,
0.007390857219696045,
0.007345256805419922,
0.007344615936279297,
0.007345417022705078,
0.00729261589050293,
0.0073367772102355955,
0.007183337211608886,
0.007048458099365234,
0.00713405704498291,
0.007027017116546631,
0.006718859195709228,
0.006796298027038575,
0.006503979206085205,
0.00647629976272583,
0.007364776134490967,
0.007304296970367431,
0.007293416976928711,
0.007330057144165039,
0.00733325719833374,
0.007325736999511718,
0.007330056190490723,
0.007385256767272949,
0.007377737045288086,
0.0073842968940734865,
0.00853549289703369,
0.0073329367637634275,
0.007354056835174561,
0.007345256805419922,
0.007576776027679443,
0.007384137153625488,
0.0073439769744873045,
0.009218211174011231,
0.009011171340942382,
0.008273094177246094,
0.007644134998321533
]
},
"throughput": {
"unit": "tokens/s",
"value": 133.73326997246247
},
"energy": null,
"efficiency": null
}
}
}