Hayrapetyan,A.Tumasyan,A.Adam,W.Andrejkovic,J.W.Bergauer,T.Chatterjee,S.García,C.L.2024-10-152024-10-15202402510-204410.1007/s41781-024-00124-12-s2.0-85203288230https://doi.org/10.1007/s41781-024-00124-1https://hdl.handle.net/20.500.14517/6878Computing demands for large scientific experiments, such as the CMS experiment at the CERN LHC, will increase dramatically in the next decades. To complement the future performance increases of software running on central processing units (CPUs), explorations of coprocessor usage in data processing hold great potential and interest. Coprocessors are a class of computer processors that supplement CPUs, often improving the execution of certain functions due to architectural design choices. We explore the approach of Services for Optimized Network Inference on Coprocessors (SONIC) and study the deployment of this as-a-service approach in large-scale data processing. In the studies, we take a data processing workflow of the CMS experiment and run the main workflow on CPUs, while offloading several machine learning (ML) inference tasks onto either remote or local coprocessors, specifically graphics processing units (GPUs). With experiments performed at Google Cloud, the Purdue Tier-2 computing center, and combinations of the two, we demonstrate the acceleration of these ML algorithms individually on coprocessors and the corresponding throughput improvement for the entire workflow. This approach can be easily generalized to different types of coprocessors and deployed on local CPUs without decreasing the throughput performance. We emphasize that the SONIC approach enables high coprocessor usage and enables the portability to run workflows on different types of coprocessors. © The Author(s) 2024.eninfo:eu-repo/semantics/openAccessCMSMachine learningOffline and computingPortable Acceleration of CMS Computing Workflows with Coprocessors as a ServiceArticleQ281