IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7146a83
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": 1042.317312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 51213.942784, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 17.609767578125, | |
"mean": 17.609767578125, | |
"stdev": 0.0, | |
"p50": 17.609767578125, | |
"p90": 17.609767578125, | |
"p95": 17.609767578125, | |
"p99": 17.609767578125, | |
"values": [ | |
17.609767578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1159.04512, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 242168.610816, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9953345270156858, | |
"mean": 0.0073186362280565145, | |
"stdev": 0.001674461590794317, | |
"p50": 0.007163644075393677, | |
"p90": 0.007758440971374512, | |
"p95": 0.007789520263671875, | |
"p99": 0.015653161621093765, | |
"values": [ | |
0.0076798019409179685, | |
0.007508762836456299, | |
0.007310043811798095, | |
0.007314682960510254, | |
0.007319643020629883, | |
0.007317883014678955, | |
0.007189884185791016, | |
0.0074553217887878415, | |
0.007274683952331543, | |
0.007356122970581054, | |
0.007123324871063232, | |
0.007151003837585449, | |
0.007458682060241699, | |
0.007271963119506836, | |
0.007778040885925293, | |
0.007741401195526123, | |
0.007752601146697998, | |
0.0077215609550476075, | |
0.007710521221160889, | |
0.007377243041992188, | |
0.0072322840690612795, | |
0.0071663641929626464, | |
0.007075325012207031, | |
0.007051003932952881, | |
0.007136444091796875, | |
0.007222524166107178, | |
0.007139004230499267, | |
0.007747160911560059, | |
0.007719641208648682, | |
0.007210524082183838, | |
0.0072734041213989254, | |
0.0073150029182434085, | |
0.007396283149719238, | |
0.007447482109069824, | |
0.007387642860412598, | |
0.00780812120437622, | |
0.007782361030578613, | |
0.007512762069702149, | |
0.007207804203033448, | |
0.007024604797363282, | |
0.007048445224761963, | |
0.0070004439353942875, | |
0.007008124828338623, | |
0.006959324836730957, | |
0.013735931396484375, | |
0.00232942795753479, | |
0.005629412174224854, | |
0.0073626828193664555, | |
0.007037243843078613, | |
0.007032925128936767, | |
0.007028124809265137, | |
0.007013084888458252, | |
0.0072377238273620605, | |
0.008685556411743164, | |
0.008055639266967774, | |
0.007778680801391601, | |
0.007743481159210205, | |
0.007758360862731933, | |
0.0077522811889648435, | |
0.007709560871124267, | |
0.0077094011306762696, | |
0.00775852108001709, | |
0.007779321193695068, | |
0.00778331995010376, | |
0.007835161209106446, | |
0.007754520893096924, | |
0.007733561038970947, | |
0.007579001903533935, | |
0.007770360946655274, | |
0.007752441883087159, | |
0.007740441799163818, | |
0.007464122772216797, | |
0.019424222946166993, | |
0.0024014279842376708, | |
0.0022542290687561036, | |
0.005816930770874023, | |
0.0071356439590454105, | |
0.007001245021820068, | |
0.00699676513671875, | |
0.00700876522064209, | |
0.007028604984283447, | |
0.007160923957824707, | |
0.007260444164276123, | |
0.00721308422088623, | |
0.0068826861381530765, | |
0.006886364936828614, | |
0.006862525939941406, | |
0.006855326175689697, | |
0.006888444900512695, | |
0.006859645843505859, | |
0.006866526126861572, | |
0.0068313260078430174, | |
0.006871645927429199, | |
0.006837084770202637, | |
0.006886846065521241, | |
0.006881404876708985, | |
0.006890204906463623, | |
0.006872605800628662, | |
0.00685468578338623, | |
0.006854525089263916, | |
0.0068814058303833005, | |
0.006866684913635254, | |
0.006871645927429199, | |
0.00711692476272583, | |
0.006890204906463623, | |
0.006897085189819336, | |
0.006951485157012939, | |
0.006896444797515869, | |
0.006905566215515137, | |
0.006869565963745117, | |
0.00693564510345459, | |
0.006912125110626221, | |
0.006907804965972901, | |
0.006894365787506103, | |
0.006894686222076416, | |
0.0068858847618103024, | |
0.006891805171966553, | |
0.0068599658012390135, | |
0.006875164985656738, | |
0.006855006217956543, | |
0.00687436580657959, | |
0.006874684810638428, | |
0.00727596378326416, | |
0.006915485858917237, | |
0.0069206061363220215, | |
0.006858524799346924, | |
0.007561081886291504, | |
0.0077356410026550295, | |
0.0077362809181213375, | |
0.007684920787811279, | |
0.007709880828857422, | |
0.016685516357421874, | |
0.004465577125549317, | |
0.007725561141967773, | |
0.0077094011306762696, | |
0.007721880912780762 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.63747846442055 | |
}, | |
"energy": null, | |
"efficiency": null, | |
"measures": null | |
} | |
} | |
} |