Flashlight: Enabling Innovation in Tools for Machine Learning
Jacob D. Kahn, Vineel Pratap, Tatiana Likhomanenko, Qiantong Xu, Awni Y. Hannun, Jeff Cai, Paden Tomasello, Ann Lee, Edouard Grave, Gilad Avidov, Benoit Steiner, Vitaliy Liptchinsky
Abstract
As the computational requirements for machine learning systems and the size and complexity of machine learning frameworks increases, essential framework innovation has become challenging. While computational needs have driven recent compiler, networking, and hardware advancements, utilization of those advancements by machine learning tools is occurring at a slower pace. This is in part due to the difficulties involved in prototyping new computational paradigms with existing frameworks. Large frameworks prioritize machine learning researchers and practitioners as end users and pay comparatively little attention to systems researchers who can push frameworks forwardwe argue that both are equally important stakeholders. We introduce Flashlight, an open-source library built to spur innovation in machine learning tools and systems by prioritizing open, modular, customizable internals and state-of-the-art, research-ready models and training setups across a variety of domains. Flashlight allows systems researchers to rapidly prototype and experiment with novel ideas in machine learning computation and has low overhead, competing with and often outperforming other popular machine learning frameworks. We see Flashlight as a tool enabling research that can benefit widely used libraries downstream and bring machine learning and systems researchers closer together. Flashlight is available at this URL. * Currently at Apple. † Currently at SambaNova Systems. ‡ Currently independent. § Currently at Apple.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e37f6e45-7ed0-49cf-8ff3-9d49f2676abdCited by top-tier papers3
- The Framework Tax: Disparities Between Inference Efficiency in NLP Research and DeploymentJared Fernandez, Jacob Kahn, Clara Na, Yonatan Bisk et al.EMNLP 2023 · 5 citations
- LAMA-UT: Language Agnostic Multilingual ASR Through Orthography Unification and Language-Specific TransliterationSangmin Lee, Woo-Jin Chung, Hong-Goo KangAAAI 2025 · 1 citation
- PyTDC: A multimodal machine learning training, evaluation, and inference platform for biomedical foundation modelsAlejandro Velez-Arce, Marinka ZitnikICML 2025
Builds on4
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- ZeRO: memory optimizations toward training trillion parameter modelsSamyam Rajbhandari, Jeff Rasley, Olatunji Ruwase, Yuxiong HeSC 2020 · 852 citations
- Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu et al.OSDI 2020 · 551 citations
- PET: Optimizing Tensor Programs with Partially Equivalent Transformations and Automated CorrectionsHaojie Wang, Jidong Zhai, Mingyu Gao, Zixuan Ma et al.OSDI 2021 · 77 citations
Related papers
- The Grand Illusion: The Myth of Software Portability and Implications for ML ProgressFraser Mince, Dzung Dinh, Jonas Kgomo, Neil Thompson et al.NeurIPS 2023 · 9 citations
- Symphony: Composing Interactive Interfaces for Machine LearningAlex Bäuerle, Ángel Alexander Cabrera, Fred Hohman, Megan Maher et al.CHI 2022 · 47 citations
- LightRidge: An End-to-end Agile Design Framework for Diffractive Optical Neural NetworksYingjie Li, Ruiyang Chen, Minhan Lou, Berardi Sensale Rodriguez et al.ASPLOS 2023 · 6 citations
- Marcelle: Composing Interactive Machine Learning Workflows and InterfacesJules Françoise, Baptiste Caramiaux, Téo SanchezUIST 2021 · 37 citations
- Phantora: Maximizing Code Reuse in Simulation-based Machine Learning System Performance EstimationJianxing Qin, Jingrong Chen, Xinhao Kong, Yongji Wu et al.NSDI 2026 · 5 citations
