An Empirical Study of Logging Practice in CUDA-based Deep Learning Systems

dc.contributor.authorChen, An
dc.date.accessioned2025-05-15T15:24:47Z
dc.date.available2025-05-15T15:24:47Z
dc.date.issued2025-05-15
dc.date.submitted2025-05-14
dc.description.abstractAlthough logging practices have been extensively explored in conventional software systems, there remains a lack of understanding of how logging is applied in CUDA-based deep learning (DL) systems, despite their growing adoption in practice. In this paper, we conduct an empirical study to examine the characteristics and rationales of logging practices in these systems. We analyze logging statements from 33 CUDA-based open-source DL projects, covering both general-purpose logging libraries and DL-specific logging frameworks. For each type, we identify the development or execution phases in which the logs are used, investigate the reasoning behind their usage, and the relationship between the two different types of logging. Our quantitative analysis reveals that the majority of logging statements occur during the model training phase, with significant usage also in the model loading phase and model evaluation/validation phase. We also observe that logging is predominantly used for monitoring purposes and tracking model-related information. Furthermore, we found that complementary is the most prevalent relationship between general and DL-specific logging. Our findings not only shed light on current logging practices in CUDA-based DL development but also provide practical guidance on when to use DL-specific versus general-purpose logging, helping practitioners make more informed decisions and guiding the evolution of DL-focused logging tools to better support developer needs.
dc.identifier.urihttps://hdl.handle.net/10012/21735
dc.language.isoen
dc.pendingfalse
dc.publisherUniversity of Waterlooen
dc.relation.urihttps://github.com/A1ex-Chen/DL_project_log
dc.subjectlogging practices
dc.subjectdeep learning systems
dc.subjectmining software repositories
dc.titleAn Empirical Study of Logging Practice in CUDA-based Deep Learning Systems
dc.typeMaster Thesis
uws-etd.degreeMaster of Applied Science
uws-etd.degree.departmentElectrical and Computer Engineering
uws-etd.degree.disciplineElectrical and Computer Engineering
uws-etd.degree.grantorUniversity of Waterlooen
uws-etd.embargo.terms0
uws.contributor.advisorShang, Weiyi
uws.contributor.affiliation1Faculty of Engineering
uws.peerReviewStatusUnrevieweden
uws.published.cityWaterlooen
uws.published.countryCanadaen
uws.published.provinceOntarioen
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Chen_An.pdf
Size:
3.07 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
6.4 KB
Format:
Item-specific license agreed upon to submission
Description: