IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8bed74c
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": "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": {}, | |
"hub_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, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": "c551ed4717b9f9db50458281347948dd265d9e3b", | |
"transformers_version": "4.41.0", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1005.056, | |
"max_global_vram": 3097.43616, | |
"max_process_vram": 192326.844416, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.996647822856903, | |
"mean": 0.00784762065241656, | |
"stdev": 0.00035778048819003205, | |
"p50": 0.007724771976470948, | |
"p90": 0.008369024658203125, | |
"p95": 0.00838793659210205, | |
"p99": 0.008472268657684327, | |
"values": [ | |
0.008351328849792481, | |
0.008507968902587891, | |
0.008201410293579101, | |
0.008008769989013672, | |
0.008014530181884765, | |
0.007929571151733398, | |
0.007715970993041992, | |
0.007645252227783203, | |
0.007614531993865967, | |
0.0076428518295288085, | |
0.0076058912277221676, | |
0.007508292198181153, | |
0.007746531963348389, | |
0.007862211227416992, | |
0.0077508511543273925, | |
0.007626532077789306, | |
0.007727810859680176, | |
0.007816610813140869, | |
0.007756771087646485, | |
0.0076924519538879394, | |
0.007795650959014893, | |
0.007925090789794921, | |
0.007722850799560547, | |
0.007663812160491943, | |
0.007679491996765137, | |
0.007663490772247314, | |
0.0076729321479797365, | |
0.007661571025848388, | |
0.0076185321807861325, | |
0.007936930179595948, | |
0.007975971221923828, | |
0.007975811004638672, | |
0.008481087684631348, | |
0.008349728584289551, | |
0.008334049224853516, | |
0.00830828857421875, | |
0.008383648872375488, | |
0.008338688850402832, | |
0.008349409103393554, | |
0.008309888839721679, | |
0.008337088584899902, | |
0.008388608932495116, | |
0.008372769355773926, | |
0.008368768692016602, | |
0.008386367797851563, | |
0.008406048774719238, | |
0.008382208824157715, | |
0.008382208824157715, | |
0.008329089164733888, | |
0.00836940860748291, | |
0.00833996868133545, | |
0.008348448753356934, | |
0.008354208946228027, | |
0.008354848861694335, | |
0.00834860897064209, | |
0.008345728874206542, | |
0.008294208526611328, | |
0.008328289031982421, | |
0.008350369453430175, | |
0.008421089172363281, | |
0.008017090797424317, | |
0.008145089149475098, | |
0.007724771976470948, | |
0.007470692157745361, | |
0.00746701192855835, | |
0.007726850986480713, | |
0.007638852119445801, | |
0.007647651195526123, | |
0.007875330924987793, | |
0.007731650829315186, | |
0.00782029104232788, | |
0.0077740511894226075, | |
0.0077137317657470705, | |
0.007975010871887208, | |
0.007484131813049316, | |
0.007479331970214844, | |
0.007452931880950928, | |
0.007399813175201416, | |
0.007513092041015625, | |
0.007462371826171875, | |
0.00750573205947876, | |
0.007495172023773193, | |
0.007568131923675537, | |
0.0075401320457458496, | |
0.007540291786193848, | |
0.007489411830902099, | |
0.007510531902313233, | |
0.007513731956481934, | |
0.0082313289642334, | |
0.008227970123291016, | |
0.008447168350219726, | |
0.008420449256896972, | |
0.008231008529663086, | |
0.007839651107788085, | |
0.007939811229705811, | |
0.008026531219482422, | |
0.00813948917388916, | |
0.007667171955108643, | |
0.007525251865386963, | |
0.007458211898803711, | |
0.007455652236938477, | |
0.007699652194976807, | |
0.0074862117767333985, | |
0.007478692054748535, | |
0.007385093212127686, | |
0.007456131935119629, | |
0.007953250885009765, | |
0.007656130790710449, | |
0.007443972110748291, | |
0.007379813194274902, | |
0.0075310120582580565, | |
0.0075498919486999515, | |
0.00746317195892334, | |
0.007462852001190186, | |
0.007472772121429444, | |
0.0074812531471252445, | |
0.007508293151855468, | |
0.007435653209686279, | |
0.00749229097366333, | |
0.007515811920166015, | |
0.007454212188720703, | |
0.007468451976776123, | |
0.007471813201904297, | |
0.007527973175048828, | |
0.0074658927917480465, | |
0.007545732021331787, | |
0.007487812995910645 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.4271584078245 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |