IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c86ba71 verified
raw
history blame
11.1 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": "4",
"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.34.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": 1387.56096,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.64936279296875,
"mean": 7.64936279296875,
"stdev": 0.0,
"p50": 7.64936279296875,
"p90": 7.64936279296875,
"p95": 7.64936279296875,
"p99": 7.64936279296875,
"values": [
7.64936279296875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1513.59488,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 125,
"total": 0.9966873092651372,
"mean": 0.007973498474121096,
"stdev": 0.00037590983098895837,
"p50": 0.007827198028564453,
"p90": 0.0082136287689209,
"p95": 0.008671676826477051,
"p99": 0.008823549270629883,
"values": [
0.008690556526184083,
0.008668477058410645,
0.008504317283630372,
0.008672476768493653,
0.008355356216430665,
0.008301756858825683,
0.008229436874389649,
0.008178876876831056,
0.008125436782836915,
0.008093276977539062,
0.008087197303771972,
0.008083677291870118,
0.008049436569213867,
0.008031517028808595,
0.008012956619262695,
0.007989596843719483,
0.008003836631774902,
0.008041916847229004,
0.008108476638793945,
0.0080955171585083,
0.008027517318725585,
0.008032957077026366,
0.007994717121124267,
0.007974556922912598,
0.00795759677886963,
0.007957917213439941,
0.008093276977539062,
0.008037277221679687,
0.008013916969299316,
0.011106236457824707,
0.008062557220458984,
0.007804956912994385,
0.007775036811828613,
0.007814877033233643,
0.007780157089233399,
0.008168956756591798,
0.007856797218322754,
0.007827198028564453,
0.007817118167877198,
0.007797757148742676,
0.007782876968383789,
0.0077668771743774415,
0.007788957118988037,
0.007809757232666015,
0.0077881569862365725,
0.007818397045135497,
0.007834557056427003,
0.00780415678024292,
0.007821277141571045,
0.00778095817565918,
0.007763997077941894,
0.007820796966552735,
0.007792316913604737,
0.007863037109375,
0.007804316997528076,
0.007775836944580078,
0.007813117027282716,
0.007826716899871826,
0.007798397064208985,
0.00780415678024292,
0.007987836837768554,
0.007817277908325196,
0.007809916973114014,
0.007829916954040528,
0.007777276992797851,
0.007803037166595459,
0.007782557010650635,
0.0078003168106079105,
0.007779676914215088,
0.007803516864776611,
0.007788957118988037,
0.007794237136840821,
0.007779037952423096,
0.007773917198181152,
0.007787356853485108,
0.007799517154693603,
0.007810717105865479,
0.007839676856994628,
0.007854076862335205,
0.007820316791534424,
0.007837117195129395,
0.007811516761779785,
0.00779807710647583,
0.007879517078399657,
0.007851997852325439,
0.00782927703857422,
0.00783247709274292,
0.00783903694152832,
0.007776637077331543,
0.007816476821899414,
0.007819517135620117,
0.007813117027282716,
0.007829436779022217,
0.007865917205810547,
0.007825757026672363,
0.007822876930236816,
0.007827357769012451,
0.007794716835021973,
0.007790236949920654,
0.007749597072601319,
0.007730237007141113,
0.008039997100830079,
0.008120636940002441,
0.007935357093811036,
0.007723677158355713,
0.007738236904144287,
0.007732157230377197,
0.007782396793365479,
0.007731038093566895,
0.007754877090454102,
0.007733437061309814,
0.007761597156524658,
0.0077526369094848635,
0.007737757205963135,
0.008117917060852051,
0.008818077087402345,
0.00845311737060547,
0.008160797119140625,
0.008114876747131348,
0.008153276443481445,
0.008189916610717773,
0.008825277328491211,
0.008806556701660155,
0.008688317298889161,
0.008151195526123046
]
},
"throughput": {
"unit": "samples/s",
"value": 125.41546264109974
},
"energy": null,
"efficiency": null
}
}
}