社区发现现在是许多基于图的应用中的重要操作。它用于揭示真实世界网络中存在的群体,而不会对社区集施加事先的大小或基数约束。尽管它的潜力,并行计算机的支持是相当有限的。其原因主要是算法的不规则性和潜在的算法暗示了顺序性。本文提出了一种基于GPU的并行版本的鲁汶方法。Louvain方法是一种用于模块化优化的多阶段迭代启发式方法。它最初是由Blondel等人(2008)开发的,该方法由于能够以快速和内存有效的方式检测高模块化社区分区而变得越来越受欢迎。所使用的并行算法首先由Hao Lu et al.(2015)引入。由于Louvain方法本质上是顺序的,它限制了可扩展使用的可能性。多亏了提出的并行算法,我观察到这种方法在GPU上的表现。为了进行评估,我在GeForce GTX 980 GPU上使用CUDA实现了虚拟化,为了进行测试,我使用了CERN开发的协作发现项目中的组织景观,该项目涉及专利和出版物,以可视化其合作者之间的技术联系。与在使用GPU的同一台机器上运行8个线程的并行Louvain实现相比,CUDA实现能够产生与CPU生成的结果相当的社区输出,同时使用GeForce GTX 980消费级GPU提供高达30的绝对加速比。
英文摘要:
Community detection now is an important operation in numerous graph based applications. It is used to reveal groups that exist within real world networks without imposing prior size or cardinality constraints on the set of communities. Despite its potential, the support for parallel computers is rather limited. The cause is largely the irregularity of the algorithm and the underlying heuristics imply a sequential nature. In this paper a GPU based parallelized version of the Louvain method is presented. The Louvain method is a multi-phase, iterative heuristic for modularity optimization. It was originally developed by Blondel et al. (2008), the method has become increasingly popular owing to its ability to detect high modularity community partitions in a fast and memory-efficient manner. The parallel heuristics used, were first introduced by Hao Lu et al. (2015). As the Louvain method is inherently sequential, it limits the possibility of scalable usage. Thanks to the proposed parallel heuristics, I observe how this method can behave on GPUs. For evaluation I implemented the heuristics using CUDA on a GeForce GTX 980 GPU and for testing Ive used organization landscapes from the CERN developed Collaboration Spotting project that involves patents and publications to visualize the connections in technologies among its collaborators. Compared to the parallel Louvain implementation running on 8 threads on the same machine that has the used GPU, the CUDA implementation is able to produce community outputs comparable to the CPU generated results, while providing absolute speedups of up to 30 using the GeForce GTX 980 consumer grade GPU.
OpSparse: a Highly Optimized Framework for Sparse General Matrix Multiplication on GPUs
稀疏广义矩阵乘法(SpGEMM)在许多实际应用中是一个重要而昂贵的计算原语。由于SpGEMM固有的不规则性及其输入矩阵的多样性,在现代处理器(如GPU)上开发高性能SpGEMM实现具有挑战性。最先进的SpGEMM库(即,$nsparse$和$spECK$)采用若干算法来解决全局负载平衡、局部负载平衡和结果矩阵的分配的挑战。虽然这些库专注于SpGEMM的高级算法设计,但它们忽略了几个低级别的特定于体系结构的优化,这导致其库中的实现效率低下。在本文中,我们将其低效的实现分为七类。基于我们的观察,我们提出了一个高度优化的SpGEMM库称为$OpSparse$。$OpSparse$中的优化包括1)通过提高共享存储器的利用率来优化装仓方法,2)通过减少对散列表的访问来优化散列方法,3)通过设置适当的装仓范围来提高散列方法中的散列冲突率和硬件利用率之间的折衷,4)通过最小化元数据的全局存储器使用来减少全局存储器利用的开销,以及5)通过将全局存储器分配与内核执行重叠来提高执行并行性。在Nvidia Tesla V100 GPU上使用26个常用矩阵进行的性能评估表明,$OpSparse$分别在三个最先进的库($cuSPARSE$、$nsparse$和$spECK$)上实现了高达$27.8\times$、$1.81\times$和$2.04\times$的性能加速。
Performance report and optimized implementations of Weather & Climate dwarfs on multi-node systems
本文档是为ESCAPE项目创建的可交付成果报告之一。ESCAPE是Energy-efficient Scalable Algorithms for Weather Prediction at Exascale的缩写。该项目为欧洲业务数值天气预报和未来气候模型开发世界级的极端规模计算能力。这是通过识别天气和气候侏儒来完成的,这些侏儒是计算和通信方面的关键模式(本着伯克利侏儒的精神)。然后针对不同的硬件架构(单节点和多节点)优化这些侏儒,并探索替代算法。性能可移植性是通过使用领域特定的语言来解决的。在这里,我们总结了在侏儒优化方面所做的工作,重点是CPU多节点和多GPU。我们将自己限制在由财团选择的矮配置的子集上。侏儒节点内优化和特定于能量的优化已经在D3.3中描述。为了涵盖重要的算法主题,我们选择了与动力学核心以及柱物理相关的矮星。具体来说,我们专注于制定相关的频谱代码,如ECMWF的IFS代码。本报告的主要结论是:(a)与任务3.3中的优化版dwarfs相比,基于CPU的多节点系统的性能提升高达30%(参见D3.3),(b)通过优化在多个GPU上获得高达10倍的性能增益,以保持数据驻留在GPU上并实现快速的GPU间通信机制,以及(c)以具有NVLink/NVSwitch硬件的高带宽全对全互连拓扑为特征的多GPU系统特别适合于所述算法。
FREESH: Fair, Resource- and Energy-Efficient Scheduling for LLM Serving on Heterogeneous GPUs
Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Renmin University of China(中国人民大学);University of Washington(华盛顿大学);University of Alberta(阿尔伯塔大学)
Accelerating Bidiagonalization of Banded Matrices through Memory-Aware Bulge-Chasing on GPUs
Computer Science & Artificial Intelligence Laboratory, and Department of Mathematics, Massachusetts Institute of Technology(麻省理工学院计算机科学及人工智能实验室和数学系);Computer, Electrical and Mathematical Sciences and Engineering Division, King Abdullah University of Science and Technology(阿卜杜拉国王科技大学计算机、电气和数学科学与工程系)
FastCHGNet: Training one Universal Interatomic Potential to 1.5 Hours with 32 GPUs
State Key Lab of Processors, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所处理器重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Institute of Semiconductor, Chinese Academy of Sciences(中国科学院半导体研究所)
AI-Assisted GPU optimization of the Stochastic Variational Method for Few-Body Boson System
Center for Computational Sciences, University of Tsukuba(筑波大学计算科学中心);Computing Research Center, High Energy Accelerator Research Organization (KEK)(高能加速器研究机构(KEK)计算研究中心)
Portability for GPU-accelerated molecular docking applications for cloud and HPC: can portable compiler directives provide performance across all platforms?
DAG-based Scheduling with Resource Sharing for Multi-task Applications in a Polyglot GPU Runtime
GPU在云计算和个人设备中很容易使用,但由于它们与常见程序设计语言(如Python或Java)的集成有限,它们用于数据处理加速的速度已经放缓。此外,要充分利用GPU,需要具备异步编程的专业知识。在这项工作中,我们提出了一种新的GPU运行时间调度器的多任务GPU计算,透明地提供异步执行,空间共享和传输计算重叠,而不需要提前任何信息的程序依赖结构。我们利用GrCUDA多语言API将我们的调度器与多种高级语言集成,并提供一个快速原型设计和轻松GPU加速的平台。我们验证了我们在6个基准上的工作,这些基准是为了评估任务并行性而创建的,并且与使用C++ CUDA Graphs API编写的手动优化的主机代码相比,同步执行的平均加速率为44%,并且没有执行时间减慢。