IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3726194
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "c08a62a8b686d201c33b94256f220dd9ac7afa59", | |
"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": 1004.630016, | |
"max_global_vram": 898.461696, | |
"max_process_vram": 206006.80448, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 1.002975475788117, | |
"mean": 0.008154272160878995, | |
"stdev": 0.00011117940415605982, | |
"p50": 0.008132152557373047, | |
"p90": 0.008305816841125488, | |
"p95": 0.008370792770385743, | |
"p99": 0.008439938526153564, | |
"values": [ | |
0.008315993309020995, | |
0.008108312606811524, | |
0.008124794006347656, | |
0.008110233306884766, | |
0.008152632713317872, | |
0.008226713180541993, | |
0.00816015338897705, | |
0.008158713340759278, | |
0.008185752868652344, | |
0.008147353172302247, | |
0.008118073463439941, | |
0.008103034019470216, | |
0.008072632789611817, | |
0.008076152801513671, | |
0.008031673431396484, | |
0.008033272743225097, | |
0.00803679370880127, | |
0.008044472694396973, | |
0.008027032852172851, | |
0.008046712875366211, | |
0.008043032646179199, | |
0.008062873840332031, | |
0.008024152755737304, | |
0.008017593383789063, | |
0.008043032646179199, | |
0.008050872802734374, | |
0.008055193901062012, | |
0.008127992630004882, | |
0.008185592651367188, | |
0.008151033401489257, | |
0.00821711254119873, | |
0.008226232528686523, | |
0.00817231273651123, | |
0.008145112991333008, | |
0.008089913368225097, | |
0.008025914192199708, | |
0.008037432670593262, | |
0.007996633052825927, | |
0.008018233299255372, | |
0.00805311393737793, | |
0.008078554153442382, | |
0.00803791332244873, | |
0.008260473251342774, | |
0.008121752738952636, | |
0.008195512771606446, | |
0.008086393356323242, | |
0.007994873046875, | |
0.008021114349365234, | |
0.008026073455810547, | |
0.008032313346862793, | |
0.008027832984924316, | |
0.00824879264831543, | |
0.008110234260559082, | |
0.00829775333404541, | |
0.008094232559204101, | |
0.008073432922363281, | |
0.008131193161010743, | |
0.008148153305053711, | |
0.008262072563171387, | |
0.008097593307495116, | |
0.008128632545471191, | |
0.008204954147338867, | |
0.008233593940734864, | |
0.0081444730758667, | |
0.008093913078308106, | |
0.008059352874755859, | |
0.0080396728515625, | |
0.008132152557373047, | |
0.008075834274291992, | |
0.008091193199157715, | |
0.008128313064575196, | |
0.008051833152770997, | |
0.008049753189086914, | |
0.008140632629394531, | |
0.008187353134155273, | |
0.008062073707580567, | |
0.008075352668762206, | |
0.00804399299621582, | |
0.008051353454589844, | |
0.0080679931640625, | |
0.008099034309387207, | |
0.008068312644958496, | |
0.008036473274230956, | |
0.008071513175964355, | |
0.00809647274017334, | |
0.008205912590026855, | |
0.008209273338317872, | |
0.008300312995910645, | |
0.008126394271850586, | |
0.008208473205566407, | |
0.008177753448486327, | |
0.008392152786254882, | |
0.00837103271484375, | |
0.008409111976623536, | |
0.008404953002929687, | |
0.008350393295288087, | |
0.0083071928024292, | |
0.008346073150634766, | |
0.008391512870788573, | |
0.008230552673339844, | |
0.008285272598266601, | |
0.008262392997741699, | |
0.008143353462219238, | |
0.008174233436584473, | |
0.008287833213806153, | |
0.008172952651977539, | |
0.0081812744140625, | |
0.008252794265747071, | |
0.008171353340148926, | |
0.008143033027648926, | |
0.008448633193969726, | |
0.008534071922302246, | |
0.008368633270263671, | |
0.008337593078613282, | |
0.00829023265838623, | |
0.008249432563781738, | |
0.00828639316558838, | |
0.00827103328704834, | |
0.008178072929382324, | |
0.008142073631286622, | |
0.008242072105407715, | |
0.00818271255493164, | |
0.008134552955627442 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.63510222256359 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |