IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8d0218a
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": "0", | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "d662120356cf9cce87fb802aea1c49ce74710c29", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.270976, | |
"max_global_vram": 1116.033024, | |
"max_process_vram": 39548.071936, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.6029501953125, | |
"mean": 6.6029501953125, | |
"stdev": 0.0, | |
"p50": 6.6029501953125, | |
"p90": 6.6029501953125, | |
"p95": 6.6029501953125, | |
"p99": 6.6029501953125, | |
"values": [ | |
6.6029501953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1013.06368, | |
"max_global_vram": 1172.537344, | |
"max_process_vram": 208213.118976, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.997970900535583, | |
"mean": 0.007231673192286837, | |
"stdev": 0.001402069450380372, | |
"p50": 0.007097627639770508, | |
"p90": 0.007376572179794312, | |
"p95": 0.007606701087951661, | |
"p99": 0.013220661754608131, | |
"values": [ | |
0.007320349216461182, | |
0.0073733081817626955, | |
0.007652669906616211, | |
0.008402592658996582, | |
0.007664188861846923, | |
0.007572030067443848, | |
0.007598588943481446, | |
0.00755555009841919, | |
0.007436348915100098, | |
0.007369147777557373, | |
0.0073619489669799806, | |
0.0072624278068542485, | |
0.007122747898101807, | |
0.007032826900482177, | |
0.007103228092193604, | |
0.007031227111816406, | |
0.007068187236785889, | |
0.007129148006439209, | |
0.010124678611755372, | |
0.007676350116729736, | |
0.007161627769470215, | |
0.0071126680374145506, | |
0.0071128268241882325, | |
0.007136347770690918, | |
0.0071371479034423825, | |
0.007132506847381591, | |
0.007126428127288818, | |
0.007130588054656982, | |
0.007110106945037842, | |
0.007104348182678222, | |
0.007160987854003906, | |
0.00715714693069458, | |
0.0071361870765686035, | |
0.007119068145751953, | |
0.01923191452026367, | |
0.0025960099697113037, | |
0.002459850072860718, | |
0.00513778018951416, | |
0.007216988086700439, | |
0.007106107234954834, | |
0.007086106777191162, | |
0.007101468086242676, | |
0.007134908199310302, | |
0.007107707023620605, | |
0.007120987892150879, | |
0.0071221070289611815, | |
0.007083227157592773, | |
0.007104028224945069, | |
0.007128507137298584, | |
0.007099388122558593, | |
0.007117947101593017, | |
0.007063706874847412, | |
0.007067226886749268, | |
0.007063868045806884, | |
0.007076026916503907, | |
0.007072668075561523, | |
0.007090426921844482, | |
0.007060187816619873, | |
0.0070725069046020505, | |
0.007042747020721435, | |
0.00705506706237793, | |
0.007078267097473144, | |
0.007065787792205811, | |
0.007039866924285889, | |
0.007093148231506348, | |
0.007056187152862549, | |
0.007054427146911621, | |
0.007049787044525147, | |
0.007075387001037598, | |
0.007091067790985108, | |
0.0070885071754455565, | |
0.007075547218322754, | |
0.00707410717010498, | |
0.00707074785232544, | |
0.007068986892700195, | |
0.007055707931518555, | |
0.007076986789703369, | |
0.007076027870178222, | |
0.0070809869766235356, | |
0.00704306697845459, | |
0.00708290719985962, | |
0.007045146942138672, | |
0.007071867942810058, | |
0.00710418701171875, | |
0.007062747955322266, | |
0.007101467132568359, | |
0.007057467937469483, | |
0.007047067165374756, | |
0.00703106689453125, | |
0.0070883469581604006, | |
0.007056346893310547, | |
0.007062108039855957, | |
0.007066586971282959, | |
0.007063868045806884, | |
0.007047707080841064, | |
0.007057627201080322, | |
0.007420988082885742, | |
0.01503893756866455, | |
0.005118740081787109, | |
0.007300669193267822, | |
0.007194427967071533, | |
0.007523068904876709, | |
0.007368507862091064, | |
0.007349308013916016, | |
0.00732338809967041, | |
0.0072459478378295895, | |
0.007213468074798584, | |
0.007155548095703125, | |
0.007170427799224854, | |
0.007213148117065429, | |
0.007276187896728516, | |
0.0073630690574646, | |
0.007384188175201416, | |
0.007369469165802002, | |
0.007251547813415527, | |
0.0071774678230285644, | |
0.007043386936187744, | |
0.007049948215484619, | |
0.00717058801651001, | |
0.0070958671569824215, | |
0.007107227802276611, | |
0.0070840268135070805, | |
0.0071174678802490236, | |
0.007066267013549805, | |
0.00710610818862915, | |
0.007130588054656982, | |
0.007095067024230957, | |
0.007081788063049316, | |
0.007064026832580566, | |
0.007044026851654053, | |
0.007078426837921143, | |
0.007084506988525391, | |
0.00708290719985962, | |
0.007065627098083496, | |
0.007078907012939453, | |
0.007075706005096436, | |
0.007057628154754639, | |
0.007056187152862549 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.28058506108667 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |