IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f6e57d4
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": 1078.64064, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47922.25792, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.169423828125, | |
"mean": 8.169423828125, | |
"stdev": 0.0, | |
"p50": 8.169423828125, | |
"p90": 8.169423828125, | |
"p95": 8.169423828125, | |
"p99": 8.169423828125, | |
"values": [ | |
8.169423828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.720704, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 222362.963968, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.99666288971901, | |
"mean": 0.007068531132758932, | |
"stdev": 0.0012702802014524916, | |
"p50": 0.0068404641151428225, | |
"p90": 0.007661901950836182, | |
"p95": 0.0077156610488891605, | |
"p99": 0.011647619819641098, | |
"values": [ | |
0.007620141983032226, | |
0.007455821990966797, | |
0.007517101764678955, | |
0.007464302062988281, | |
0.007304302215576172, | |
0.0072211031913757325, | |
0.007220781803131103, | |
0.007375983238220215, | |
0.00719230318069458, | |
0.007043343067169189, | |
0.007070383071899414, | |
0.007033742904663086, | |
0.007027663230895996, | |
0.007007183074951172, | |
0.01814203643798828, | |
0.002334873914718628, | |
0.004799028873443603, | |
0.006910383224487305, | |
0.006920302867889404, | |
0.006880623817443848, | |
0.006923822879791259, | |
0.00690558385848999, | |
0.006912943840026856, | |
0.006921903133392334, | |
0.0068929438591003415, | |
0.006853902816772461, | |
0.006885424137115479, | |
0.006882863998413086, | |
0.006858063220977783, | |
0.007009424209594726, | |
0.006927823066711426, | |
0.009965895652770996, | |
0.006992783069610596, | |
0.006813744068145752, | |
0.006829583168029786, | |
0.00679582405090332, | |
0.006801743030548096, | |
0.006809103965759278, | |
0.0067841439247131345, | |
0.006791182994842529, | |
0.00679966402053833, | |
0.006806222915649414, | |
0.006809423923492432, | |
0.007103823184967041, | |
0.006837422847747803, | |
0.006822703838348388, | |
0.006817742824554444, | |
0.006809584140777588, | |
0.006815504074096679, | |
0.006805744171142578, | |
0.006815983772277832, | |
0.006821262836456299, | |
0.006856783866882325, | |
0.0068113431930541994, | |
0.006835824012756348, | |
0.006848783016204834, | |
0.006801583766937256, | |
0.006808303833007813, | |
0.006845744132995606, | |
0.00680350399017334, | |
0.006796463012695313, | |
0.006823823928833008, | |
0.006943182945251465, | |
0.006907662868499756, | |
0.006835984230041504, | |
0.00684030294418335, | |
0.006849103927612304, | |
0.0068331041336059575, | |
0.006841904163360596, | |
0.0068268637657165525, | |
0.006853583812713623, | |
0.006785103797912598, | |
0.0067923030853271485, | |
0.0068121438026428225, | |
0.006834222793579102, | |
0.00679918384552002, | |
0.00681054401397705, | |
0.0068350229263305666, | |
0.006833263874053955, | |
0.0068046231269836424, | |
0.006867824077606201, | |
0.006789422988891601, | |
0.006795023918151856, | |
0.006879343032836914, | |
0.006835984230041504, | |
0.006780144214630127, | |
0.006801263809204101, | |
0.006806863784790039, | |
0.006813262939453125, | |
0.0068262238502502445, | |
0.0068259029388427735, | |
0.006828944206237793, | |
0.006821104049682617, | |
0.006836624145507813, | |
0.006863503932952881, | |
0.006837423801422119, | |
0.006809584140777588, | |
0.0068137431144714355, | |
0.006846223831176758, | |
0.006835342884063721, | |
0.006809904098510742, | |
0.006808302879333496, | |
0.006801583766937256, | |
0.0068404641151428225, | |
0.0068171038627624515, | |
0.006835823059082031, | |
0.006801583766937256, | |
0.006790544033050537, | |
0.006847823143005371, | |
0.0068001441955566405, | |
0.012768769264221191, | |
0.002311194896697998, | |
0.006708302974700928, | |
0.006807184219360352, | |
0.0068617439270019535, | |
0.006836304187774658, | |
0.007211503028869629, | |
0.007657260894775391, | |
0.007661901950836182, | |
0.007728940963745117, | |
0.00708430290222168, | |
0.007218382835388184, | |
0.007434542179107666, | |
0.007660941123962402, | |
0.007636462211608887, | |
0.007821101188659668, | |
0.007667341232299805, | |
0.007693582057952881, | |
0.0077156610488891605, | |
0.007666862010955811, | |
0.007734860897064209, | |
0.007809580802917481, | |
0.007714861869812011, | |
0.007706861019134522, | |
0.0076807808876037595, | |
0.007641100883483886, | |
0.007612621784210205, | |
0.007632781982421875, | |
0.00732222318649292, | |
0.006760784149169922, | |
0.006791664123535156 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.47210802616755 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |