IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
28546d0 verified
raw
history blame
11.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",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "0",
"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.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.3.1",
"optimum_benchmark_commit": "d0c0a5c5918412583a4f2490ab7e3d1b48375998",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 902.344704,
"max_global_vram": 5648.216064,
"max_process_vram": 46158.352384,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.71535400390625,
"mean": 7.71535400390625,
"stdev": 0.0,
"p50": 7.71535400390625,
"p90": 7.71535400390625,
"p95": 7.71535400390625,
"p99": 7.71535400390625,
"values": [
7.71535400390625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1016.229888,
"max_global_vram": 896.929792,
"max_process_vram": 218874.003456,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.9951767182350162,
"mean": 0.007426691927126984,
"stdev": 0.0004402843797999124,
"p50": 0.00718280053138733,
"p90": 0.008006992626190186,
"p95": 0.008132616758346556,
"p99": 0.008385850467681885,
"values": [
0.008357121467590331,
0.00832271957397461,
0.008344640731811523,
0.00840000057220459,
0.00832960033416748,
0.008152481079101562,
0.008108481407165528,
0.008033599853515625,
0.008121920585632323,
0.007955521106719972,
0.007823359966278077,
0.007728001117706299,
0.0076840009689331055,
0.007675360202789307,
0.00777328109741211,
0.007853439807891846,
0.007952480792999268,
0.007831521034240722,
0.007818399906158447,
0.007804000854492187,
0.007783360958099365,
0.007741600036621094,
0.007820960998535156,
0.007409440040588379,
0.007338881015777588,
0.007575840950012207,
0.007317279815673828,
0.007244640827178955,
0.0072568001747131345,
0.010393760681152343,
0.007585121154785156,
0.007161600112915039,
0.007169120788574219,
0.007123361110687256,
0.00717632007598877,
0.0071572809219360356,
0.0071380801200866695,
0.007110560894012451,
0.00707151985168457,
0.007152801036834717,
0.007060000896453858,
0.007145440101623535,
0.007138881206512451,
0.00710975980758667,
0.00713792085647583,
0.007085599899291992,
0.0071769609451293945,
0.00707456111907959,
0.007177440166473389,
0.007128641128540039,
0.00717087984085083,
0.007167040824890137,
0.007138239860534668,
0.00741632080078125,
0.007849921226501464,
0.00716096019744873,
0.00715648078918457,
0.007188640117645264,
0.007355841159820556,
0.007185441017150879,
0.0071355199813842776,
0.0071152009963989255,
0.007128479957580566,
0.007140161037445069,
0.0070767998695373535,
0.007132801055908203,
0.007175681114196778,
0.007153439998626709,
0.007078560829162597,
0.007149439811706543,
0.007117920875549316,
0.007101600170135498,
0.00711552095413208,
0.007121440887451172,
0.007168799877166748,
0.007326401233673095,
0.0070891199111938474,
0.007106241226196289,
0.00718016004562378,
0.007105761051177979,
0.007164000988006592,
0.0071857600212097165,
0.007133921146392822,
0.007168479919433594,
0.007151521205902099,
0.007124959945678711,
0.007137761116027832,
0.007126561164855957,
0.007116960048675537,
0.007133921146392822,
0.007162720203399658,
0.007126080989837647,
0.0071171197891235355,
0.007145121097564698,
0.007169120788574219,
0.007134880065917969,
0.008013280868530273,
0.00799232006072998,
0.008019201278686524,
0.008017921447753906,
0.008050559997558594,
0.007649281024932861,
0.007547360897064209,
0.007403679847717285,
0.007401600837707519,
0.007382239818572998,
0.0074228811264038085,
0.007421761035919189,
0.007453279972076416,
0.007389601230621338,
0.007331520080566406,
0.00708064079284668,
0.007094241142272949,
0.0071142401695251465,
0.007098880767822266,
0.007085599899291992,
0.007093441009521484,
0.007103199958801269,
0.007791680812835693,
0.007892480850219727,
0.007948959827423096,
0.007708480834960937,
0.007488639831542969,
0.007377120971679687,
0.0073355212211608884,
0.00745472002029419,
0.007464480876922607,
0.007480160236358642,
0.007468801021575927,
0.007446401119232178,
0.007492479801177979,
0.0074987211227416995,
0.007162079811096191,
0.007158080101013184
]
},
"throughput": {
"unit": "samples/s",
"value": 134.64945224769139
},
"energy": null,
"efficiency": null
}
}
}