mlsanityData to 7 Oct 2026

Productively Deploying Emerging Models on Emerging Platforms: A Top-Down Approach for Testing and Debugging

arXiv 2404.09151 ↗First posted 14 Apr 2024cs.SE cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

While existing machine learning (ML) frameworks focus on established platforms, like running CUDA on server-grade GPUs, there have been growing demands to enable emerging AI applications in a broader set of scenarios, such as running Large Language Models (LLMs) within browsers and mobile phones. However, deploying emerging models on new platforms (such as Metal and WebGPU) presents significant software engineering challenges due to rapid model evolution and limited tooling and practices for these platforms. Previous practice for ML model deployment often follows a bottom-up fashion, where engineers first implement individual required operators and then put them together. However, this traditional development approach fails to meet the productivity requirements when deploying emerging ML applications, with the testing and debugging part as a bottleneck. To this end, we introduce textscTapML, a top-down approach designed to streamline model deployment on diverse platforms. While the traditional bottom-up approach requires crafting manual tests, textscTapML automatically creates high-quality, realistic test data through operator-wise test carving. Furthermore, textscTapML uses a migration-based strategy to gradually offload model implementation from the mature source platform to the target platform, minimizing the debugging scope of compound errors. textscTapML has been used as the default development method in the MLC-LLM project to deploy emerging ML models. Within 2 years, textscTapML has accelerated the deployment of 105 emerging models in 27 model architectures across 5 emerging platforms. We show that textscTapML effectively boosts developer productivity while ensuring the quality of deployed models. Furthermore, we summarize comprehensive case studies from our real-world development, offering best practices for developing emerging ML systems.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 23 of its 68 references that are in the map. First posted on arXiv 14 Apr 2024.

Builds on

23 of 68 references.

References · 23

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  5. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  6. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  7. 2023Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasetscited by 2,526
  8. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  9. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  10. 2019MediaPipe: A Framework for Building Perception Pipelinescited by 572
  11. 2023Textbooks Are All You Needcited by 561
  12. 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 307
11 more
  1. 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
  2. 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 102
  3. 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
  4. 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 29
  5. 2022Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Sourcecited by 27
  6. 2021DocTer: Documentation Guided Fuzzing for Testing Deep Learning API Functionscited by 21
  7. 2022Fuzzing Deep-Learning Libraries via Automated Relational API Inferencecited by 16
  8. 2023Fuzzing Automatic Differentiation in Deep-Learning Librariescited by 16
  9. 2023Relax: Composable Abstractions for End-to-End Dynamic Machine Learningcited by 12
  10. 2023NeuRI: Diversifying DNN Generation via Inductive Rule Inferencecited by 6
  11. 2023TorchProbe: Fuzzing Dynamic Deep Learning Compilerscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.