Saved in:
Bibliographic Details
Main Authors: Liu, Jinjie, Qiu, Hang
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.09242
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915019764006912
author Liu, Jinjie
Qiu, Hang
author_facet Liu, Jinjie
Qiu, Hang
contents Machine learning models deployed on edge devices have enabled numerous exciting new applications, such as humanoid robots, AR glasses, and autonomous vehicles. However, the computing resources available on these edge devices are not catching up with the ever-growing number of parameters in these models. As the models become bigger and more complicated, the novel yet sophisticated structure challenges the inference runtime optimization. We present FluidML, a generic runtime memory management and optimization framework that can flexibly transform the model execution blueprint to achieve faster and more memory-efficient inference. Evaluations across different platforms show that FluidML can consistently reduce the end-to-end inference latency by up to 25.38% for popular language models and reduce peak memory usage by up to 41.47%, compared to state-of-the-art approaches. FluidML is of ~30K line of codes, built for general-purpose usage, and will be released as an open-source inference runtime optimization framework to the community.
format Preprint
id arxiv_https___arxiv_org_abs_2411_09242
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FluidML: Fast and Memory Efficient Inference Optimization
Liu, Jinjie
Qiu, Hang
Machine Learning
Machine learning models deployed on edge devices have enabled numerous exciting new applications, such as humanoid robots, AR glasses, and autonomous vehicles. However, the computing resources available on these edge devices are not catching up with the ever-growing number of parameters in these models. As the models become bigger and more complicated, the novel yet sophisticated structure challenges the inference runtime optimization. We present FluidML, a generic runtime memory management and optimization framework that can flexibly transform the model execution blueprint to achieve faster and more memory-efficient inference. Evaluations across different platforms show that FluidML can consistently reduce the end-to-end inference latency by up to 25.38% for popular language models and reduce peak memory usage by up to 41.47%, compared to state-of-the-art approaches. FluidML is of ~30K line of codes, built for general-purpose usage, and will be released as an open-source inference runtime optimization framework to the community.
title FluidML: Fast and Memory Efficient Inference Optimization
topic Machine Learning
url https://arxiv.org/abs/2411.09242