
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5bb0b3c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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": true, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 909.647872, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.0009157433509823, | |
"mean": 0.0075826950253862335, | |
"stdev": 0.0004717101041693446, | |
"p50": 0.0077972478866577145, | |
"p90": 0.008067788982391359, | |
"p95": 0.008177561378479003, | |
"p99": 0.008570173263549804, | |
"values": [ | |
0.008353792190551757, | |
0.008102911949157715, | |
0.008176639556884765, | |
0.00820633602142334, | |
0.00811520004272461, | |
0.008766464233398438, | |
0.008263680458068847, | |
0.008094719886779785, | |
0.008137727737426758, | |
0.008072192192077637, | |
0.008028160095214844, | |
0.007994368076324462, | |
0.0078919677734375, | |
0.007888895988464355, | |
0.008018943786621094, | |
0.007961599826812745, | |
0.008143872261047362, | |
0.007972864151000977, | |
0.007878623962402343, | |
0.00786636781692505, | |
0.007832575798034667, | |
0.007867392063140868, | |
0.007902207851409913, | |
0.007871488094329833, | |
0.007935999870300293, | |
0.007916543960571289, | |
0.007854080200195313, | |
0.007862271785736084, | |
0.007865344047546387, | |
0.00787660789489746, | |
0.007796703815460205, | |
0.00773529577255249, | |
0.0077761921882629394, | |
0.007821311950683594, | |
0.007766016006469726, | |
0.007824384212493896, | |
0.007837696075439453, | |
0.007839744091033935, | |
0.007942143917083741, | |
0.007881728172302246, | |
0.00790835189819336, | |
0.007870463848114014, | |
0.007803904056549072, | |
0.007863296031951903, | |
0.00788479995727539, | |
0.00795136022567749, | |
0.007874559879302979, | |
0.00786636781692505, | |
0.00860159969329834, | |
0.007869440078735352, | |
0.007797760009765625, | |
0.007833600044250488, | |
0.007899136066436767, | |
0.007844863891601562, | |
0.007774208068847656, | |
0.007836607933044434, | |
0.007832575798034667, | |
0.007808000087738037, | |
0.00783564805984497, | |
0.007796735763549805, | |
0.008178688049316407, | |
0.007988224029541016, | |
0.007955455780029297, | |
0.007918591976165772, | |
0.007870463848114014, | |
0.007869440078735352, | |
0.008500224113464355, | |
0.007838719844818116, | |
0.007895040035247802, | |
0.007795711994171142, | |
0.007676959991455078, | |
0.007639039993286132, | |
0.007779327869415284, | |
0.00764518404006958, | |
0.007531455993652344, | |
0.007616511821746826, | |
0.0075673599243164065, | |
0.007725056171417236, | |
0.007749631881713868, | |
0.007756800174713135, | |
0.007753727912902832, | |
0.008012800216674805, | |
0.007870463848114014, | |
0.007673855781555176, | |
0.007953407764434815, | |
0.007183328151702881, | |
0.007005184173583984, | |
0.007013376235961914, | |
0.006957056045532227, | |
0.006985727787017822, | |
0.007013376235961914, | |
0.00707583999633789, | |
0.0070348801612854, | |
0.006974431991577148, | |
0.006982656002044678, | |
0.007017471790313721, | |
0.0069847040176391605, | |
0.00698367977142334, | |
0.007009280204772949, | |
0.00695091199874878, | |
0.006933504104614257, | |
0.006907904148101806, | |
0.0069253120422363285, | |
0.006922304153442383, | |
0.006904895782470703, | |
0.006916096210479736, | |
0.006917119979858399, | |
0.00693452787399292, | |
0.006880256175994873, | |
0.0069253120422363285, | |
0.006924287796020508, | |
0.007024640083312988, | |
0.007002111911773682, | |
0.0070522880554199216, | |
0.0070225920677185055, | |
0.007000063896179199, | |
0.0069847040176391605, | |
0.00701638412475586, | |
0.007005184173583984, | |
0.007016448020935059, | |
0.006951935768127441, | |
0.006957056045532227, | |
0.0069621758460998535, | |
0.006979584217071533, | |
0.0069550080299377445, | |
0.007018496036529541, | |
0.006977536201477051, | |
0.0069918718338012695, | |
0.006967296123504638, | |
0.006957056045532227, | |
0.007160831928253173, | |
0.007192575931549072 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.87923246973313 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.439567729748545e-08, | |
"ram": 4.6138346856713856e-08, | |
"gpu": 1.5222628411346766e-07, | |
"total": 2.82760308267667e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3536564.2587055694 | |
} | |
} | |
} | |
} |