Lune

ASPLOS2022顶会

GPUReplay: a 50-KB GPU stack for client ML

Heejin Park, Felix Xiaozhu Lin

摘要

GPUReplay (GR) is a novel way for deploying GPU-accelerated computation on mobile and embedded devices. It addresses high complexity of a modern GPU stack for deployment ease and security. The idea is to record GPU executions on the full GPU stack ahead of time and replay the executions on new input at run time. We address key challenges towards making GR feasible, sound, and practical to use. The resultant replayer is a drop-in replacement of the original GPU stack. It is tiny (50 KB of executable), robust (replaying long executions without divergence), portable (running in a commodity OS, in TEE, and baremetal), and quick to launch (speeding up startup by up to two orders of magnitude). We show that GPUReplay works with a variety of integrated GPU hardware, GPU APIs, ML frameworks, and 33 neural network (NN) implementations for inference or training. The code is available at https://github.com/bakhi/GPUReplay.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining 引用了 Minimum viable device drivers for ARM trustzone
  • Minimum viable device drivers for ARM trustzone 引用了 Enabling Refinable Cross-Host Attack Investigation with Efficient Data Flow Tagging and Tracking
  • Secure and Timely GPU Execution in Cyber-physical Systems 引用了 Enabling Rack-scale Confidential Computing using Heterogeneous Trusted Execution Environment
  • Secure and Timely GPU Execution in Cyber-physical Systems 引用了 Telekine: Secure Computing with Cloud GPUs
  • Telekine: Secure Computing with Cloud GPUs 引用了 AvA: Accelerated Virtualization of Accelerators
  • ProvCam: A Camera Module with Self-Contained TCB for Producing Verifiable Videos 引用了 Minimum viable device drivers for ARM trustzone
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. STI: Turbocharge NLP Inference at the Edge via Elastic PipeliningLiwei Guo, Wonkyo Choe, Felix Xiaozhu LinASPLOS 2023 · 25 次引用
  2. Minimum viable device drivers for ARM trustzoneLiwei Guo, Felix Xiaozhu LinEuroSys 2022 · 15 次引用
  3. Secure and Timely GPU Execution in Cyber-physical SystemsJinwen Wang, Yujie Wang, Ning ZhangCCS 2023 · 12 次引用
  4. ProvCam: A Camera Module with Self-Contained TCB for Producing Verifiable VideosYuxin (Myles) Liu, Zhihao Yao, Mingyi Chen, Ardalan Amiri Sani 等MobiCom 2024 · 7 次引用
  5. Program Environment FuzzingRuijie Meng, Gregory J. Duck, Abhik RoychoudhuryCCS 2024 · 6 次引用

它引用的 Paper5

  1. Telekine: Secure Computing with Cloud GPUsTyler Hunt, Zhipeng Jia, Vance Miller, Ariel Szekely 等NSDI 2020 · 108 次引用
  2. Nimble: Lightweight and Parallel GPU Task Scheduling for Deep LearningWoosuk Kwon, Gyeong-In Yu, Eunji Jeong, Byung-Gon ChunNeurIPS 2020 · 102 次引用
  3. Enabling Rack-scale Confidential Computing using Heterogeneous Trusted Execution EnvironmentJianping Zhu, Rui Hou, XiaoFeng Wang, Wenhao Wang 等S&P 2020 · 95 次引用
  4. Enabling Refinable Cross-Host Attack Investigation with Efficient Data Flow Tagging and TrackingYang Ji, Sangho Lee, Mattia Fazzini, Joey Allen 等USENIX Security 2018 · 70 次引用
  5. AvA: Accelerated Virtualization of AcceleratorsHangchen Yu, Arthur Michener Peters, Amogh Akshintala, Christopher J. RossbachASPLOS 2020 · 33 次引用

相关 Paper

  1. Safe and Practical GPU Computation in TrustZoneHeejin Park, Felix Xiaozhu LinEuroSys 2023 · 18 次引用
  2. GraCE: Unlocking CUDA Graphs with Compiler Support for ML WorkloadsAbhishek Ghosh, Ajay Nayak, Ashish Panwar, Arkaprava BasuOSDI 2026
  3. GPEmu: A GPU Emulator for Faster and Cheaper Prototyping and Evaluation of Deep Learning System ResearchMeng Wang, Gus Waldspurger, Naufal Ananda, Yuyang Huang 等VLDB 2025 · 1 次引用
  4. FlashMem: Supporting Modern DNN Workloads on Mobile with GPU Memory Hierarchy OptimizationsZhihao Shu, Md. Musfiqur Rahman Sanim, Hangyu Zheng, Kunxiong Zhu 等ASPLOS 2026
  5. Scalable Tuning of (OpenMP) GPU Applications via Kernel Record and ReplayKonstantinos Parasyris, Giorgis Georgakoudis, Esteban Rangel, Ignacio Laguna 等SC 2023 · 15 次引用
黄昏的海面,两侧是细线勾勒的悬崖