Comments (6)
@doublecheng12 您好!
目前我们参数设置是每个GPU的batch size为8,GPU显存为40G,训练的时候显存一般占满。不过您可以通过减少batch size,增大gradient_accumulation_steps来节省显存。
from lc-rec.
感谢您的回复,所以是使用8*40G完成训练吗?
from lc-rec.
@doublecheng12
是的,8卡40G,但实际上更少的卡也可以训练,只是速度可能较慢,或者可以尝试使用lora微调,我们也提供了代码。
from lc-rec.
再次感谢您的回复,这份工作的想法十分的novel,请问80G的显存可以完成这样的工作吗?因为我的实验室并没有这么多的卡?也许最多只能申请1-2张a800
from lc-rec.
80G的单张A800我没有尝试过,但两张80G的是一定可以的。
from lc-rec.
感谢您这么晚的回复,祝您科研顺利
from lc-rec.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lc-rec.