paper-with-me

Papers

CuAsmRL: Optimizing GPU SASS Schedules via Deep Reinforcement Learning

2025-01-14 · Guoliang He, Eiko Yoneki

Large language models (LLMs) are remarked by their substantial computational requirements. To mitigate the cost, researchers develop specialized CUDA kernels, which often fuse several tensor operations to maximize the utilization of GPUs as much as possible. However, those specialized kernels may still leave performance on the table as CUDA assembly experts show that manual optimization of GPU SASS schedules can lead to better performance, and trial-and-error is largely employed to manually find the best GPU SASS schedules. In this work, we employ an automatic approach to optimize GPU SASS schedules, which thus can be integrated into existing compiler frameworks. The key to automatic optimization is training an RL agent to mimic how human experts perform manual scheduling. To this end, we formulate an assembly game, where RL agents can play to find the best GPU SASS schedules. The assembly game starts from a \textit{-O3} optimized SASS schedule, and the RL agents can iteratively apply actions to mutate the current schedules. Positive rewards are generated if the mutated schedules get higher throughput by executing on GPUs. Experiments show that CuAsmRL can further improve the performance of existing specialized CUDA kernels transparently by up to $26\%$, and on average $9\%$. Moreover, it is used as a tool to reveal potential optimization moves learned automatically.

📄 PDF Abstract BibTeX arXiv:2501.08071

Code (1)

hgl71964/cuasmrl 공식 구현 pytorch

Tasks

Deep Reinforcement LearningGPUreinforcement-learningReinforcement LearningScheduling

Similar Papers 제목 키워드 기반

Hierarchical Planning and Scheduling for Reconfigurable Multi-Robot Disassembly Systems under Structural Constraints

2025-09-18 · Takuya Kiyokawa, Tomoki Ishikura, Shingo Hamada, Genichiro Matsuda 외 arxiv

This study presents a system integration approach for planning schedules, sequences, tasks, and motions for reconfigurable robots to automatically disassemble constrained structures in a non-destructive manner. Such syst…

Optimizing Electric Bus Charging Scheduling with Uncertainties Using Hierarchical Deep Reinforcement Learning

2025-05-15 · Jiaju Qi, Lei Lei, Thorsteinn Jonsson, Dusit Niyato

The growing adoption of Electric Buses (EBs) represents a significant step toward sustainable development. By utilizing Internet of Things (IoT) systems, charging stations can autonomously determine charging schedules ba…

Deep Reinforcement LearningScheduling

Optimize Flip Angle Schedules In MR Fingerprinting Using Reinforcement Learning

2025-11-25 · Shenjun Zhong, Zhifeng Chen, Zhaolin Chen arxiv

Magnetic Resonance Fingerprinting (MRF) leverages transient-state signal dynamics generated by the tunable acquisition parameters, making the design of an optimal, robust sequence a complex, high-dimensional sequential d…

Reinforcement Learning

Align Your Steps: Optimizing Sampling Schedules in Diffusion Models

2024-04-22 · Amirmojtaba Sabour, Sanja Fidler, Karsten Kreis

Diffusion models (DMs) have established themselves as the state-of-the-art generative modeling approach in the visual domain and beyond. A crucial drawback of DMs is their slow sampling speed, relying on many sequential …

Model-based Reinforcement Learning for Semi-Markov Decision Processes with Neural ODEs

2020-06-29 · NeurIPS 2020 12 · Jianzhun Du, Joseph Futoma, Finale Doshi-Velez

We present two elegant solutions for modeling continuous-time dynamics, in a novel model-based reinforcement learning (RL) framework for semi-Markov decision processes (SMDPs), using neural ordinary differential equation…

Model-based Reinforcement Learningreinforcement-learningReinforcement Learning (RL)