IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cdcbd51 verified
raw
history blame
10.2 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": "d7339efdbbcababd22ca2f563771622060764f8f",
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1009.70496,
"max_global_vram": 897.16736,
"max_process_vram": 232214.306816,
"max_reserved": 555.74528,
"max_allocated": 499.443712
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9945968484878539,
"mean": 0.0075923423548691134,
"stdev": 0.00045473065552046883,
"p50": 0.007862689018249512,
"p90": 0.00797900915145874,
"p95": 0.008014448165893556,
"p99": 0.00817646369934082,
"values": [
0.007748768806457519,
0.008114527702331543,
0.007638209819793701,
0.007868608951568604,
0.007890209197998047,
0.007945088863372803,
0.007866687774658203,
0.00770589017868042,
0.007666369915008545,
0.007937088012695312,
0.007750689029693603,
0.007917408943176269,
0.008054688453674316,
0.007939009189605713,
0.007961728096008302,
0.007859808921813965,
0.00795420789718628,
0.007851648807525634,
0.00791084909439087,
0.007951488018035888,
0.007908129215240478,
0.007932447910308837,
0.007924287796020509,
0.007918048858642578,
0.00791644811630249,
0.007972928047180175,
0.008069888114929199,
0.008086048126220702,
0.009590520858764648,
0.008203007698059083,
0.00797900915145874,
0.007888448238372803,
0.007928608894348144,
0.007937249183654784,
0.007928927898406983,
0.00784860897064209,
0.007904607772827149,
0.007917728900909424,
0.007886689186096191,
0.007907808780670166,
0.007898048877716064,
0.007940128803253173,
0.00798860788345337,
0.007918528079986572,
0.007919649124145507,
0.007950528144836426,
0.007945568084716796,
0.007941248893737794,
0.00793596887588501,
0.007906367778778076,
0.0079682879447937,
0.007932448863983154,
0.00793724822998047,
0.007887649059295654,
0.007756929874420166,
0.00746557092666626,
0.0075514898300170896,
0.007292931079864502,
0.007068131923675537,
0.007050052165985108,
0.007061892032623291,
0.007026852130889893,
0.007063332080841064,
0.006961252212524414,
0.006996932029724121,
0.007033572196960449,
0.007074212074279785,
0.007820128917694092,
0.00708109188079834,
0.007091331958770752,
0.007076611995697021,
0.007072610855102539,
0.007072132110595703,
0.007074691772460937,
0.007052291870117187,
0.007111491203308106,
0.007050851821899414,
0.007017412185668945,
0.00703629207611084,
0.00702045202255249,
0.007006052017211914,
0.007045092105865479,
0.007017251968383789,
0.007053252220153809,
0.0070447721481323245,
0.007031492233276367,
0.006978693008422851,
0.006991812229156494,
0.007039011955261231,
0.00705533218383789,
0.007051651954650879,
0.0070575718879699705,
0.007038372039794922,
0.007031492233276367,
0.007027492046356201,
0.007076931953430176,
0.007090371131896972,
0.007210212230682373,
0.007048771858215332,
0.0070023717880249026,
0.00700605297088623,
0.007047651767730713,
0.007035491943359375,
0.007159811973571777,
0.00702477216720581,
0.007075171947479248,
0.007316610813140869,
0.007884768009185791,
0.007862689018249512,
0.007574689865112305,
0.007328129768371582,
0.007342690944671631,
0.007456610202789307,
0.007995007991790771,
0.00798524808883667,
0.007908608913421631,
0.007935967922210694,
0.007936607837677002,
0.007979488849639893,
0.00796924877166748,
0.007983327865600586,
0.008006848335266114,
0.007950047969818115,
0.008022047996520997,
0.007967967987060547,
0.007921409130096436,
0.007934208869934081,
0.007960126876831055,
0.007975647926330567,
0.00796668815612793,
0.007951969146728516
]
},
"throughput": {
"unit": "samples/s",
"value": 131.71165804432948
},
"energy": null,
"efficiency": null
}
}
}