IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1be346a verified
raw
history blame
10.8 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "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": 1079.209984,
"max_global_vram": 68702.69952,
"max_process_vram": 51423.154176,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 9.06703125,
"mean": 9.06703125,
"stdev": 0.0,
"p50": 9.06703125,
"p90": 9.06703125,
"p95": 9.06703125,
"p99": 9.06703125,
"values": [
9.06703125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1196.765184,
"max_global_vram": 68702.69952,
"max_process_vram": 218855.456768,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 118,
"total": 0.9960546023845674,
"mean": 0.0084411406981743,
"stdev": 0.0014093763372552636,
"p50": 0.008361454963684081,
"p90": 0.008550799369812012,
"p95": 0.008583711290359498,
"p99": 0.01590591592788695,
"values": [
0.008546735763549805,
0.008555854797363281,
0.008525774955749512,
0.008299215316772461,
0.008076974868774414,
0.00797745418548584,
0.008905616760253907,
0.0078115339279174805,
0.007805933952331543,
0.008116174697875976,
0.007926574230194092,
0.008419856071472168,
0.008418254852294922,
0.008138734817504883,
0.008361615180969239,
0.008051694869995117,
0.008410255432128906,
0.008359214782714845,
0.008367534637451171,
0.008298895835876464,
0.00839377498626709,
0.008410735130310059,
0.008567855834960938,
0.008351374626159667,
0.008336495399475098,
0.008315215110778809,
0.018560514450073243,
0.002846245050430298,
0.008417776107788086,
0.008371054649353027,
0.008348175048828125,
0.008327054977416991,
0.008337615013122558,
0.008345295906066894,
0.008328015327453614,
0.008345134735107422,
0.008335214614868164,
0.008340015411376953,
0.008321616172790527,
0.00834897518157959,
0.008549136161804199,
0.008313454627990723,
0.008296175003051758,
0.008372494697570801,
0.008471856117248535,
0.008552815437316895,
0.008535375595092773,
0.008471534729003907,
0.00850113582611084,
0.008545615196228028,
0.008568016052246094,
0.008668975830078125,
0.008635375022888183,
0.008542096138000489,
0.008446414947509766,
0.008379695892333984,
0.008434894561767579,
0.008462895393371582,
0.008439695358276367,
0.008424334526062012,
0.008380015373229981,
0.008481135368347168,
0.008382095336914062,
0.008455216407775879,
0.008581455230712891,
0.008575056076049805,
0.008596495628356933,
0.008549935340881347,
0.008509455680847168,
0.008450895309448243,
0.008494574546813965,
0.00854337501525879,
0.008464975357055664,
0.008489615440368652,
0.008460334777832031,
0.008422896385192872,
0.008445454597473144,
0.008417295455932618,
0.008372815132141113,
0.008406575202941895,
0.00840193462371826,
0.008360176086425782,
0.00828721523284912,
0.00831617546081543,
0.008234894752502442,
0.017339712142944337,
0.0042299280166625975,
0.008505134582519532,
0.00830593490600586,
0.008242094993591308,
0.008214255332946778,
0.008186734199523926,
0.008338894844055176,
0.008361294746398925,
0.008364974975585937,
0.008306255340576172,
0.008263054847717286,
0.00828785514831543,
0.008234575271606445,
0.00825777530670166,
0.008232494354248047,
0.008167054176330566,
0.008256335258483887,
0.008160334587097168,
0.00816081428527832,
0.008242734909057617,
0.008509775161743165,
0.008238414764404296,
0.008204975128173829,
0.008217294692993165,
0.008211054801940919,
0.008225613594055176,
0.008464975357055664,
0.008286734580993653,
0.008278255462646484,
0.008216493606567383,
0.008245293617248534,
0.008283374786376953
]
},
"throughput": {
"unit": "samples/s",
"value": 118.4674010014175
},
"energy": null,
"efficiency": null
}
}
}