IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
ef18550 verified
raw
history blame
16 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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": "error",
"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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1389.694976,
"max_global_vram": 11.235328,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.01760205078125,
"mean": 8.01760205078125,
"stdev": 0.0,
"p50": 8.01760205078125,
"p90": 8.01760205078125,
"p95": 8.01760205078125,
"p99": 8.01760205078125,
"values": [
8.01760205078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1548.361728,
"max_global_vram": 11.313152,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 67,
"total": 0.49247160005569457,
"mean": 0.007350322388890964,
"stdev": 0.00033090611981269634,
"p50": 0.0073282928466796874,
"p90": 0.007857411098480224,
"p95": 0.007879714965820312,
"p99": 0.00800111873626709,
"values": [
0.007864931106567382,
0.00773789119720459,
0.007736291885375977,
0.0075639719963073735,
0.0075518121719360355,
0.007441092014312744,
0.007260453224182129,
0.008220449447631836,
0.007426692008972168,
0.007316292762756348,
0.007243813037872315,
0.007205412864685058,
0.0073282928466796874,
0.007495331764221192,
0.007313732147216797,
0.00724301290512085,
0.007349092960357666,
0.007191652774810791,
0.007437572002410888,
0.00730797290802002,
0.007328611850738525,
0.00709021282196045,
0.007350051879882812,
0.007375973224639893,
0.007515652179718018,
0.0073455719947814946,
0.0078694109916687,
0.007841890811920165,
0.007848290920257569,
0.007635811805725098,
0.007567972183227539,
0.007852611064910888,
0.007864611148834228,
0.007847169876098632,
0.007884130954742432,
0.007405091762542724,
0.007274052143096924,
0.007420452117919922,
0.007233413219451904,
0.007458531856536865,
0.007178372859954834,
0.007248292922973633,
0.006933733940124511,
0.006940773963928223,
0.006933094024658203,
0.0069348540306091305,
0.006951653957366943,
0.0069398140907287595,
0.006969414234161377,
0.006938374042510987,
0.006946214199066162,
0.0069329338073730465,
0.006935015201568604,
0.006941733837127685,
0.007135333061218262,
0.007199973106384277,
0.00701949405670166,
0.0069679741859436034,
0.0069818940162658695,
0.0069518141746521,
0.0069378938674926754,
0.006940293788909912,
0.007885090827941895,
0.007888130187988281,
0.007719010829925537,
0.007406531810760498,
0.0074686121940612795
]
},
"throughput": {
"unit": "tokens/s",
"value": 272.0969087046759
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1548.632064,
"max_global_vram": 11.218944,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 67,
"total": 0.5104974589347839,
"mean": 0.007619365058728118,
"stdev": 0.0004752209907984507,
"p50": 0.0075518121719360355,
"p90": 0.008092802047729492,
"p95": 0.008120849514007569,
"p99": 0.008961038608551034,
"values": [
0.008076930046081543,
0.008166529655456544,
0.00794285011291504,
0.00772157096862793,
0.007637570858001709,
0.007539492130279541,
0.0075327720642089846,
0.0077887711524963375,
0.0077220511436462405,
0.007690210819244384,
0.007470372200012207,
0.007563491821289062,
0.007637250900268555,
0.007622851848602295,
0.007541731834411621,
0.007465571880340576,
0.007468132019042969,
0.010503320693969727,
0.0074170918464660646,
0.007380453109741211,
0.007637092113494873,
0.007371653079986573,
0.007728450775146485,
0.0075518121719360355,
0.007724131107330322,
0.0077814111709594725,
0.008108770370483399,
0.008105090141296387,
0.007906050205230712,
0.007823649883270264,
0.008110210418701172,
0.008125409126281739,
0.008076769828796387,
0.008074370384216309,
0.008076290130615234,
0.007585092067718506,
0.007693252086639404,
0.0075854120254516605,
0.007442051887512207,
0.0074482917785644535,
0.007448933124542236,
0.007179333209991455,
0.007178372859954834,
0.007185092926025391,
0.007349573135375977,
0.007137413024902344,
0.00717837381362915,
0.0071540532112121585,
0.007306212902069092,
0.007165253162384033,
0.00719709300994873,
0.007157413959503174,
0.007171012878417969,
0.007191173076629639,
0.007271492958068847,
0.00724573278427124,
0.0072610931396484375,
0.007248612880706787,
0.007213412761688232,
0.0072634930610656736,
0.007262372970581054,
0.008127969741821289,
0.008058850288391112,
0.008084609985351562,
0.00759581184387207,
0.007440132141113281,
0.007580292224884033
]
},
"throughput": {
"unit": "tokens/s",
"value": 131.24453183332938
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 67,
"total": 0.4769174213409424,
"mean": 0.00711817046777526,
"stdev": 0.0004550476793019256,
"p50": 0.0070178937911987305,
"p90": 0.007582404041290283,
"p95": 0.007612595653533935,
"p99": 0.008407251453399666,
"values": [
0.007416613101959228,
0.007543972015380859,
0.007341092109680176,
0.007116133213043213,
0.007111972808837891,
0.0070130939483642575,
0.006969893932342529,
0.0072494130134582516,
0.007173254013061524,
0.007167653083801269,
0.006943173885345459,
0.0070178937911987305,
0.007089252948760986,
0.007073254108428955,
0.006981574058532715,
0.006951653957366943,
0.006971173763275147,
0.00990444278717041,
0.006952454090118408,
0.006916614055633545,
0.007139493942260742,
0.006929893970489502,
0.007254532814025879,
0.007055654048919678,
0.007242372989654541,
0.007276772975921631,
0.007609731197357178,
0.007614212036132812,
0.007455811977386474,
0.0073762922286987305,
0.007613411903381348,
0.0076106910705566405,
0.007585571765899658,
0.007569252014160156,
0.007580292224884033,
0.007089573860168457,
0.007205413818359375,
0.007140132904052734,
0.006987813949584961,
0.006944454193115234,
0.006991973876953125,
0.006726054191589356,
0.006723175048828125,
0.0067265348434448246,
0.006876615047454834,
0.006688294887542724,
0.006706695079803467,
0.006703654766082764,
0.00683885383605957,
0.006709575176239014,
0.006732295036315918,
0.006688934803009033,
0.006711655139923096,
0.00669565486907959,
0.00679933500289917,
0.006763335227966309,
0.006767334938049316,
0.006763014793395996,
0.006699174880981445,
0.00675677490234375,
0.006757734775543213,
0.007635971069335937,
0.007568131923675537,
0.007571812152862549,
0.007126373767852783,
0.006945573806762696,
0.007056932926177978
]
},
"throughput": {
"unit": "tokens/s",
"value": 140.48553691248472
},
"energy": null,
"efficiency": null
}
}
}