IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d2d4ffe
verified
{ | |
"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": "3b109cf557e2496fe3c954817385781e6dc5cad1", | |
"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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.426624, | |
"max_global_vram": 841.773056, | |
"max_process_vram": 43108.134912, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.237345703125, | |
"mean": 7.237345703125, | |
"stdev": 0.0, | |
"p50": 7.237345703125, | |
"p90": 7.237345703125, | |
"p95": 7.237345703125, | |
"p99": 7.237345703125, | |
"values": [ | |
7.237345703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.324096, | |
"max_global_vram": 896.950272, | |
"max_process_vram": 209675.665408, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 121, | |
"total": 0.9958334064483642, | |
"mean": 0.00823002815246582, | |
"stdev": 0.00021708676345630877, | |
"p50": 0.008230836868286132, | |
"p90": 0.008486676216125488, | |
"p95": 0.008598675727844238, | |
"p99": 0.008684243011474609, | |
"values": [ | |
0.00840427589416504, | |
0.008616436004638671, | |
0.008622515678405761, | |
0.008447956085205079, | |
0.008727475166320801, | |
0.008596115112304688, | |
0.00851115608215332, | |
0.008636116027832031, | |
0.008598675727844238, | |
0.008178836822509765, | |
0.008144277572631836, | |
0.007923637866973877, | |
0.008012919425964356, | |
0.008272438049316407, | |
0.008252118110656738, | |
0.008328276634216309, | |
0.008252436637878419, | |
0.008179318428039551, | |
0.008187478065490722, | |
0.008244916915893555, | |
0.008328116416931153, | |
0.00841547679901123, | |
0.008393237113952637, | |
0.008323796272277832, | |
0.008348437309265136, | |
0.008327157020568847, | |
0.00827243709564209, | |
0.008256116867065429, | |
0.008255956649780273, | |
0.008696274757385254, | |
0.00840795612335205, | |
0.00820027732849121, | |
0.008109078407287598, | |
0.00820091724395752, | |
0.00823515796661377, | |
0.008404756546020508, | |
0.008477876663208008, | |
0.008373077392578126, | |
0.008311797142028808, | |
0.008326037406921387, | |
0.008260597229003906, | |
0.0083111572265625, | |
0.008232437133789062, | |
0.00837147617340088, | |
0.00832651710510254, | |
0.008209076881408692, | |
0.008262356758117676, | |
0.00819467830657959, | |
0.008219637870788575, | |
0.00827499771118164, | |
0.008425557136535644, | |
0.008602835655212403, | |
0.008517715454101562, | |
0.008450675964355468, | |
0.0084337158203125, | |
0.008557076454162598, | |
0.00850843620300293, | |
0.008486676216125488, | |
0.008401395797729493, | |
0.008360596656799316, | |
0.008323636054992676, | |
0.008330516815185547, | |
0.008286996841430664, | |
0.008271316528320312, | |
0.008189876556396485, | |
0.00808395767211914, | |
0.007698840141296387, | |
0.0076501998901367186, | |
0.007993557929992675, | |
0.007812920093536378, | |
0.007528601169586181, | |
0.0075295610427856445, | |
0.00794187879562378, | |
0.007582520008087158, | |
0.00775547981262207, | |
0.0077095599174499515, | |
0.00831387710571289, | |
0.008347797393798827, | |
0.008313716888427735, | |
0.008275957107543945, | |
0.008239638328552247, | |
0.008241396903991699, | |
0.008230676651000976, | |
0.00825275707244873, | |
0.008155317306518554, | |
0.00814395809173584, | |
0.008157077789306641, | |
0.008262038230895996, | |
0.008212758064270019, | |
0.00822171688079834, | |
0.00820363712310791, | |
0.008230836868286132, | |
0.008177718162536622, | |
0.008148277282714844, | |
0.008210678100585938, | |
0.008215317726135254, | |
0.00816603660583496, | |
0.008139798164367676, | |
0.008169397354125977, | |
0.008185077667236328, | |
0.008131797790527345, | |
0.008158038139343262, | |
0.008189077377319337, | |
0.00813627815246582, | |
0.008096278190612793, | |
0.00804779815673828, | |
0.00810091781616211, | |
0.008075959205627441, | |
0.008057079315185546, | |
0.008086038589477538, | |
0.008108597755432129, | |
0.008180277824401855, | |
0.008104758262634277, | |
0.008132918357849121, | |
0.008170198440551758, | |
0.008155637741088868, | |
0.008183156967163086, | |
0.008127318382263184, | |
0.008183478355407715, | |
0.008129717826843262, | |
0.008164277076721191 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 121.50626722952187 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |