IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
986d549 verified
raw
history blame
10.9 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "6",
"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": 908.14464,
"max_global_vram": 841.781248,
"max_process_vram": 44127.731712,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.5796474609375,
"mean": 7.5796474609375,
"stdev": 0.0,
"p50": 7.5796474609375,
"p90": 7.5796474609375,
"p95": 7.5796474609375,
"p99": 7.5796474609375,
"values": [
7.5796474609375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1019.047936,
"max_global_vram": 897.921024,
"max_process_vram": 227310.44864,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 120,
"total": 0.9992206125259401,
"mean": 0.008326838437716167,
"stdev": 0.0012987484932738425,
"p50": 0.008257853031158446,
"p90": 0.008300876712799072,
"p95": 0.008343941116333008,
"p99": 0.01065097829818726,
"values": [
0.008558414459228515,
0.010993617057800293,
0.008572174072265624,
0.008276172637939453,
0.008288972854614258,
0.00827297306060791,
0.008248493194580079,
0.009190255165100098,
0.0082659330368042,
0.008259213447570801,
0.008320173263549805,
0.008269132614135742,
0.008260333061218261,
0.008281292915344239,
0.008295534133911132,
0.008300812721252441,
0.0082756929397583,
0.008077773094177246,
0.007896652221679687,
0.008189453125,
0.008197612762451172,
0.008192973136901855,
0.008215052604675293,
0.00821249294281006,
0.008232333183288575,
0.008187692642211914,
0.008256973266601563,
0.008199692726135254,
0.00821793270111084,
0.008224971771240234,
0.008191692352294921,
0.008228013038635254,
0.008203212738037109,
0.008227692604064942,
0.008218572616577149,
0.008236332893371582,
0.008224332809448242,
0.00825985336303711,
0.008251532554626465,
0.008251373291015624,
0.008262252807617188,
0.008263052940368653,
0.00820449161529541,
0.008221293449401855,
0.008216492652893067,
0.008202572822570801,
0.008186412811279296,
0.008215052604675293,
0.008241453170776368,
0.008232333183288575,
0.00824785327911377,
0.008293932914733886,
0.008234092712402344,
0.008231693267822266,
0.008249293327331543,
0.00827729320526123,
0.008224493026733398,
0.008201613426208496,
0.00824785327911377,
0.008255693435668945,
0.008299532890319825,
0.008243852615356446,
0.00824529266357422,
0.008236013412475585,
0.008208012580871582,
0.008257613182067872,
0.008271853446960449,
0.020822912216186523,
0.0027374439239501954,
0.005876169204711914,
0.008298413276672363,
0.00830145263671875,
0.00830641269683838,
0.008268973350524903,
0.008231852531433105,
0.008277453422546387,
0.008284493446350098,
0.008290733337402344,
0.008276812553405762,
0.008264972686767577,
0.008258893013000488,
0.008241613388061524,
0.008276494026184082,
0.008284652709960937,
0.008219053268432617,
0.008286892890930176,
0.008270893096923828,
0.00828225326538086,
0.008277453422546387,
0.008332653045654297,
0.00827201271057129,
0.008273292541503906,
0.008264172554016113,
0.008313773155212402,
0.008290892601013183,
0.008251852989196777,
0.008266253471374512,
0.008238093376159668,
0.008256173133850098,
0.0082756929397583,
0.008231212615966797,
0.008270092964172363,
0.008612013816833497,
0.00831937313079834,
0.008186573028564454,
0.008286092758178711,
0.00826689338684082,
0.008244173049926758,
0.008291852951049805,
0.008264653205871582,
0.008284812927246093,
0.008294093132019042,
0.008241931915283203,
0.00825505256652832,
0.00828161334991455,
0.008233933448791505,
0.008244492530822755,
0.008258732795715332,
0.008228973388671875,
0.008258092880249023
]
},
"throughput": {
"unit": "samples/s",
"value": 120.09359944712386
},
"energy": null,
"efficiency": null
}
}
}