Suppr超能文献

在MLExchange中优化高分辨率图像分割的推理。

Optimizing inference of segmentation on high-resolution images in MLExchange.

作者信息

Lu Shizhao, Chavez Tanny, Koepp Wiebke, Hao Guanhua, Zwart Petrus H, Hexemer Alexander

机构信息

Advanced Light Source, Lawrence Berkeley National Laboratory, Berkeley, CA 94720 USA.

Center for Advanced Mathematics for Energy Research Applications, Lawrence Berkeley National Laboratory, Berkeley, CA 94720 USA.

出版信息

J Supercomput. 2025;81(9):1058. doi: 10.1007/s11227-025-07413-5. Epub 2025 Jun 20.

Abstract

MLExchange is a machine learning (ML) operations platform providing web user-interfaces (UIs) for data visualization and analysis pipelines at synchrotron facilities. Among these UIs is the segmentation app which helps synchrotron users utilize ML algorithms to automatically segment high-resolution scientific images with minimal manual annotation effort. In this work, we share code optimizations that significantly speed up the segmentation inference workflow of large data in short time. By optimizing the sequence of CPU-GPU data transfers and introducing CPU parallelization to key operations, we improve the per-device, per-image frame computational efficiency and observe close to 3 speedup over the original segmentation inference workflow run time when utilizing a single GPU. Further adaptations enabling multi-GPU inference yield more than 40 speedup with 100 GPUs compared to the optimized single GPU inference workflow. This acceleration of the segmentation inference workflow will provide MLExchange users with easy access to segmentation results with little wait time.

摘要

MLExchange是一个机器学习(ML)操作平台,为同步加速器设施中的数据可视化和分析管道提供网络用户界面(UI)。这些UI中有一个分割应用程序,可帮助同步加速器用户利用ML算法以最少的手动注释工作量自动分割高分辨率科学图像。在这项工作中,我们分享了代码优化方法,这些方法可在短时间内显著加快大数据的分割推理工作流程。通过优化CPU-GPU数据传输顺序并在关键操作中引入CPU并行化,我们提高了每设备、每图像帧的计算效率,并且在使用单个GPU时,与原始分割推理工作流程运行时间相比,观察到接近3倍的加速。与优化后的单GPU推理工作流程相比,进一步实现多GPU推理的适配在使用100个GPU时可实现超过40倍的加速。分割推理工作流程的这种加速将使MLExchange用户能够轻松获得分割结果,且等待时间很短。

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验