Computer Science > Distributed, Parallel, and Cluster Computing
arXiv:2401.14489 (cs)
[Submitted on 25 Jan 2024 (v1), last revised 30 Jan 2024 (this version, v2)]
Title:The Case for Co-Designing Model Architectures with Hardware
Authors:Quentin Anthony,Jacob Hatef,Deepak Narayanan,Stella Biderman,Stas Bekman,Junqi Yin,Aamir Shafi,Hari Subramoni,Dhabaleswar Panda
View a PDF of the paper titled The Case for Co-Designing Model Architectures with Hardware, by Quentin Anthony and 8 other authors
View PDFHTML (experimental)Abstract:While GPUs are responsible for training the vast majority of state-of-the-art deep learning models, the implications of their architecture are often overlooked when designing new deep learning (DL) models. As a consequence, modifying a DL model to be more amenable to the target hardware can significantly improve the runtime performance of DL training and inference. In this paper, we provide a set of guidelines for users to maximize the runtime performance of their transformer models. These guidelines have been created by carefully considering the impact of various model hyperparameters controlling model shape on the efficiency of the underlying computation kernels executed on the GPU. We find the throughput of models with efficient model shapes is up to 39\% higher while preserving accuracy compared to models with a similar number of parameters but with unoptimized shapes.
Subjects: | Distributed, Parallel, and Cluster Computing (cs.DC); Artificial Intelligence (cs.AI) |
Cite as: | arXiv:2401.14489 [cs.DC] |
(orarXiv:2401.14489v2 [cs.DC] for this version) | |
https://doi.org/10.48550/arXiv.2401.14489 arXiv-issued DOI via DataCite |
Submission history
From: Quentin Anthony [view email][v1] Thu, 25 Jan 2024 19:50:31 UTC (26,868 KB)
[v2] Tue, 30 Jan 2024 21:26:09 UTC (27,008 KB)
Full-text links:
Access Paper:
- View PDF
- HTML (experimental)
- TeX Source
- Other Formats
View a PDF of the paper titled The Case for Co-Designing Model Architectures with Hardware, by Quentin Anthony and 8 other authors
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer(What is the Explorer?)
Connected Papers(What is Connected Papers?)
Litmaps(What is Litmaps?)
scite Smart Citations(What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv(What is alphaXiv?)
CatalyzeX Code Finder for Papers(What is CatalyzeX?)
DagsHub(What is DagsHub?)
Gotit.pub(What is GotitPub?)
Hugging Face(What is Huggingface?)
Papers with Code(What is Papers with Code?)
ScienceCast(What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower(What are Influence Flowers?)
CORE Recommender(What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community?Learn more about arXivLabs.