|
{ |
|
"config": { |
|
"name": "2024-10-03-12-11-44/pytorch", |
|
"backend": { |
|
"name": "pytorch", |
|
"version": "2.4.1", |
|
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", |
|
"task": "feature-extraction", |
|
"library": "transformers", |
|
"model_type": "gpt2", |
|
"model": "openai-community/gpt2", |
|
"processor": "openai-community/gpt2", |
|
"device": "cpu", |
|
"device_ids": null, |
|
"seed": 42, |
|
"inter_op_num_threads": null, |
|
"intra_op_num_threads": null, |
|
"model_kwargs": {}, |
|
"processor_kwargs": {}, |
|
"no_weights": false, |
|
"device_map": null, |
|
"torch_dtype": "float32", |
|
"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": 10, |
|
"duration": 10, |
|
"warmup_runs": 10, |
|
"input_shapes": { |
|
"batch_size": 2, |
|
"num_choices": 2, |
|
"sequence_length": 16 |
|
}, |
|
"new_tokens": null, |
|
"memory": true, |
|
"latency": true, |
|
"energy": false, |
|
"forward_kwargs": {}, |
|
"generate_kwargs": { |
|
"max_new_tokens": 32, |
|
"min_new_tokens": 32 |
|
}, |
|
"call_kwargs": {} |
|
}, |
|
"launcher": { |
|
"name": "process", |
|
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", |
|
"device_isolation": false, |
|
"device_isolation_action": null, |
|
"numactl": true, |
|
"numactl_kwargs": { |
|
"cpunodebind": 0, |
|
"membind": 0 |
|
}, |
|
"start_method": "spawn" |
|
}, |
|
"environment": { |
|
"cpu": " AMD EPYC 7R13 Processor", |
|
"cpu_count": 64, |
|
"cpu_ram_mb": 529717.026816, |
|
"system": "Linux", |
|
"machine": "x86_64", |
|
"platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36", |
|
"processor": "", |
|
"python_version": "3.10.15", |
|
"optimum_benchmark_version": "0.5.0", |
|
"optimum_benchmark_commit": null, |
|
"transformers_version": "4.44.2", |
|
"transformers_commit": null, |
|
"accelerate_version": "0.34.2", |
|
"accelerate_commit": null, |
|
"diffusers_version": null, |
|
"diffusers_commit": null, |
|
"optimum_version": "1.22.0", |
|
"optimum_commit": null, |
|
"timm_version": null, |
|
"timm_commit": null, |
|
"peft_version": null, |
|
"peft_commit": null |
|
} |
|
}, |
|
"report": { |
|
"load": { |
|
"memory": { |
|
"unit": "MB", |
|
"max_ram": 1350.053888, |
|
"max_global_vram": null, |
|
"max_process_vram": null, |
|
"max_reserved": null, |
|
"max_allocated": null |
|
}, |
|
"latency": { |
|
"unit": "s", |
|
"values": [ |
|
5.446339800953865 |
|
], |
|
"count": 1, |
|
"total": 5.446339800953865, |
|
"mean": 5.446339800953865, |
|
"p50": 5.446339800953865, |
|
"p90": 5.446339800953865, |
|
"p95": 5.446339800953865, |
|
"p99": 5.446339800953865, |
|
"stdev": 0, |
|
"stdev_": 0 |
|
}, |
|
"throughput": null, |
|
"energy": null, |
|
"efficiency": null |
|
}, |
|
"forward": { |
|
"memory": { |
|
"unit": "MB", |
|
"max_ram": 1133.002752, |
|
"max_global_vram": null, |
|
"max_process_vram": null, |
|
"max_reserved": null, |
|
"max_allocated": null |
|
}, |
|
"latency": { |
|
"unit": "s", |
|
"values": [ |
|
0.07211260870099068, |
|
0.08712881058454514, |
|
0.03192144259810448, |
|
0.08901969343423843, |
|
0.08365127816796303, |
|
0.030785299837589264, |
|
0.09117395803332329, |
|
0.08516648039221764, |
|
0.08884396776556969, |
|
0.03202417492866516, |
|
0.08828726038336754, |
|
0.08974859118461609, |
|
0.08621463179588318, |
|
0.03249753266572952, |
|
0.08844377845525742, |
|
0.08403347060084343, |
|
0.0316540002822876, |
|
0.08734548836946487, |
|
0.08284838870167732, |
|
0.031995829194784164, |
|
0.08778147399425507, |
|
0.08311906084418297, |
|
0.08883332461118698, |
|
0.029844172298908234, |
|
0.08430439606308937, |
|
0.08893497660756111, |
|
0.0325552299618721, |
|
0.08627215400338173, |
|
0.08953828364610672, |
|
0.03022896870970726, |
|
0.08486832678318024, |
|
0.08853471279144287, |
|
0.08460183069109917, |
|
0.031494658440351486, |
|
0.09973353520035744, |
|
0.0833778828382492, |
|
0.08785052970051765, |
|
0.03373149409890175, |
|
0.08212831988930702, |
|
0.08821769058704376, |
|
0.03391868621110916, |
|
0.08439534902572632, |
|
0.08856771141290665, |
|
0.03235815465450287, |
|
0.08359530940651894, |
|
0.08816565945744514, |
|
0.08489584550261497, |
|
0.03110184147953987, |
|
0.08856809511780739, |
|
0.08459892123937607, |
|
0.031157534569501877, |
|
0.08733880892395973, |
|
0.0841650553047657, |
|
0.030547112226486206, |
|
0.08782298490405083, |
|
0.08472080156207085, |
|
0.09423286840319633, |
|
0.032623693346977234, |
|
0.08440857008099556, |
|
0.08756478875875473, |
|
0.0318482331931591, |
|
0.08350762352347374, |
|
0.08946392312645912, |
|
0.0847887471318245, |
|
0.03126977011561394, |
|
0.08786434307694435, |
|
0.08619091287255287, |
|
0.03135005757212639, |
|
0.09026874974370003, |
|
0.08420547842979431, |
|
0.2983642518520355, |
|
0.031972017139196396, |
|
0.07953934371471405, |
|
0.09058502689003944, |
|
0.030382290482521057, |
|
0.08372338488698006, |
|
0.08971590921282768, |
|
0.08407830446958542, |
|
0.03121604397892952, |
|
0.09072363004088402, |
|
0.08343665674328804, |
|
0.031056031584739685, |
|
0.08707237988710403, |
|
0.0848214440047741, |
|
0.03190623223781586, |
|
0.08785221725702286, |
|
0.08411530405282974, |
|
0.08981222659349442, |
|
0.030464816838502884, |
|
0.08419576287269592, |
|
0.08932027220726013, |
|
0.0317525789141655, |
|
0.08719335496425629, |
|
0.08823258802294731, |
|
0.08838725090026855, |
|
0.03081253543496132, |
|
0.08262435719370842, |
|
0.09577960520982742, |
|
0.032657597213983536, |
|
0.0792769230902195, |
|
0.08840733394026756, |
|
0.032758817076683044, |
|
0.08042096719145775, |
|
0.08879368752241135, |
|
0.03085567057132721, |
|
0.0852825678884983, |
|
0.08746981993317604, |
|
0.08388468250632286, |
|
0.03197556361556053, |
|
0.08930324390530586, |
|
0.08320152387022972, |
|
0.032891955226659775, |
|
0.0874667540192604, |
|
0.08433596789836884, |
|
0.08781297504901886, |
|
0.029759343713521957, |
|
0.08411829546093941, |
|
0.08842362463474274, |
|
0.030253786593675613, |
|
0.08527141436934471, |
|
0.08821740001440048, |
|
0.03176594153046608, |
|
0.08352569490671158, |
|
0.08811841905117035, |
|
0.03093539923429489, |
|
0.08662167191505432, |
|
0.08222931995987892, |
|
0.031720247119665146, |
|
0.08853322267532349, |
|
0.10124259814620018, |
|
0.09010403230786324, |
|
0.08753561228513718, |
|
0.09024511277675629, |
|
0.034699127078056335, |
|
0.08595048263669014, |
|
0.09234531223773956, |
|
0.09113291651010513, |
|
0.03464493155479431, |
|
0.08296076953411102 |
|
], |
|
"count": 139, |
|
"total": 10.072639882564545, |
|
"mean": 0.07246503512636362, |
|
"p50": 0.08440857008099556, |
|
"p90": 0.08976131826639175, |
|
"p95": 0.09113702066242695, |
|
"p99": 0.10066915422677994, |
|
"stdev": 0.031620398342282356, |
|
"stdev_": 43.63538675879077 |
|
}, |
|
"throughput": { |
|
"unit": "samples/s", |
|
"value": 27.599517429508243 |
|
}, |
|
"energy": null, |
|
"efficiency": null |
|
} |
|
} |
|
} |