Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Performance

arXiv:2008.01040 (cs)
[Submitted on 3 Aug 2020 (v1), last revised 18 Mar 2021 (this version, v2)]

Title:A Learned Performance Model for Tensor Processing Units

Authors:Samuel J. Kaufman, Phitchaya Mangpo Phothilimthana, Yanqi Zhou, Charith Mendis, Sudip Roy, Amit Sabne, Mike Burrows
View a PDF of the paper titled A Learned Performance Model for Tensor Processing Units, by Samuel J. Kaufman and 6 other authors
View PDF HTML (experimental)
Abstract:Accurate hardware performance models are critical to efficient code generation. They can be used by compilers to make heuristic decisions, by superoptimizers as a minimization objective, or by autotuners to find an optimal configuration for a specific program. However, they are difficult to develop because contemporary processors are complex, and the recent proliferation of deep learning accelerators has increased the development burden. We demonstrate a method of learning performance models from a corpus of tensor computation graph programs for Tensor Processing Unit (TPU) instances. We show that our learned model outperforms a heavily-optimized analytical performance model on two tasks -- tile-size selection and operator fusion -- and that it helps an autotuner discover faster programs in a setting where access to TPUs is limited or expensive.
Comments: A version will appear in the Proceedings of the 4th MLSys Conference, San Jose, CA, USA, 2021
Subjects: Performance (cs.PF); Machine Learning (cs.LG)
Cite as: arXiv:2008.01040 [cs.PF]
  (or arXiv:2008.01040v2 [cs.PF] for this version)
  https://doi.org/10.48550/arXiv.2008.01040
arXiv-issued DOI via DataCite

Submission history

From: Samuel Kaufman [view email]
[v1] Mon, 3 Aug 2020 17:24:52 UTC (596 KB)
[v2] Thu, 18 Mar 2021 04:49:15 UTC (540 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled A Learned Performance Model for Tensor Processing Units, by Samuel J. Kaufman and 6 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
view license

Current browse context:

cs.PF
< prev   |   next >
new | recent | 2020-08
Change to browse by:
cs
cs.LG

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Yanqi Zhou
Mike Burrows
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

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?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

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.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences