IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0397dc1
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+rocm6.1", | |
"_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": "4", | |
"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.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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1387.757568, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.7257412109375, | |
"mean": 7.7257412109375, | |
"stdev": 0.0, | |
"p50": 7.7257412109375, | |
"p90": 7.7257412109375, | |
"p95": 7.7257412109375, | |
"p99": 7.7257412109375, | |
"values": [ | |
7.7257412109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1517.11744, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9988101744651795, | |
"mean": 0.007566743745948329, | |
"stdev": 0.00023264861790925508, | |
"p50": 0.007474857807159424, | |
"p90": 0.00785370502471924, | |
"p95": 0.008107896423339842, | |
"p99": 0.008442011423110962, | |
"values": [ | |
0.00831021499633789, | |
0.008040936470031738, | |
0.007874697208404542, | |
0.008244935989379882, | |
0.007931817054748535, | |
0.007848456859588623, | |
0.007854856967926026, | |
0.007842216968536377, | |
0.007784296989440918, | |
0.007680458068847656, | |
0.007626858234405518, | |
0.007598537921905518, | |
0.007569737911224365, | |
0.007492618083953857, | |
0.0075058979988098145, | |
0.00750509786605835, | |
0.007504137992858886, | |
0.007486058235168457, | |
0.007539497852325439, | |
0.00749085807800293, | |
0.0076124567985534665, | |
0.007541098117828369, | |
0.007478538036346435, | |
0.0074794979095458985, | |
0.007456617832183838, | |
0.008598054885864258, | |
0.0076079778671264645, | |
0.007457737922668457, | |
0.007455657958984375, | |
0.007484938144683838, | |
0.007444297790527344, | |
0.007412137985229492, | |
0.007474217891693115, | |
0.007427817821502686, | |
0.007482697963714599, | |
0.007435657978057861, | |
0.00744877815246582, | |
0.00746461820602417, | |
0.007474857807159424, | |
0.007425578117370606, | |
0.007482378005981445, | |
0.007449738025665283, | |
0.0074513378143310546, | |
0.007491016864776611, | |
0.0074649381637573245, | |
0.0074770979881286625, | |
0.007519177913665772, | |
0.007439817905426025, | |
0.007447497844696045, | |
0.007469738006591797, | |
0.007462378025054932, | |
0.00750525712966919, | |
0.007487177848815918, | |
0.007470218181610108, | |
0.007467658042907715, | |
0.007471978187561035, | |
0.00746685791015625, | |
0.007467817783355713, | |
0.0074703779220581055, | |
0.007479177951812744, | |
0.00747069787979126, | |
0.007474857807159424, | |
0.00746413803100586, | |
0.007517578125, | |
0.007504137992858886, | |
0.007487497806549072, | |
0.007760296821594239, | |
0.0074935779571533205, | |
0.007459338188171387, | |
0.007469898223876953, | |
0.007967495918273925, | |
0.007744777202606201, | |
0.007433738231658936, | |
0.007407658100128174, | |
0.0074727778434753415, | |
0.007451498031616211, | |
0.007480937957763672, | |
0.0074703779220581055, | |
0.0074673380851745606, | |
0.007466217994689941, | |
0.007473897933959961, | |
0.007453258037567139, | |
0.00747549819946289, | |
0.007462217807769776, | |
0.0074513378143310546, | |
0.0074135780334472655, | |
0.007462058067321777, | |
0.007442537784576416, | |
0.007486217975616455, | |
0.007458538055419922, | |
0.0074582180976867675, | |
0.0074844579696655275, | |
0.007459497928619384, | |
0.007453897953033447, | |
0.00748701810836792, | |
0.007438377857208252, | |
0.007471337795257569, | |
0.007428458213806152, | |
0.007446857929229736, | |
0.007472457885742187, | |
0.0074703779220581055, | |
0.007477578163146973, | |
0.007427178859710694, | |
0.007482378005981445, | |
0.007486537933349609, | |
0.00752797794342041, | |
0.007487338066101074, | |
0.007465258121490479, | |
0.007509897232055664, | |
0.007483017921447754, | |
0.007484618186950683, | |
0.007425898075103759, | |
0.007445097923278809, | |
0.007423337936401367, | |
0.0074343781471252444, | |
0.007435177803039551, | |
0.007429257869720459, | |
0.007429257869720459, | |
0.007445898056030274, | |
0.007423818111419678, | |
0.007469898223876953, | |
0.007467658042907715, | |
0.007508137226104736, | |
0.008189736366271972, | |
0.008442854881286621, | |
0.008440134048461913, | |
0.0083839750289917, | |
0.007854217052459717, | |
0.007849096775054932, | |
0.00783277702331543, | |
0.007807656764984131, | |
0.007888136863708496 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.15724406359837 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |