Large Language Models on Small Resource-Constrained Systems: Performance Characterization, Analysis and Trade-offs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Seymour, Liam, Kutukcu, Basar, Baidya, Sabur
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909435758116864
author Seymour, Liam
Kutukcu, Basar
Baidya, Sabur
author_facet Seymour, Liam
Kutukcu, Basar
Baidya, Sabur
contents Generative AI like the Large Language Models (LLMs) has become more available for the general consumer in recent years. Publicly available services, e.g., ChatGPT, perform token generation on networked cloud server hardware, effectively removing the hardware entry cost for end users. However, the reliance on network access for these services, privacy and security risks involved, and sometimes the needs of the application make it necessary to run LLMs locally on edge devices. A significant amount of research has been done on optimization of LLMs and other transformer-based models on non-networked, resource-constrained devices, but they typically target older hardware. Our research intends to provide a 'baseline' characterization of more recent commercially available embedded hardware for LLMs, and to provide a simple utility to facilitate batch testing LLMs on recent Jetson hardware. We focus on the latest line of NVIDIA Jetson devices (Jetson Orin), and a set of publicly available LLMs (Pythia) ranging between 70 million and 1.4 billion parameters. Through detailed experimental evaluation with varying software and hardware parameters, we showcase trade-off spaces and optimization choices. Additionally, we design our testing structure to facilitate further research that involves performing batch LLM testing on Jetson hardware.
format Preprint
id arxiv_https___arxiv_org_abs_2412_15352
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models on Small Resource-Constrained Systems: Performance Characterization, Analysis and Trade-offs
Seymour, Liam
Kutukcu, Basar
Baidya, Sabur
Machine Learning
Computational Complexity
Generative AI like the Large Language Models (LLMs) has become more available for the general consumer in recent years. Publicly available services, e.g., ChatGPT, perform token generation on networked cloud server hardware, effectively removing the hardware entry cost for end users. However, the reliance on network access for these services, privacy and security risks involved, and sometimes the needs of the application make it necessary to run LLMs locally on edge devices. A significant amount of research has been done on optimization of LLMs and other transformer-based models on non-networked, resource-constrained devices, but they typically target older hardware. Our research intends to provide a 'baseline' characterization of more recent commercially available embedded hardware for LLMs, and to provide a simple utility to facilitate batch testing LLMs on recent Jetson hardware. We focus on the latest line of NVIDIA Jetson devices (Jetson Orin), and a set of publicly available LLMs (Pythia) ranging between 70 million and 1.4 billion parameters. Through detailed experimental evaluation with varying software and hardware parameters, we showcase trade-off spaces and optimization choices. Additionally, we design our testing structure to facilitate further research that involves performing batch LLM testing on Jetson hardware.
title Large Language Models on Small Resource-Constrained Systems: Performance Characterization, Analysis and Trade-offs
topic Machine Learning
Computational Complexity
url https://arxiv.org/abs/2412.15352