IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
b1f0c50 verified
raw
history blame
15 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.2.2+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": "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.1",
"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": 907.444224,
"max_global_vram": 1011.757056,
"max_process_vram": 45266.857984,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.2232802734375,
"mean": 7.2232802734375,
"stdev": 0.0,
"p50": 7.2232802734375,
"p90": 7.2232802734375,
"p95": 7.2232802734375,
"p99": 7.2232802734375,
"values": [
7.2232802734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1062.887424,
"max_global_vram": 1107.492864,
"max_process_vram": 288887.513088,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 59,
"total": 0.5174721298217775,
"mean": 0.008770714064775888,
"stdev": 0.0015759005186976288,
"p50": 0.008707983016967773,
"p90": 0.009028046798706056,
"p95": 0.009095438957214354,
"p99": 0.013968961181640644,
"values": [
0.020370199203491212,
0.009333581924438476,
0.009163983345031738,
0.009038541793823242,
0.00905918312072754,
0.009087822914123534,
0.008991183280944825,
0.009025423049926758,
0.008698542594909668,
0.008029105186462403,
0.007972624778747559,
0.00827822494506836,
0.007885425090789796,
0.008290224075317383,
0.00806590461730957,
0.008909262657165528,
0.007953104972839355,
0.008508463859558106,
0.008436464309692382,
0.00889934253692627,
0.008859023094177246,
0.008867982864379884,
0.00891118335723877,
0.008886383056640626,
0.008693903923034667,
0.008850863456726074,
0.008861103057861329,
0.008892622947692871,
0.00890366268157959,
0.008879022598266601,
0.008527664184570313,
0.007894225120544433,
0.008084944725036621,
0.00784590482711792,
0.0078732647895813,
0.008426223754882813,
0.007845584869384765,
0.007869104862213134,
0.00784270477294922,
0.00826750373840332,
0.008378383636474609,
0.008432304382324219,
0.008345423698425293,
0.008281264305114746,
0.008401264190673828,
0.008849102973937989,
0.008585583686828614,
0.008932622909545898,
0.00880302333831787,
0.008400143623352051,
0.008288623809814454,
0.008707983016967773,
0.008924942970275879,
0.008783343315124512,
0.00887678337097168,
0.008885103225708008,
0.008817422866821288,
0.008855982780456543,
0.008843342781066894
]
},
"throughput": {
"unit": "tokens/s",
"value": 228.03160440860918
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1063.043072,
"max_global_vram": 1107.53792,
"max_process_vram": 283017.121792,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 59,
"total": 0.48887729692459114,
"mean": 0.008286055880077815,
"stdev": 0.0004155620093154573,
"p50": 0.008504143714904785,
"p90": 0.008734126663208008,
"p95": 0.008770319271087648,
"p99": 0.008939899463653565,
"values": [
0.008943982124328613,
0.008936943054199219,
0.008767183303833009,
0.008724143981933594,
0.008710223197937012,
0.008669262886047363,
0.008654542922973633,
0.008755983352661133,
0.007789744853973389,
0.007997105121612549,
0.007653264999389648,
0.007821424961090088,
0.007578226089477539,
0.007629425048828125,
0.008738862991333007,
0.008410703659057618,
0.007894225120544433,
0.008060943603515626,
0.008713262557983398,
0.008537103652954101,
0.008732942581176758,
0.008717903137207031,
0.008798542976379395,
0.008162544250488282,
0.008517582893371583,
0.008621583938598633,
0.008510064125061036,
0.008624942779541015,
0.008558544158935547,
0.008557422637939453,
0.007668785095214844,
0.007620144844055176,
0.007602065086364746,
0.007693105220794678,
0.007633106231689453,
0.00801230525970459,
0.007700624942779541,
0.007613584995269775,
0.0077527852058410646,
0.008022065162658692,
0.008173904418945312,
0.008074383735656738,
0.008136944770812988,
0.008006064414978028,
0.008075505256652833,
0.00850590419769287,
0.00856894302368164,
0.008625903129577638,
0.008160944938659667,
0.008027024269104004,
0.007992465019226075,
0.008689263343811034,
0.00838814353942871,
0.008535984039306641,
0.008600942611694336,
0.008504143714904785,
0.008576943397521972,
0.008519824028015138,
0.00860686206817627
]
},
"throughput": {
"unit": "tokens/s",
"value": 120.68467971647434
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 59,
"total": 0.4514541716575623,
"mean": 0.007651765621314613,
"stdev": 0.00039034589488841733,
"p50": 0.007878064155578613,
"p90": 0.008068560218811034,
"p95": 0.008108929061889649,
"p99": 0.008185949306488038,
"values": [
0.008203023910522462,
0.008173584938049316,
0.008144783973693847,
0.008075345039367675,
0.008104945182800293,
0.00802238368988037,
0.008066864013671874,
0.008086064338684081,
0.007234066009521484,
0.007404305934906006,
0.007077267169952392,
0.007220786094665527,
0.00700590705871582,
0.007023345947265625,
0.007972303867340089,
0.007623505115509033,
0.007131987094879151,
0.007376465797424316,
0.007970705032348632,
0.007956464767456055,
0.007978064060211182,
0.007977105140686036,
0.008057904243469239,
0.0077839851379394535,
0.007878064155578613,
0.007988784790039062,
0.00790318489074707,
0.00795022487640381,
0.00792270517349243,
0.007925905227661133,
0.007051986217498779,
0.007030066013336182,
0.007029905796051026,
0.00707470703125,
0.007016306877136231,
0.007385746002197265,
0.007051506042480469,
0.007039666175842285,
0.007155025959014892,
0.007385265827178955,
0.007548305034637451,
0.0074289460182189945,
0.007542225837707519,
0.007432785034179688,
0.007425106048583984,
0.007934864997863769,
0.00794878387451172,
0.007985105037689209,
0.0075407857894897465,
0.0074572649002075195,
0.007360146045684814,
0.008049104690551758,
0.007753264904022217,
0.007934225082397462,
0.007959343910217286,
0.007918865203857421,
0.00790206480026245,
0.00791086483001709,
0.007961905002593994
]
},
"throughput": {
"unit": "tokens/s",
"value": 130.68879125288666
},
"energy": null,
"efficiency": null
}
}
}