A GPU-driven system framework for scalable AI applications.
Pipelines | Build Status |
---|---|
Unit Tests (CUDA) | |
Unit Tests (ROCm) |
NOTE (Nov 2023): ROCm unit tests will be replaced into an Azure pipeline in the future.
See Quick Start to quickly get started.
ARK is a deep learning framework especially designed for highly optimized performance over distributed GPUs. Specifically, ARK adopts a GPU-driven execution model, where the GPU autonomously schedule and execute both computation and communication without any CPU intervention.
ARK provides a set of APIs for users to express their distributed deep learning applications. ARK then automatically schedules a GPU-driven execution plan for the application, which generates a GPU kernel code called loop kernel. The loop kernel is a GPU kernel that contains a loop that iteratively executes the entire application, including both computation and communication. ARK then executes the loop kernel on the distributed GPUs.
ARK is under active development and a part of its features will be added in a future release. The following describes key features of each version.
- Integrate with MSCCL++
- Removed dependency on
gpudma
- Add AMD CDNA3 architecture support
- Support communication for AMD GPUs
- Optimize OpGraph scheduling
- Add a multi-GPU Llama2 example
See details from #168.
- Overall performance optimization
- Improve Python unit tests & code coverage
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
ARK is a collaborative research initiative between KAIST and Microsoft Research. If you use this project in your research, please cite our NSDI'23 paper:
@inproceedings{HwangPSQCX23,
author = {Changho Hwang and
KyoungSoo Park and
Ran Shu and
Xinyuan Qu and
Peng Cheng and
Yongqiang Xiong},
title = {ARK: GPU-driven Code Execution for Distributed Deep Learning},
booktitle = {20th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 23)},
year = {2023},
publisher = {{USENIX} Association},
}