티스토리 뷰
Do Batch Sizes Actually Need To Be Powers of 2?
Is the fixation on powers of 2 for efficient GPU utilization an urban myth? In this article, we explore whether this argument is true when using today's GPUs.
wandb.ai
=> 여러 batchsize 를 가지고 total runtime 을 비교함. 결과적으로, 사이즈가 2의 n 제곱이든 2의 n 제곱 + 1 이든 두드러지는 차이가 있는 것도 아니고 general 하게 적용되는 최고의 batch size 도 없음.
결론: 자기 실험이랑 gpu 에 맞는 batchsize 를 정하면 된다.
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- neural network
- weight vector
- cs224n
- q
- word embedding
- LM
- neurone
- language model
- 뉴럴넷
- Neural Language Model
- 벡터
- nlp
- Pre-trained LM
- GPTZero
- transformer
- Attention Mechanism
- 뉴런
- S
- Statistical Language Model
- 워터마킹
- Contextual Embedding
- 언어모델
- Bert
- Elmo
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
글 보관함