Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,询问一些模型训练问题 #30

Open
qiqiing opened this issue May 5, 2021 · 5 comments
Open

您好,询问一些模型训练问题 #30

qiqiing opened this issue May 5, 2021 · 5 comments

Comments

@qiqiing
Copy link

qiqiing commented May 5, 2021

您好,您在训练模型的时候需要多少内存才能够保证训练能够正常完成呢?现在我遇到的问题是:训练能够正常启动,但是随着训练的进行,内存占用越来越大,然后会导致内存溢出。请问这是因为内存不够还是其他原因?(我只是用了您的模型,数据处理等都是用的自己的)。

@HarukiYqM
Copy link
Collaborator

HarukiYqM commented May 5, 2021

Hi, 我的模型是在16G内存的server上训练的,内存放不下可能是由于data读取,预处理造成的。显存的话,如果放不下可以适当减小input size,参考#1

@qiqiing
Copy link
Author

qiqiing commented May 6, 2021

Hi, 我的模型是在16G内存的server上训练的,内存放不下可能是由于data读取,预处理造成的。显存的话,如果放不下可以适当减小input size,参考#1

好的,谢谢您

@Ralapfranco
Copy link

Ralapfranco commented Apr 1, 2022

你好,我的是在 16G 内存的服务器上的,内存存模型下可能是由于数据容量,造成的。如果显示不放放不下可以适当的输入大小,参考#1

好,谢谢你

hi i have a same question. my gpu is gtx 3090ti 24g .but i train x4_moedl.it tell me out of memory. and i should how to set the patch_size and batch_size?

@Ralapfranco

This comment was marked as abuse.

@Ralapfranco
Copy link

can you help me?
1656382242860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants