SIP: Autotuning GPU Native Schedules via Stochastic Instruction Perturbation

Guoliang He, Eiko Yoneki
3/25/2024
cs.ARcs.AI

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) have become a significant workload since their appearance. However, they are also computationally expensive as they have billions of parameters and are trained with massive amounts of data. Thus, recent works have developed dedicated CUDA kernels for LLM training and inference instead of relying on compilergenerated ones, so that hardware resources are as fully utilized as possible. In this work, we explore the possibility of GPU native instruction optimization to further push the CUDA kernels to extreme performance. Contrary to prior works, we adopt an automatic optimization approach by defining a search space of possible GPU native instruction schedules, and then we apply stochastic search to perform optimization. Experiments show that SIP can further improve CUDA kernel throughput by automatically discovering better GPU native instruction schedules and the optimized schedules are tested by 10 million test samples.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{he2024sip,
  title  = {SIP: Autotuning GPU Native Schedules via Stochastic Instruction Perturbation},
  author = {Guoliang He and Eiko Yoneki},
  year   = {2024},
  eprint = {2403.16863},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.16863v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.16863.svg)](https://codeofpaper.com/paper/2403.16863)

Discussion