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

显存占用问题 #153

Open
cabbage404 opened this issue Jan 8, 2025 · 0 comments
Open

显存占用问题 #153

cabbage404 opened this issue Jan 8, 2025 · 0 comments

Comments

@cabbage404
Copy link

cabbage404 commented Jan 8, 2025

请教一下,ChaGLM | zero2 | No | No | 1 | 1560 | 1 | 45G 注意到lora方式微调仍然需要45G的显存,好像并没有像有些博文里面写的lora方式微调可以忽略 lora部分的梯度、后向传播等显存占用,只需要模型本身的显存占用一样(模型好像是6B的,需要12G或者24G),为什么使用lora微调仍然需要这么大的显存呢

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

1 participant