IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0eed161
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", | |
"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": "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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 908.0832, | |
"max_global_vram": 841.87136, | |
"max_process_vram": 43399.819264, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4750224609375, | |
"mean": 7.4750224609375, | |
"stdev": 0.0, | |
"p50": 7.4750224609375, | |
"p90": 7.4750224609375, | |
"p95": 7.4750224609375, | |
"p99": 7.4750224609375, | |
"values": [ | |
7.4750224609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1018.482688, | |
"max_global_vram": 897.839104, | |
"max_process_vram": 211873.828864, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 121, | |
"total": 0.9980421485900878, | |
"mean": 0.008248282219752793, | |
"stdev": 0.0009536857265090837, | |
"p50": 0.008232498168945312, | |
"p90": 0.008440338134765624, | |
"p95": 0.008589617729187012, | |
"p99": 0.010957015991210933, | |
"values": [ | |
0.008633138656616211, | |
0.008507218360900879, | |
0.008583539009094239, | |
0.008479377746582032, | |
0.008440338134765624, | |
0.008424978256225586, | |
0.008437458038330079, | |
0.009689460754394532, | |
0.008589617729187012, | |
0.00850209903717041, | |
0.00849457836151123, | |
0.008413297653198242, | |
0.008385137557983398, | |
0.00837809944152832, | |
0.008378897666931152, | |
0.008338097572326661, | |
0.008415858268737792, | |
0.008398577690124512, | |
0.008428817749023437, | |
0.00841169834136963, | |
0.010016342163085938, | |
0.009220179557800292, | |
0.008370577812194824, | |
0.008351378440856934, | |
0.00828625774383545, | |
0.011192184448242187, | |
0.008413457870483398, | |
0.008308656692504883, | |
0.008220977783203125, | |
0.008233138084411621, | |
0.008302898406982421, | |
0.00831825828552246, | |
0.008290258407592774, | |
0.008282418251037598, | |
0.008288658142089844, | |
0.008237457275390625, | |
0.008212818145751952, | |
0.008207697868347168, | |
0.008199217796325684, | |
0.008212177276611329, | |
0.008233456611633301, | |
0.008194578170776368, | |
0.00825009822845459, | |
0.008249137878417969, | |
0.00823841667175293, | |
0.016516515731811524, | |
0.004582570075988769, | |
0.008264337539672852, | |
0.008212817192077638, | |
0.008215216636657715, | |
0.008208498001098633, | |
0.008216978073120117, | |
0.008199377059936524, | |
0.008198098182678222, | |
0.008224658012390137, | |
0.008199698448181152, | |
0.008179217338562013, | |
0.007817136764526366, | |
0.007960657119750976, | |
0.008175217628479003, | |
0.008192658424377441, | |
0.008199696540832519, | |
0.008247696876525878, | |
0.008246578216552735, | |
0.00822673797607422, | |
0.00823985767364502, | |
0.008248018264770509, | |
0.00826001739501953, | |
0.008226417541503906, | |
0.00759089708328247, | |
0.0072836952209472654, | |
0.007715696811676025, | |
0.007292655944824219, | |
0.007373775959014893, | |
0.007659056186676025, | |
0.007300655841827392, | |
0.007281775951385498, | |
0.007286095142364502, | |
0.007262896060943604, | |
0.007233456134796142, | |
0.007444176197052002, | |
0.007315216064453125, | |
0.007292174816131592, | |
0.0072912158966064455, | |
0.0078000168800354, | |
0.008204657554626465, | |
0.008211857795715332, | |
0.008183856964111329, | |
0.008052337646484374, | |
0.008054576873779296, | |
0.008190418243408203, | |
0.00818929672241211, | |
0.008178257942199707, | |
0.008187538146972656, | |
0.008289137840270995, | |
0.00822625732421875, | |
0.008214576721191406, | |
0.008265137672424316, | |
0.008236337661743164, | |
0.008267377853393555, | |
0.008232498168945312, | |
0.008207857131958008, | |
0.008273777961730957, | |
0.008300018310546876, | |
0.00825441837310791, | |
0.00806849765777588, | |
0.008264178276062012, | |
0.008241296768188477, | |
0.00819233798980713, | |
0.008240338325500488, | |
0.008201618194580079, | |
0.0081920166015625, | |
0.008221617698669434, | |
0.008237458229064942, | |
0.008256977081298827, | |
0.00821857738494873, | |
0.008250256538391114, | |
0.00822273826599121, | |
0.008233298301696777, | |
0.00822673797607422, | |
0.008210897445678711 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 121.237364745501 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |