IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bfd6ac9
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": "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": {}, | |
"hub_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, | |
"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", | |
"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.2.1", | |
"optimum_benchmark_commit": "9c5b122c5b131ce085c14c11b158b31af90e674e", | |
"transformers_version": "4.41.0", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1009.156096, | |
"max_global_vram": 3096.08448, | |
"max_process_vram": 207163.736064, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.998620341300964, | |
"mean": 0.007988962730407716, | |
"stdev": 0.00010976431893429788, | |
"p50": 0.007967339038848878, | |
"p90": 0.008142827224731445, | |
"p95": 0.008230827522277832, | |
"p99": 0.008332586822509766, | |
"values": [ | |
0.007959818840026856, | |
0.008093259811401366, | |
0.0082356595993042, | |
0.0083983793258667, | |
0.008293418884277344, | |
0.008165739059448241, | |
0.00826685905456543, | |
0.008000618934631347, | |
0.00802206039428711, | |
0.007973258972167968, | |
0.007916779994964599, | |
0.007915339946746825, | |
0.007878379821777344, | |
0.007892620086669922, | |
0.00800701904296875, | |
0.007979819774627686, | |
0.007971339225769043, | |
0.007902060031890869, | |
0.007882699966430665, | |
0.00791726016998291, | |
0.008060778617858887, | |
0.008163019180297852, | |
0.008338539123535157, | |
0.00816797924041748, | |
0.008017099380493165, | |
0.007953579902648927, | |
0.007886859893798828, | |
0.007913099765777589, | |
0.007921099185943603, | |
0.007892300128936767, | |
0.007875979900360108, | |
0.007855979919433594, | |
0.007938700199127197, | |
0.007875020027160645, | |
0.007922060012817382, | |
0.00791294002532959, | |
0.007938859939575195, | |
0.00788942003250122, | |
0.007971980094909669, | |
0.00797677993774414, | |
0.008058380126953125, | |
0.008036779403686524, | |
0.00800238037109375, | |
0.007914059162139893, | |
0.00791245985031128, | |
0.007857739925384521, | |
0.00792110013961792, | |
0.007954218864440917, | |
0.007973740100860596, | |
0.007989099979400635, | |
0.008072299003601074, | |
0.008051979064941405, | |
0.008236139297485352, | |
0.00814461898803711, | |
0.008211499214172363, | |
0.008158699989318847, | |
0.00814013957977295, | |
0.00808013916015625, | |
0.008014220237731934, | |
0.008061738967895507, | |
0.008053738594055176, | |
0.007917739868164063, | |
0.008004940032958985, | |
0.007909419059753418, | |
0.007922699928283691, | |
0.007990699768066406, | |
0.007933259010314941, | |
0.00794462013244629, | |
0.00792878007888794, | |
0.007947659969329834, | |
0.00797838020324707, | |
0.007988460063934326, | |
0.008313737869262695, | |
0.00810990047454834, | |
0.008054859161376953, | |
0.00804509925842285, | |
0.008014539718627929, | |
0.008032138824462891, | |
0.00802910041809082, | |
0.008091018676757813, | |
0.008036140441894532, | |
0.008018539428710938, | |
0.008062060356140138, | |
0.00802542018890381, | |
0.007990379810333252, | |
0.007973100185394287, | |
0.007942059993743896, | |
0.008019819259643554, | |
0.00800574016571045, | |
0.008088138580322266, | |
0.008056940078735352, | |
0.008000140190124511, | |
0.008033419609069824, | |
0.007995659828186036, | |
0.008015339851379394, | |
0.008095339775085449, | |
0.007923180103302003, | |
0.007913098812103272, | |
0.007905099868774414, | |
0.007900300025939942, | |
0.007875339984893799, | |
0.007904300212860108, | |
0.007880780220031738, | |
0.007924139976501465, | |
0.00788238000869751, | |
0.00795166015625, | |
0.007946380138397217, | |
0.007925419807434083, | |
0.007872458934783935, | |
0.007843019962310792, | |
0.007887660026550293, | |
0.007864299774169923, | |
0.007902379989624023, | |
0.007895339965820312, | |
0.007900300025939942, | |
0.007871819972991943, | |
0.007918220043182373, | |
0.007907340049743652, | |
0.007887499809265137, | |
0.007895659923553467, | |
0.007889898777008056, | |
0.007880300045013429, | |
0.007902379989624023, | |
0.007897419929504395, | |
0.007967339038848878 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.17269559836402 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |