상세 컨텐츠

본문 제목

Illegal Memory Access

Troubleshoots

by Posting-Neuron 2023. 11. 29. 16:52

본문

#Troubleshoot #GPU #DeepLearning #Pytorch

Error message:

RuntimeError: CUDA error: an illegal memory access was encountered
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.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Search

Solution

GPU를 다른것 쓰니까 해결됨. 정확히는 알 수 없으나, GPU 메모리 문제였던 것 같다.

관련글 더보기