Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/98943
標題: 多圖形處理器上深度學習網路訓練的記憶體優化
Optimizing Memory Usage in Deep Network Training with Multiple GPUs
作者: 吳榮哲
Rong-Jhe Wu
指導教授: 劉邦鋒
Pangfeng Liu
關鍵字: 深度學習,管線平行化,激活檢查點,動態規劃,
Deep Learning,Pipeline Parallelism,Activation Checkpointing,Dynamic Programming,
出版年 : 2025
學位: 碩士
摘要: 深度神經網路已成為廣泛成功的框架,應用於多種領域。然而,現代應用越來越依賴更大型的模型以提升性能。參數數量的快速增長常導致訓練過程中出現記憶體瓶頸。一種有效的解決方案是激活檢查點(activation checkpointing),該方法只在前向傳播中保存部分中間激活值,並在反向傳播時重新計算這些激活值,以降低記憶體消耗。本文聚焦於在多GPU環境下訓練深度神經網路時,最小化記憶體使用。我們採用流水線並行(pipeline parallelism)將模型分割成較小的階段並分布於多個設備,並結合檢查點技術,在負載重的情況下進一步減少記憶體需求。我們的目標是找到能夠在大規模多 GPU 訓練過程中優化記憶體效率的檢查點策略。
Deep neural networks have become a widely successful framework, applied in a wide range of applications. However, modern use cases increasingly rely on larger models to achieve better performance. This rapid growth in the number of parameters often results in memory bottlenecks during training. An effective approach to mitigate this issue is activation checkpointing, which involves storing only a subset of intermediate activations during the forward pass and recomputing them during the backward pass to reduce memory consumption. In this paper, we focus on minimizing memory usage when training deep neural networks across multiple GPUs. We employ pipeline parallelism to partition the model into smaller stages distributed across devices, and we apply checkpointing to further reduce memory demands under heavy workloads. Our goal is to identify checkpointing strategies that optimize memory efficiency during large-scale multi-GPU training.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/98943
DOI: 10.6342/NTU202504398
全文授權: 同意授權(全球公開)
電子全文公開日期: 2025-08-21
顯示於系所單位:資訊工程學系

文件中的檔案:
檔案 大小格式 
ntu-113-2.pdf929.27 kBAdobe PDF檢視/開啟
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved