Lightning-AI/pytorch-lightning

Leak RAM when training 8 core TPU

Open

#16,876 建立於 2023年2月26日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Python (3,233 fork)batch import
accelerator: tpubughelp wantedperformancerepro needed

倉庫指標

Star
 (26,687 star)
PR 合併指標
 (平均合併 9天 15小時) (30 天內合併 3 個 PR)

描述

Bug description

I am training on 8 TPU cores but the memory CPU Leak when the epoch ends.

Model

mobilenetV2

Data

cifar100

Env

pytorch_lightning==1.9.3 pytorch==1.13.0 code run on google colab

How to reproduce the bug

No response

Error messages and logs

# Error messages and logs here please

Environment

#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0):
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
#- Running environment of LightningApp (e.g. local, cloud):

More info

No response

cc @carmocca @JackCaoG @Liyang90 @gkroiz @borda @steventk-g

貢獻者指南