IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5f99b71
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": "6", | |
"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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.00192, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5112.905728, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08639329528808594 | |
], | |
"count": 1, | |
"total": 0.08639329528808594, | |
"mean": 0.08639329528808594, | |
"p50": 0.08639329528808594, | |
"p90": 0.08639329528808594, | |
"p95": 0.08639329528808594, | |
"p99": 0.08639329528808594, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1228.865536, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 244989.906944, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.442688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00780401611328125, | |
0.00756769609451294, | |
0.007519694805145263, | |
0.007567535877227783, | |
0.007538255214691162, | |
0.007548335075378418, | |
0.0076062560081481935, | |
0.00756241512298584, | |
0.007628974914550782, | |
0.007565774917602539, | |
0.0075232148170471195, | |
0.007499535083770752, | |
0.007559535980224609, | |
0.007500494956970215, | |
0.007534255027770996, | |
0.007521454811096191, | |
0.007548814773559571, | |
0.007755695819854736, | |
0.007916495800018311, | |
0.007804656028747558, | |
0.007853456020355224, | |
0.007747375965118408, | |
0.00780625581741333, | |
0.00775713586807251, | |
0.007960015773773194, | |
0.007913937091827392, | |
0.007804975986480713, | |
0.007884175777435302, | |
0.007811056137084961, | |
0.007806735992431641, | |
0.007757134914398193, | |
0.007719376087188721, | |
0.00768305492401123, | |
0.00764353609085083, | |
0.007663856029510498, | |
0.007628815174102783, | |
0.0076558561325073245, | |
0.007593454837799073, | |
0.007547855854034424, | |
0.0075491352081298825, | |
0.007550896167755127, | |
0.007574094772338867, | |
0.007568335056304932, | |
0.007545454978942871, | |
0.007573615074157715, | |
0.0075353760719299315, | |
0.0075569748878479, | |
0.007531216144561767, | |
0.007547854900360107, | |
0.007593135833740234, | |
0.00808785629272461, | |
0.007912975788116455, | |
0.007780496120452881, | |
0.007725776195526123, | |
0.007723855972290039, | |
0.007709774971008301, | |
0.007764975070953369, | |
0.0076259360313415524, | |
0.007633935928344726, | |
0.007384974956512452, | |
0.007302734851837158, | |
0.007553295135498047, | |
0.0075808148384094234, | |
0.007354253768920898, | |
0.007246734142303467, | |
0.007544335842132569, | |
0.007579854965209961, | |
0.007553616046905518, | |
0.007542574882507324, | |
0.007567055225372314, | |
0.007663374900817871, | |
0.007556975841522217, | |
0.007614574909210205, | |
0.007567535877227783, | |
0.007557455062866211, | |
0.007617296218872071, | |
0.0075294551849365236, | |
0.0075489749908447265, | |
0.0076398558616638185, | |
0.0075611348152160645, | |
0.0075489749908447265, | |
0.007554574966430664, | |
0.007564815998077392, | |
0.007555375099182129, | |
0.00753601598739624, | |
0.007639214992523193, | |
0.007544816017150879, | |
0.007504175186157227, | |
0.00752801513671875, | |
0.007516654968261718, | |
0.007549775123596191, | |
0.007497776031494141, | |
0.007498734951019287, | |
0.007497775077819824, | |
0.007528495788574219, | |
0.007462415218353271, | |
0.007544335842132569, | |
0.007528655052185059, | |
0.0075227351188659666, | |
0.007516974925994873, | |
0.0075379347801208495, | |
0.007573135852813721, | |
0.0075472149848937985, | |
0.007560495853424072, | |
0.007759854793548584, | |
0.007616175174713135, | |
0.007704495906829834, | |
0.007599854946136474, | |
0.007561454772949219, | |
0.007591535091400146, | |
0.007656175136566162, | |
0.007574575901031494, | |
0.007144174098968506, | |
0.0074851360321044925, | |
0.007400815010070801, | |
0.0075582551956176755, | |
0.007586415767669678, | |
0.007286415100097656, | |
0.0072500939369201664, | |
0.007569615840911865, | |
0.007659534931182862, | |
0.007598895072937012, | |
0.007603215217590332, | |
0.007585774898529052, | |
0.007660816192626953, | |
0.00757137393951416, | |
0.007618256092071533, | |
0.007557614803314209, | |
0.007564815998077392, | |
0.007575695037841797, | |
0.007560494899749756 | |
], | |
"count": 131, | |
"total": 0.9952303352355957, | |
"mean": 0.007597178131569433, | |
"p50": 0.007567055225372314, | |
"p90": 0.007780496120452881, | |
"p95": 0.007832256078720092, | |
"p99": 0.007946959781646728, | |
"stdev": 0.00013531511173201606, | |
"stdev_": 1.7811233248530203 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.6278205778254 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |