Studying the practices of deploying machine learning projects on Docker

Moses Openja, Forough Majidi, Foutse Khomh, Bhagya Chembakottu, Heng Li

Communication écrite (2022)

Accéder à ce document
Lien externe
Ce document n'est pas archivé dans PolyPublie, mais peut être consulté chez l'éditeur officiel

Résumé

Docker is a containerization service that allows for convenient deployment of websites, databases, applications’ APIs, and machine learning (ML) models with a few lines of code. Studies have recently explored the use of Docker for deploying general software projects with no specific focus on how Docker is used to deploy ML-based projects. In this study, we conducted an exploratory study to understand how Docker is being used to deploy ML-based projects. As the initial step, we examined the categories of ML-based projects that use Docker. We then examined why and how these projects use Docker, and the characteristics of the resulting Docker images. Our results indicate that six categories of ML-based projects use Docker for deployment, including ML Applications, MLOps/ AIOps, Toolkits, DL Frameworks, Models, and Documentation. We derived the taxonomy of 21 major categories representing the purposes of using Docker, including those specific to models such as model management tasks (e.g., testing, training). We then showed that ML engineers use Docker images mostly to help with the platform portability, such as transferring the software across the operating systems, runtimes such as GPU, and language constraints. However, we also found that more resources may be required to run the Docker images for building ML-based software projects due to the large number of files contained in the image layers with deeply nested directories. We hope to shed light on the emerging practices of deploying ML software projects using containers and highlight aspects that should be improved.

Mots clés

Renseignements supplémentaires:
Groupe de recherche: SWAT
Unité de recherche:
Matériel d'accompagnement:
Organismes subventionnaires:
NSERC, CIFAR
ISBN:
9781450396134
Adresse URL de PolyPublie:
Nom de la conférence:
26th International Conference on Evaluation and Assessment in Software Engineering (EASE 2022)
Lieu de la conférence:
Gothenburg, Sweden
Date(s) de la conférence:
2022-06-13 - 2022-06-15
Maison d'édition:
Association for Computing Machinery
OAI:
oai:publications.polymtl.ca:53096
ORCID
Date du dépôt:
18 avr. 2023 14:59
Dernière modification:
14 oct. 2026 14:11
Citer en APA 7:
Openja, M., Majidi, F., Khomh, F., Chembakottu, B., & Li, H. (juin 2022). Studying the practices of deploying machine learning projects on Docker [Communication écrite]. 26th International Conference on Evaluation and Assessment in Software Engineering (EASE 2022), Gothenburg, Sweden. https://doi.org/10.1145/3530019.3530039

Statistiques

Dimensions

Actions réservées au personnel

Afficher document
Afficher document