IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d4e554a
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", | |
"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": "4ec62071e1c9b9c89fb7e3c044340b391a0c4120", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1003.741184, | |
"max_global_vram": 1878.8352, | |
"max_process_vram": 222728.245248, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.997150959968567, | |
"mean": 0.00744142507439229, | |
"stdev": 0.0005052552363435464, | |
"p50": 0.007204571962356568, | |
"p90": 0.008009245967864991, | |
"p95": 0.008032549333572388, | |
"p99": 0.008212275142669678, | |
"values": [ | |
0.007917293071746826, | |
0.0076779332160949705, | |
0.007604813098907471, | |
0.007605453014373779, | |
0.008181294441223145, | |
0.0077804927825927735, | |
0.007653613090515137, | |
0.007858572959899902, | |
0.007879054069519043, | |
0.007674572944641113, | |
0.007604812145233154, | |
0.00740721321105957, | |
0.007699532985687256, | |
0.007402091979980469, | |
0.007382091999053955, | |
0.00728193187713623, | |
0.0072398529052734376, | |
0.0073955321311950685, | |
0.007410412788391114, | |
0.007466891765594483, | |
0.0114553804397583, | |
0.008227534294128418, | |
0.007981933116912842, | |
0.008032493591308594, | |
0.008010573387145996, | |
0.00798737382888794, | |
0.008016653060913086, | |
0.00801025390625, | |
0.00803665256500244, | |
0.00798337411880493, | |
0.008031533241271973, | |
0.007848494052886963, | |
0.008006413459777833, | |
0.00796385383605957, | |
0.007999213218688964, | |
0.00801025390625, | |
0.008032652854919433, | |
0.007979534149169921, | |
0.007990413188934327, | |
0.007968173980712891, | |
0.0080068941116333, | |
0.008017132759094239, | |
0.008058894157409667, | |
0.007998572826385499, | |
0.007976014137268067, | |
0.007809613227844238, | |
0.007337131977081299, | |
0.007105772018432617, | |
0.007095851898193359, | |
0.007080972194671631, | |
0.007080652236938476, | |
0.007059852123260498, | |
0.007098731994628907, | |
0.0070518522262573245, | |
0.007060651779174805, | |
0.007094411849975586, | |
0.007107691764831543, | |
0.00709249210357666, | |
0.007108972072601318, | |
0.007115052223205566, | |
0.007137611865997314, | |
0.007104651927947998, | |
0.0070950517654418946, | |
0.00707233190536499, | |
0.007087371826171875, | |
0.007257771968841553, | |
0.007080811977386475, | |
0.0071593718528747555, | |
0.007066411018371582, | |
0.007076651096343994, | |
0.007103052139282227, | |
0.007099691867828369, | |
0.007313132762908936, | |
0.0071300921440124515, | |
0.007124492168426514, | |
0.007120011806488037, | |
0.00706577205657959, | |
0.007064332008361816, | |
0.007119852066040039, | |
0.007091532230377198, | |
0.0071073718070983885, | |
0.0070896120071411136, | |
0.00710289192199707, | |
0.0071062521934509276, | |
0.007079852104187012, | |
0.0072014517784118656, | |
0.007148652076721191, | |
0.007321133136749268, | |
0.007077930927276611, | |
0.00704577112197876, | |
0.007080972194671631, | |
0.007072812080383301, | |
0.007077132225036621, | |
0.007059532165527344, | |
0.007100811958312988, | |
0.00708433198928833, | |
0.007099371910095215, | |
0.007089131832122802, | |
0.0070876917839050296, | |
0.007048491954803467, | |
0.007071531772613525, | |
0.007360971927642822, | |
0.007640491962432861, | |
0.007520652770996093, | |
0.007469132900238037, | |
0.007770573139190674, | |
0.00807569408416748, | |
0.007974573135375976, | |
0.007420813083648682, | |
0.007417612075805664, | |
0.007496973037719726, | |
0.00755089282989502, | |
0.007626092910766601, | |
0.007592011928558349, | |
0.007132331848144532, | |
0.007179532051086426, | |
0.007126091957092285, | |
0.007170571804046631, | |
0.007204331874847412, | |
0.007182412147521973, | |
0.0071942520141601565, | |
0.007174252033233642, | |
0.007216012954711914, | |
0.007185291767120361, | |
0.0071968121528625485, | |
0.007256971836090088, | |
0.007204812049865722, | |
0.0071960129737854, | |
0.0071428918838500974, | |
0.0071392121315002445, | |
0.007193451881408692, | |
0.007171690940856934, | |
0.007217132091522217, | |
0.007174252033233642 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.38286215381478 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |