반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- TTS
- CUDA
- no space left on device
- ChatGPT
- 맛집
- socketio
- pytorch
- Android
- ubuntu
- CLASS
- ROS2
- 오블완
- error
- python
- 분당맛집
- 스팸
- humble
- linux
- opencv
- 판교
- string
- openAI
- tensorflow
- 딥러닝
- Torch
- 티스토리챌린지
- timm
- ros
- GPT
- 터미널
Archives
- Today
- Total
RoBoLoG
[Error, Pytorch] RuntimeError: CUDA error: out of memory 본문
Error Solution/Pytorch
[Error, Pytorch] RuntimeError: CUDA error: out of memory
SKJun 2024. 2. 27. 14:43Pytorch로 학습하는데 아래와 같이 오류 발생 : CUDA error: out of memory
RuntimeError: CUDA error: out of memory
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
해결 방법: DataLoader에서 batch_size를 줄인다 or 더 좋은 GPU 구매..ㅎ
728x90
반응형