hard20 pts · first answer countsdeep-learningoptimisersmemory
Memory for fp32 Adam training
In plain fp32 training with Adam, each parameter needs its weight, its gradient and two Adam states, 4 bytes each. Ignoring activations, how much memory does a 1-billion-parameter model need?
Discussion 0
Join free to post in the discussion.
Related questions
- Parameters in nn.Linear(10, 5)Machine Learning Engineer
- Why sigmoid slows deep trainingMachine Learning Engineer
- Range of tanhMachine Learning Engineer
- Cross-entropy loss by handMachine Learning Engineer
- Telling autograd to track a tensorMachine Learning Engineer
- Why wrap inference in no_gradMachine Learning Engineer
- Logging loss without leaking memoryMachine Learning Engineer
- Feeding a single image to a CNNMachine Learning Engineer