IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d8267af
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": 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": 1079.123968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 54349.582336, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 16.21314453125, | |
"mean": 16.21314453125, | |
"stdev": 0.0, | |
"p50": 16.21314453125, | |
"p90": 16.21314453125, | |
"p95": 16.21314453125, | |
"p99": 16.21314453125, | |
"values": [ | |
16.21314453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.126208, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 235198.844928, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9998540499210355, | |
"mean": 0.007406326295711375, | |
"stdev": 0.0018621235977532924, | |
"p50": 0.007307690143585205, | |
"p90": 0.0078577054977417, | |
"p95": 0.007898106193542481, | |
"p99": 0.01715603702545166, | |
"values": [ | |
0.007468648910522461, | |
0.007449289798736572, | |
0.007478408813476563, | |
0.007652969837188721, | |
0.0076022491455078126, | |
0.007453609943389892, | |
0.0074952092170715336, | |
0.007819530010223388, | |
0.007842889785766602, | |
0.007837289810180665, | |
0.007799049854278564, | |
0.007822569847106933, | |
0.007816810131072998, | |
0.007789770126342774, | |
0.007813768863677979, | |
0.007836490154266358, | |
0.007839529991149903, | |
0.00786097002029419, | |
0.007871530055999755, | |
0.007864970207214356, | |
0.007897290229797363, | |
0.0078051300048828124, | |
0.00785329008102417, | |
0.007879209995269776, | |
0.007849609851837159, | |
0.0078331298828125, | |
0.007575209140777588, | |
0.007360488891601563, | |
0.007448968887329102, | |
0.007398088932037353, | |
0.007900010108947754, | |
0.007901130199432373, | |
0.007874889850616455, | |
0.00792800998687744, | |
0.007365449905395508, | |
0.007288969039916992, | |
0.007376648902893066, | |
0.007327369213104248, | |
0.019017303466796875, | |
0.002368803024291992, | |
0.002199043035507202, | |
0.006098567962646484, | |
0.007136649131774903, | |
0.006951848983764649, | |
0.006932648181915283, | |
0.006926888942718506, | |
0.006942089080810547, | |
0.0074180889129638675, | |
0.007101288795471191, | |
0.0071715288162231446, | |
0.007262729167938233, | |
0.007254408836364746, | |
0.007261768817901611, | |
0.007405609130859375, | |
0.0071782488822937016, | |
0.0072382488250732424, | |
0.007312809944152832, | |
0.007011689186096191, | |
0.006980807781219483, | |
0.0069654488563537596, | |
0.0069465689659118654, | |
0.00694960880279541, | |
0.006999848842620849, | |
0.007023047924041748, | |
0.006956647872924804, | |
0.007001769065856933, | |
0.006984969139099121, | |
0.0069678487777709965, | |
0.006976489067077637, | |
0.006959847927093506, | |
0.006996328830718994, | |
0.0069465689659118654, | |
0.006941928863525391, | |
0.006921928882598877, | |
0.006951047897338867, | |
0.006913128852844238, | |
0.016978099822998048, | |
0.002290721893310547, | |
0.002653764009475708, | |
0.007022569179534912, | |
0.006963687896728516, | |
0.007307690143585205, | |
0.007761289119720459, | |
0.007860649108886718, | |
0.00768848991394043, | |
0.007793769836425781, | |
0.007751689910888672, | |
0.007516489028930664, | |
0.007262248992919922, | |
0.007215848922729492, | |
0.0071368088722229, | |
0.007162569046020507, | |
0.007368168830871582, | |
0.0069324889183044434, | |
0.00692336893081665, | |
0.006910408020019531, | |
0.00714448881149292, | |
0.00694304895401001, | |
0.0069368090629577635, | |
0.006921608924865722, | |
0.007181929111480713, | |
0.00718096923828125, | |
0.006936169147491455, | |
0.006925288200378418, | |
0.007123048782348633, | |
0.006910888195037842, | |
0.006926408767700195, | |
0.006913128852844238, | |
0.006923367977142334, | |
0.006921127796173095, | |
0.006943209171295166, | |
0.006935049057006836, | |
0.007029609203338623, | |
0.007794250011444092, | |
0.00782176923751831, | |
0.007837609767913818, | |
0.007503210067749023, | |
0.007146248817443848, | |
0.007768809795379639, | |
0.007828010082244872, | |
0.007804169178009033, | |
0.007780489921569825, | |
0.017247701644897463, | |
0.00244096302986145, | |
0.008084489822387695, | |
0.007664649963378906, | |
0.007585450172424317, | |
0.007667849063873291, | |
0.007819369792938232, | |
0.007649129867553711, | |
0.007740970134735107, | |
0.007687688827514649, | |
0.007606089115142822, | |
0.0072640089988708495, | |
0.00696160888671875 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.0197061367724 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |